Module ImportFrom alias Import alias Import alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore Num FunctionDef arguments args NameParam defaults body Assign NameStore Str If CompareNotEq SubscriptLoad NameLoad Index Str Str body Assign NameStore BinOpMod Str SubscriptLoad NameLoad Index Str Return BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Slice NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Print BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore NameLoad If NameLoad body If CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Slice Num Str body Assign NameStore Call AttributeLoad NameLoad attr keyword Str orelse If CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Slice Num Str body Assign NameStore Call AttributeLoad NameLoad attr keyword Str orelse If CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Slice Num Str body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore NameLoad If BoolOpAnd NameLoad UnaryOpNot NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad If BoolOpAnd NameLoad CompareGt Call NameLoad Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Str Str Str Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str Str Str Str Str attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str NameLoad attr Str Str handlers ExceptHandler type NameLoad body Pass Return Call AttributeLoad Call AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore BinOpDiv Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Pass Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign NameStore ListLoad Print BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr attr Str Print BinOpMod Str NameLoad If BoolOpAnd NameLoad CompareGt Call NameLoad Call NameLoad NameLoad Num body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore NameLoad If CompareEq NameLoad NameLoad body TryExcept body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Return NameLoad If NameLoad body Assign NameStore NameLoad If BoolOpAnd NameLoad CompareGt Call NameLoad NameLoad Num body If CompareNotEq SubscriptLoad Call AttributeLoad NameLoad attr Slice Num SubscriptLoad Call AttributeLoad SubscriptLoad NameLoad Index Str attr Slice Num body Assign NameStore NameLoad If BoolOpAnd NameLoad CompareGt Call NameLoad NameLoad Num body If CompareNotEq Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body If BoolOpAnd NameLoad CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Slice Num Str body Pass orelse Assign NameStore NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str NameLoad SubscriptLoad NameLoad Index Str Num ListLoad NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad If NameLoad body Print Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore BinOpAdd BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore BinOpAdd BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore BinOpAdd BinOpAdd Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore BinOpMult BinOpDiv Num Num Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpMult BinOpDiv Num Num Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpMult BinOpDiv Num Num Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpMult BinOpDiv Num Num Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult BinOpDiv Num Num Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpSub Num BinOpDiv BinOpAdd Num NameLoad BinOpAdd Num NameLoad handlers ExceptHandler type NameLoad body Pass Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore BinOpDiv BinOpAdd Num NameLoad BinOpAdd Num NameLoad Assign NameStore Num If BoolOpOr CompareGt NameLoad Num CompareGt NameLoad Num CompareGt NameLoad Num CompareGt NameLoad Num body Assign NameStore Call NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad If CompareGt NameLoad Num body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Dict Str Str Str Str Str NameLoad SubscriptLoad NameLoad Index Str NameLoad ListLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If BoolOpAnd NameLoad CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body If CompareGt SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Num body Assign SubscriptStore SubscriptLoad NameLoad Index Num Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body If NameLoad body Print BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad If NameLoad body Return NameLoad If UnaryOpNot NameLoad body Return ListLoad If CompareLt Call NameLoad NameLoad Num body Return ListLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If BoolOpAnd NameLoad CompareEq Call NameLoad NameLoad Num body Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword Call NameLoad Str keyword NameLoad Return NameLoad decorator_list
N/A fuzzywuzzy fuzz N/A jellyfish N/A unicodedata pickle reconciliation.utils.matchlength longest_match django.db.models Q ftpdata.models Candidate nameparser HumanName datetime date operator itemgetter reconciliation.utils.candidate_aliases candidate_hash django.conf settings reconciliation.utils.nicknames nicknamedict N/A logging N/A log N/A N/A logging getLogger reconcilers N/A CHECK_FOR_NAME_REVERSALS N/A getattr settings CHECK_FOR_NAME_REVERSALS N/A default_cycle 2016 N/A debug True N/A starts_with_blocklength 5 standardize_name_from_dict N/A N/A candidate N/A N/A N/A district N/A N/A N/A candidate N/A cand_office 00 N/A N/A district N/A -%s N/A candidate N/A cand_office_district N/A N/A %s - %s (%s: %s-%s) N/A N/A candidate N/A cand_name N/A candidate N/A cand_pty_affiliation N/A candidate N/A cand_office N/A candidate N/A cand_office_st district N/A block_by_startswith N/A N/A name numchars state office cycle N/A None None None N/A N/A namestart N/A name N/A numchars N/A debug N/A N/A N/A N/A log debug N/A block_by_startswith = %s state=%s office=%s cycle=%s N/A name state office cycle N/A N/A block_by_startswith = %s state=%s office=%s cycle=%s N/A name state office cycle N/A matches N/A N/A N/A Candidate objects filter cand_name__istartswith namestart N/A president_flag False N/A office N/A N/A N/A N/A N/A N/A office upper N/A 1 H N/A N/A matches N/A N/A matches filter cand_office H N/A N/A N/A N/A N/A N/A office upper N/A 1 S N/A N/A matches N/A N/A matches filter cand_office S N/A N/A N/A N/A N/A N/A office upper N/A 1 P N/A N/A matches N/A N/A matches filter cand_office P N/A president_flag True N/A N/A state N/A president_flag N/A N/A state N/A N/A N/A N/A state strip upper N/A matches N/A N/A matches filter cand_office_st state N/A N/A cycle N/A N/A len N/A str cycle 3 N/A N/A matches N/A N/A matches filter cycle cycle N/A matches N/A N/A matches order_by cand_name cand_office cand_office_st cand_office_district cand_id cand_pty_affiliation N/A match_values N/A N/A N/A N/A matches values cand_name cand_office cand_office_st cand_office_district cand_id cand_pty_affiliation distinct N/A match_values N/A simple_clean N/A N/A string N/A N/A N/A N/A N/A string N/A N/A N/A N/A unicodedata normalize NFKD string encode ascii ignore N/A N/A N/A TypeError N/A N/A N/A N/A N/A N/A N/A string strip lower N/A compute_scores N/A N/A array N/A N/A N/A sorted_array N/A sorted array N/A truncated N/A sorted_array N/A 1 N/A avg N/A N/A sum truncated N/A float N/A len truncated N/A avg N/A unnickname N/A N/A firstname N/A N/A N/A firstname N/A simple_clean firstname N/A N/A N/A firstname N/A nicknamedict N/A firstname N/A N/A N/A KeyError N/A N/A N/A firstname N/A hash_lookup N/A N/A name state office cycle N/A None None None N/A N/A result_array N/A N/A N/A 1. running hash lookup with name='%s' and cycle='%s' and state='%s' office='%s' N/A name cycle state office N/A hashname N/A N/A N/A N/A N/A N/A N/A str name upper strip strip " N/A N/A Hash lookup name = %s hashname N/A N/A cycle N/A N/A len N/A str cycle 3 N/A N/A hash_lookup_cycle N/A str cycle N/A N/A hash_lookup_cycle default_cycle N/A N/A hash_lookup_cycle default_cycle N/A N/A N/A N/A found_candidate N/A N/A candidate_hash N/A hash_lookup_cycle N/A hashname N/A N/A N/A KeyError N/A N/A None N/A found_candidate N/A N/A valid_candidate True N/A N/A office N/A N/A len office 0 N/A N/A N/A N/A N/A N/A office upper N/A 1 N/A N/A N/A N/A found_candidate N/A cand_office upper N/A 1 N/A N/A valid_candidate False N/A N/A state N/A N/A len state 1 N/A N/A N/A N/A N/A state upper N/A found_candidate N/A cand_office_st N/A N/A N/A office N/A N/A N/A N/A office upper N/A 1 P N/A N/A N/A N/A valid_candidate False N/A valid_candidate N/A N/A name_standardized N/A standardize_name_from_dict found_candidate N/A N/A N/A result_array append N/A name id score type match name_standardized N/A found_candidate N/A cand_id 1 N/A True N/A result_array N/A None N/A match_by_name N/A N/A name state office cycle reverse_name_order N/A None None None False N/A N/A result_array N/A N/A name1 N/A HumanName name N/A name1_standardized None N/A blocking_name None N/A reverse_name_order N/A N/A Running name reversal check! N/A blocking_name N/A simple_clean N/A name1 first N/A name1_standardized N/A N/A N/A simple_clean N/A name1 first N/A unnickname N/A name1 last N/A N/A name1_standardized N/A N/A N/A simple_clean N/A name1 last N/A unnickname N/A name1 first N/A blocking_name N/A simple_clean N/A name1 last N/A N/A blocking_name N/A N/A blocking_name N/A simple_clean name N/A possible_matches N/A block_by_startswith blocking_name starts_with_blocklength state office cycle N/A match possible_matches N/A N/A name2_name N/A HumanName N/A match N/A cand_name N/A name2 N/A N/A N/A simple_clean N/A name2_name last N/A unnickname N/A name2_name first N/A text1 name1_standardized N/A text2 name2 N/A ratio N/A N/A 1 100.0 N/A N/A fuzz ratio text1 text2 N/A partial_ratio N/A N/A 1 100.0 N/A N/A fuzz partial_ratio text1 text2 N/A token_sort_ratio N/A N/A 1 100.0 N/A N/A fuzz token_sort_ratio text1 text2 N/A token_set_ratio N/A N/A 1 100.0 N/A N/A fuzz token_set_ratio text1 text2 N/A avg_len N/A N/A N/A 1 2 N/A len text1 N/A len text2 N/A min_len N/A min N/A len text1 N/A len text2 N/A l_ratio 0 N/A N/A N/A l_distance N/A N/A jellyfish levenshtein_distance text1 text2 N/A l_ratio N/A 1.0 N/A N/A 0.0 l_distance N/A 0.0 avg_len N/A N/A N/A UnicodeEncodeError N/A N/A N/A long_match N/A longest_match text1 text2 N/A lng_ratio N/A N/A 0.0 long_match N/A 0.0 min_len N/A score 0 N/A N/A N/A ratio 0.6 N/A partial_ratio 0.6 N/A l_ratio 0.6 N/A lng_ratio 0.6 N/A N/A score N/A compute_scores N/A ratio partial_ratio l_ratio lng_ratio N/A debug N/A N/A N/A N/A log debug N/A |fuzzymatchresult|%s|'%s'|'%s'|score=%s|ratio=%s|partial_ratio=%s|token_sort_ratio=%s|token_set_ratio=%s| l_ratio=%s|lng_ratio=%s N/A N/A match N/A cand_id N/A match N/A cand_name name score ratio partial_ratio token_sort_ratio token_set_ratio l_ratio lng_ratio N/A N/A score 0.8 N/A N/A name_standardized N/A standardize_name_from_dict match N/A N/A N/A result_array append N/A name id score type match name_standardized N/A match N/A cand_id score N/A False N/A debug N/A N/A N/A N/A log debug N/A Match found: %s name_standardized N/A N/A debug N/A N/A len result_array 0 N/A N/A N/A N/A log debug N/A No match for %s, which was standardized to: %s N/A name name1_standardized N/A N/A N/A len result_array 1 N/A N/A N/A N/A N/A result_array N/A 0 N/A score 0.9 N/A N/A N/A N/A result_array N/A 0 N/A match True N/A result_array N/A run_fec_query N/A N/A name state office cycle fuzzy N/A None None None True N/A N/A debug N/A N/A N/A run_fec_query = state=%s office=%s cycle=%s N/A state office cycle N/A result N/A hash_lookup name state office cycle N/A result N/A N/A result N/A N/A fuzzy N/A N/A N/A N/A N/A N/A len name 4 N/A N/A N/A N/A result_array N/A match_by_name name state state office office cycle cycle reverse_name_order False N/A N/A CHECK_FOR_NAME_REVERSALS N/A N/A len result_array 0 N/A N/A result_array N/A match_by_name name state state office office cycle cycle reverse_name_order True N/A result_array N/A sorted result_array key N/A itemgetter score reverse True N/A result_array N/A