<commit_before>package DDG::Spice::Congress;
# ABSTRACT: Return current Congress members for given state.

use DDG::Spice;

attribution web => ['http://kevinschaul.com','<NAME>'],
            email => ['<EMAIL>','<NAME>'];

spice to => 'http://api.nytimes.com/svc/politics/v3/us/legislative/congress/112/$1/members.json?state=$2&api-key={{ENV{DDG_SPICE_CONGRESS_APIKEY}}}&callback={{callback}}';

spice from => '([^/]+)/?(?:([^/]+)/?(?:([^/]+)|)|)';

spice wrap_jsonp_callback => 1;

triggers startend => 'senate', 'senators', 'representatives', 'reps', 'house';
sub rtrim($);

handle query_lc => sub {
    my (%states) = (
        'alabama' => 'al',
        'al' => 'al',<commit_msg>removed non-functioning callback parameter from congress<commit_after>package DDG::Spice::Congress;
# ABSTRACT: Return current Congress members for given state.

use DDG::Spice;

attribution web => ['http://kevinschaul.com','<NAME>'],
            email => ['<EMAIL>','<NAME>'];

spice to => 'http://api.nytimes.com/svc/politics/v3/us/legislative/congress/112/$1/members.json?state=$2&api-key={{ENV{DDG_SPICE_CONGRESS_APIKEY}}}';

spice from => '([^/]+)/?(?:([^/]+)/?(?:([^/]+)|)|)';

spice wrap_jsonp_callback => 1;

triggers startend => 'senate', 'senators', 'representatives', 'reps', 'house';
sub rtrim($);

handle query_lc => sub {
    my (%states) = (
        'alabama' => 'al',
        'al' => 'al',
{'fraction_non_alphanumeric': 0.23974082073434125, 'fraction_numerical': 0.010079193664506839, 'mean_word_length': 4.673469387755102, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4088741', 'n_tokens_mistral': 534, 'n_tokens_neox': 521, 'n_words': 90}