Module ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias identifier ImportFrom alias alias alias Import alias alias ImportFrom alias alias alias alias alias alias alias alias Import alias alias alias alias FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str If CompareNotEq NameLoad Num body Return NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Num If BoolOpAnd CompareEq NameLoad Num CompareEq NameLoad Num CompareGt Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Num Return Call NameLoad Call NameLoad BinOpDiv BinOpMult BinOpAdd NameLoad BinOpMult NameLoad Num Num BinOpAdd NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body If CompareGt AttributeLoad NameLoad attr Num body Return Call NameLoad Call NameLoad Call NameLoad BinOpAdd NameLoad Num Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Dict For TupleStore NameStore NameStore Call NameLoad Str body For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Delete SubscriptDel NameLoad Index Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareEq Call NameLoad SubscriptLoad NameLoad Index Str Num body Return NameLoad Assign NameStore ListLoad Str Str Str Str Assign NameStore ListLoad Str Str Str Str For NameStore NameLoad body If CompareIn NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body If CompareEq NameLoad Str body Pass orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad orelse If CompareEq NameLoad Str body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore IfExp NameLoad Call AttributeLoad NameLoad attr NameLoad Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Str Assign NameStore Call NameLoad ListComp Call NameLoad Num TupleLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign NameStore TupleLoad Num Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse If CompareEq NameLoad Str body If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Str orelse If CompareEq NameLoad Str body Assign NameStore Num Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return NameLoad decorator_list Assign NameStore ListLoad Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam defaults body While CompareGtE BinOpSub NameLoad Num Call NameLoad NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Break Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return SubscriptLoad NameLoad Index BinOpSub NameLoad Num decorator_list Assign NameStore Call NameLoad Str keyword Str Assign NameStore ListLoad NameLoad FunctionDef arguments args NameParam defaults body While BoolOpOr CompareIs SubscriptLoad NameLoad Index Num NameLoad CompareLt SubscriptLoad SubscriptLoad NameLoad Index Num Index Str NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str ListComp Call NameLoad Num TupleLoad Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Num NameLoad Assign NameStore IfExp CompareNotEq SubscriptLoad SubscriptLoad NameLoad Index Num Index Str NameLoad ListLoad Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Return NameLoad decorator_list Assign NameStore ListLoad Assign NameStore Call NameLoad Str keyword Str FunctionDef arguments args NameParam defaults body While CompareGtE BinOpSub NameLoad Num Call NameLoad NameLoad body Assign TupleStore NameStore NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Break Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore IfExp NameLoad Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Return SubscriptLoad NameLoad Index BinOpSub NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign NameStore SubscriptLoad Call NameLoad NameLoad TupleLoad NameLoad NameLoad Index Num While CompareNotEq Call NameLoad SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore SubscriptLoad Call NameLoad NameLoad TupleLoad NameLoad NameLoad Index Num Assign NameStore SubscriptLoad Call NameLoad NameLoad TupleLoad NameLoad NameLoad Index Num While CompareNotEq Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str NameLoad body Assign NameStore SubscriptLoad Call NameLoad NameLoad TupleLoad NameLoad NameLoad Index Num Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict Str Str Str Str Str Str Str Str Assign SubscriptStore NameLoad Index Str ListLoad NameLoad Assign SubscriptStore NameLoad Index Str ListLoad NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str ListLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Lambda arguments args NameParam defaults TupleLoad Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call NameLoad Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Str Expr Call AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num AugAssignAdd SubscriptStore NameLoad Index NameLoad Num Assign TupleStore NameStore NameStore TupleLoad Num Num For NameStore Call NameLoad Call NameLoad NameLoad body If CompareEq NameLoad NameLoad body Continue Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num If CompareEq NameLoad Num body If CompareLt NameLoad NameLoad body AugAssignAdd NameStore Num orelse AugAssignAdd NameStore Num Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Str NameLoad Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Str NameLoad For NameStore Call NameLoad Num Num body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index BinOpMod Str NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Num Call NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore TupleLoad Num Num For TupleStore NameStore NameStore NameLoad body If CompareNotEq NameLoad Str body AugAssignAdd NameStore NameLoad AugAssignAdd NameStore Num Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Str NameLoad orelse Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Str Num If BoolOpOr CompareEq NameLoad Num CompareLtE NameLoad Num body Pass orelse AugAssignDiv NameStore NameLoad For TupleStore NameStore NameStore NameLoad body If UnaryOpNot NameLoad body Assign NameStore Num orelse If CompareLtE NameLoad Num body Assign NameStore Num orelse Assign NameStore Call NameLoad Call NameLoad BinOpMult BinOpDiv NameLoad NameLoad Num Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index Num Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str For NameStore SubscriptLoad NameLoad Index Num body If NameLoad body Expr Yield NameLoad orelse Assign NameStore Dict For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body If CompareNotEq NameLoad Str body Assign NameStore Call NameLoad Call NameLoad BinOpMult Call NameLoad NameLoad Num orelse If CompareIn NameLoad TupleLoad Str Str body Assign NameStore Call NameLoad Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str For NameStore SubscriptLoad NameLoad Index Num body If NameLoad body Expr Yield NameLoad orelse Assign NameStore Dict For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Str body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call NameLoad Num NameLoad Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Assign NameStore ListLoad Num Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body For NameStore SubscriptLoad NameLoad Index Num body If NameLoad body Expr Yield Call AttributeLoad NameLoad attr orelse Assign NameStore Dict For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Str Str Str For NameStore SubscriptLoad NameLoad Index Num body If NameLoad body Expr Yield NameLoad orelse Assign NameStore Dict For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If BoolOpAnd CompareEq NameLoad Str CompareNotEq NameLoad Str body Assign NameStore Call NameLoad Call NameLoad Call NameLoad BinOpAdd NameLoad Num Assign SubscriptStore NameLoad Index NameLoad NameLoad Expr Yield NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad For NameStore Call NameLoad BinOpSub NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Num Assign NameStore Call NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad BinOpMult BinOpDiv BinOpMult NameLoad Num Call NameLoad NameLoad Num Return Dict Str Str Str Str NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If NameLoad body Return ListLoad Str Str Str Str Str Str Str Assign NameStore Dict Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad If CompareIn Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Num orelse Assign SubscriptStore NameLoad Index Str Num Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call NameLoad Num NameLoad Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str IfExp NameLoad NameLoad ListLoad Num If CompareEq Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num orelse Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Num orelse Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Return NameLoad decorator_list Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If NameLoad body Return ListLoad Str Str Str If CompareEq Call NameLoad NameLoad Num body Return ListLoad Num Num Num Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Dict Assign NameStore Num Assign NameStore Num Assign NameStore Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad NameLoad body AugAssignAdd NameStore Num orelse If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore Num Assign NameStore TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Print NameLoad Print Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str orelse AugAssignAdd NameStore Num Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Str Assign NameStore IfExp NameLoad Call AttributeLoad NameLoad attr ListLoad Assign NameStore BinOpAdd ListLoad Str Str Call NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body If NameLoad body Expr Yield NameLoad orelse Assign NameStore Dict Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Num If CompareEq NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad orelse Assign SubscriptStore NameLoad Index Str Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num If CompareEq NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad orelse Assign SubscriptStore NameLoad Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Yield NameLoad decorator_list Assign NameStore Call NameLoad ListLoad Str Str Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad Str Str Str Str Str Str For NameStore SubscriptLoad NameLoad Index Num body If NameLoad body Expr Yield NameLoad orelse Assign NameStore Dict For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Continue Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIn NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Expr Yield NameLoad decorator_list Assign NameStore ListLoad TupleLoad NameLoad ListLoad Str TupleLoad NameLoad ListLoad Str TupleLoad NameLoad ListLoad Str TupleLoad NameLoad ListLoad Str TupleLoad NameLoad ListLoad Str TupleLoad NameLoad ListLoad Str Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore ListComp Dict comprehension NameStore Call NameLoad NameLoad For TupleStore NameStore NameStore NameLoad body Assign NameStore Call NameLoad Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index NameLoad NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam NameParam defaults Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Num If CompareEq NameLoad Num body For NameStore Call NameLoad NameLoad NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Break orelse For TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad Num body If CompareEq NameLoad Str body Return BinOpMod Str TupleLoad NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore BinOpBitOr BinOpLShift NameLoad NameLoad BinOpBitAnd Call NameLoad Call NameLoad NameLoad BinOpSub BinOpLShift Num NameLoad Num If CompareIn NameLoad NameLoad body Return BinOpMod Str TupleLoad BinOpAdd SubscriptLoad NameLoad Index NameLoad Num Num orelse Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return BinOpMod Str TupleLoad BinOpAdd SubscriptLoad NameLoad Index NameLoad Num Num orelse Return BinOpBitOr BinOpLShift NameLoad NameLoad BinOpBitAnd Call NameLoad Call NameLoad NameLoad BinOpSub BinOpLShift Num NameLoad Num decorator_list FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Call NameLoad ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str If AttributeLoad NameLoad attr body Assign NameStore ListLoad Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str orelse Assign NameStore ListLoad Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Str Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Str Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Print BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad Lambda arguments args defaults ListLoad Num Num For TupleStore NameStore TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad SubscriptLoad NameLoad Index Str Expr Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Continue Assign NameStore Call NameLoad NameLoad NameLoad CompareGt NameLoad Num Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Print BinOpMult Str Num Print NameLoad Print Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore Call NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr Print Call NameLoad NameLoad NameLoad If CompareIsNot AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str NameLoad orelse If AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr NameLoad orelse Expr Call NameLoad Str NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Num AugAssignAdd SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num NameLoad AugAssignAdd SubscriptStore SubscriptLoad NameLoad Index NameLoad Index Num Num Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareIn Str AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Assign NameStore Str orelse If CompareIn NameLoad NameLoad body Assign NameStore Str orelse If CompareEq NameLoad Num body Print BinOpMod Str NameLoad Continue orelse Assign NameStore Str Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareEq NameLoad Num body Print NameLoad NameLoad Call NameLoad NameLoad NameLoad If BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpAdd NameLoad Num NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpAdd NameLoad Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd Call NameLoad NameLoad Str Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad NameLoad BinOpDiv BinOpMult SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body ImportFrom alias Import alias identifier Assign NameStore Call NameLoad Str Num Assign NameStore AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad Return Call NameLoad NameLoad decorator_list Call AttributeLoad NameLoad attr keyword Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad Str keyword Str Assign NameStore Call NameLoad Call NameLoad Str keyword Str Expr Call NameLoad
N/A csv DictReader datetime datetime timedelta collections defaultdict N/A cPickle pickle math exp log sqrt N/A random gc util read_dump write_dump cache read_tsv convert_ts data next_row get_category N/A argparse ast re json filter_row N/A N/A row data_type sr N/A N/A N/A object_type N/A int N/A row N/A ObjectType N/A N/A object_type 3 N/A N/A False N/A y N/A int N/A N/A row get IsClick 0 N/A N/A N/A data_type 0 N/A y 0 N/A N/A N/A random random sr N/A N/A False N/A True N/A calc_ctr N/A N/A x y N/A N/A N/A avg_ctr 0.0060281 N/A N/A int N/A round N/A N/A N/A x N/A avg_ctr 10 100.0 N/A y 10 N/A log_trans N/A N/A x N/A N/A N/A N/A N/A args log 0 N/A N/A N/A int N/A round N/A log N/A x 1 N/A x N/A get_user_info N/A N/A N/A N/A N/A user_info_map N/A N/A N/A t row N/A read_tsv data/UserInfo.tsv N/A N/A k row N/A N/A N/A row N/A k N/A int N/A row N/A k N/A uid N/A row N/A UserID N/A N/A row N/A UserID N/A N/A user_info_map N/A uid row N/A user_info_map N/A trans_ad_info N/A N/A ad_info N/A N/A N/A N/A N/A int N/A ad_info N/A IsContext 0 N/A N/A None N/A trans_keys N/A CategoryID Price Params Title N/A del_keys N/A AdID IsContext _id LocationID N/A k del_keys N/A N/A N/A k ad_info N/A N/A N/A ad_info N/A k N/A key trans_keys N/A N/A val N/A ad_info N/A key N/A N/A key Price N/A N/A N/A val N/A N/A N/A N/A N/A ad_info N/A key N/A float N/A ad_info N/A key N/A N/A N/A key Params N/A N/A params N/A ad_info N/A key N/A params N/A params N/A N/A ast literal_eval params N/A N/A par_key params N/A N/A N/A params N/A par_key N/A unicode N/A params N/A par_key utf-8 N/A val N/A tuple N/A N/A hash_val 0 N/A k v N/A N/A k v N/A N/A params items N/A N/A N/A len val 0 N/A N/A val N/A -1 N/A N/A ad_info N/A key val N/A N/A N/A key Title N/A N/A N/A N/A isinstance N/A ad_info N/A key unicode N/A N/A N/A ad_info N/A key N/A unicode N/A ad_info N/A key utf-8 N/A N/A N/A val N/A N/A val -1 N/A N/A ad_info N/A key N/A int val N/A ad_info N/A N/A ad_info_list N/A N/A ad_info_iter N/A read_tsv data/AdsInfo.tsv get_ad_info N/A N/A aid N/A N/A N/A N/A N/A aid 1 N/A len ad_info_list N/A N/A N/A t row N/A next ad_info_iter N/A None None N/A N/A row None N/A N/A N/A N/A N/A ad_info_list append N/A trans_ad_info row N/A N/A ad_info_list N/A N/A aid 1 N/A N/A se_params_iter N/A read_tsv data/search_params.csv delimiter , N/A se_param_list N/A None get_se_param N/A N/A sid N/A N/A N/A N/A N/A N/A se_param_list N/A 0 None N/A N/A N/A se_param_list N/A 0 N/A SearchID sid N/A N/A N/A t se_param N/A next se_params_iter N/A None None N/A N/A se_param N/A SearchID N/A int N/A se_param N/A SearchID N/A params N/A N/A json loads N/A se_param N/A SearchParams N/A N/A se_param N/A SearchParams N/A N/A hash_val 0 N/A N/A int k v N/A N/A k v N/A N/A params items N/A N/A se_param_list N/A 0 se_param N/A params N/A N/A N/A N/A se_param_list N/A 0 N/A SearchID sid N/A -1 N/A N/A se_param_list N/A 0 N/A SearchParams N/A params N/A N/A ad_price_list N/A N/A ad_price_iter N/A read_tsv data/ad_price.tsv delimiter get_ad_price N/A N/A aid N/A N/A N/A N/A N/A aid 1 N/A len ad_price_list N/A N/A N/A t row N/A next ad_price_iter N/A None None N/A N/A row None N/A N/A N/A price N/A row N/A Price N/A price N/A price N/A float price N/A N/A N/A ad_price_list append price N/A N/A ad_price_list N/A N/A aid 1 N/A get_features N/A N/A sinfo rows test N/A False N/A N/A feature_map N/A defaultdict list N/A sid N/A sinfo N/A SearchID N/A N/A sinfo N/A SearchParams N/A get_se_param sid N/A user_cnt_row N/A N/A next user_cnt_iter N/A None None N/A 1 N/A N/A N/A int N/A user_cnt_row N/A SearchID sid N/A N/A user_cnt_row N/A N/A next user_cnt_iter N/A None None N/A 1 N/A user_aid_cnt_rows N/A N/A next user_aid_cnt_iter N/A None None N/A 1 N/A N/A N/A int N/A N/A user_aid_cnt_rows N/A 0 N/A SearchID sid N/A N/A user_aid_cnt_rows N/A N/A next user_aid_cnt_iter N/A None None N/A 1 N/A user_aid_cnt_dict N/A N/A row user_aid_cnt_rows N/A N/A aid N/A int N/A row N/A AdID N/A N/A user_aid_cnt_dict N/A aid row N/A ad_infos N/A N/A row rows N/A N/A aid N/A int N/A row N/A AdID N/A N/A N/A row update N/A user_aid_cnt_dict N/A aid N/A N/A N/A ad_infos append N/A get_ad_info aid N/A uid N/A int N/A sinfo N/A UserID N/A user_info N/A N/A user_info_map get uid N/A UserAgentID UserAgentOSID UserDeviceID UserAgentFamilyID N/A N/A feature_map N/A user_cnt N/A user_cnt_row N/A N/A feature_map N/A user_info N/A user_info N/A N/A feature_map N/A ad_info ad_infos N/A N/A feature_map N/A stream_info rows N/A N/A feature_map N/A sinfo N/A sinfo N/A feature_map N/A extract_slot_feas N/A N/A rows sinfo N/A N/A N/A data N/A map N/A N/A N/A x N/A N/A N/A int N/A x N/A Position N/A int N/A x N/A ObjectType x rows N/A N/A N/A data sort N/A price_data N/A N/A ot_cnt N/A defaultdict int N/A all_pos N/A N/A all_ot N/A N/A i N/A range N/A len data N/A N/A N/A N/A all_pos append N/A N/A data N/A i N/A 0 N/A N/A N/A all_ot append N/A N/A data N/A i N/A 1 N/A aid N/A int N/A N/A N/A data N/A i N/A 2 N/A AdID N/A N/A N/A price_data append N/A N/A get_ad_price aid i N/A i_obt N/A N/A data N/A i N/A 1 N/A N/A ot_cnt N/A i_obt 1 N/A N/A ucnt lcnt N/A 0 0 N/A j N/A range N/A len data N/A N/A N/A i j N/A N/A N/A j_obt N/A N/A data N/A j N/A 1 N/A N/A j_obt 2 N/A N/A N/A i j N/A N/A lcnt 1 N/A N/A ucnt 1 N/A N/A N/A N/A data N/A i N/A 2 N/A hl_lcnt lcnt N/A N/A N/A N/A data N/A i N/A 2 N/A hl_ucnt ucnt N/A k N/A range 1 4 N/A N/A v N/A ot_cnt N/A k N/A N/A sinfo N/A N/A ot%s_cnt k v N/A N/A sinfo N/A record_cnt N/A len rows N/A N/A sinfo N/A pos_type N/A hash_val 0 N/A tuple all_pos N/A N/A sinfo N/A pos_ot_type N/A hash_val 0 N/A tuple all_ot N/A N/A N/A price_data sort N/A N/A avg_price avg_cnt N/A 0 0 N/A N/A p i price_data N/A N/A N/A p N/A N/A avg_price p N/A avg_cnt 1 N/A N/A N/A N/A data N/A i N/A 2 N/A price_pos i N/A N/A N/A N/A N/A data N/A i N/A 2 N/A price_pos -1 N/A N/A N/A avg_cnt 0 N/A avg_price 0 N/A N/A N/A N/A avg_price avg_cnt N/A N/A p i price_data N/A N/A N/A p N/A N/A ratio -1 N/A N/A N/A avg_price 0 N/A N/A ratio -2 N/A N/A ratio N/A int N/A round N/A N/A p avg_price 100 N/A N/A N/A N/A data N/A i N/A 2 N/A price_ratio ratio N/A stream_info_func N/A N/A vs name N/A False N/A N/A keys N/A AdID Position HistCTR hl_lcnt hl_ucnt clk_cnt show_cnt t_show_cnt price_pos price_ratio N/A v N/A vs N/A 0 N/A N/A name N/A N/A N/A keys N/A N/A x N/A N/A k keys N/A N/A val N/A v N/A k N/A N/A k HistCTR N/A N/A N/A val N/A N/A val N/A int N/A round N/A N/A float val 1000 N/A N/A N/A k N/A pos_show_cnt adid_cnt N/A N/A val N/A log_trans N/A int val N/A N/A x N/A k val N/A N/A x N/A u_aid_ctr N/A calc_ctr N/A int N/A x N/A clk_cnt N/A int N/A x N/A show_cnt N/A N/A x N/A sinfo_func N/A N/A vs name N/A False N/A N/A keys N/A IPID UserID IsUserLoggedOn SearchQuery SearchParams ot1_cnt ot2_cnt ot3_cnt record_cnt pos_type pos_ot_type s_LocationID s_CategoryID N/A v N/A vs N/A 0 N/A N/A name N/A N/A N/A keys N/A N/A x N/A N/A k keys N/A N/A val N/A v N/A k N/A N/A k SearchQuery N/A N/A query N/A unicode N/A v N/A SearchQuery utf-8 N/A val N/A map N/A N/A N/A x N/A N/A hash_val 0 x N/A N/A query split N/A N/A N/A len val 0 N/A N/A val N/A -1 N/A N/A x N/A k val N/A N/A x N/A user_info_func N/A N/A vs name N/A False N/A N/A v N/A vs N/A 0 N/A N/A name N/A N/A N/A N/A N/A v keys N/A N/A x N/A N/A k v N/A N/A val N/A v N/A k N/A N/A x N/A k val N/A N/A x N/A ad_info_func N/A N/A vs name N/A N/A N/A keys N/A CategoryID Price Params N/A v N/A vs N/A 0 N/A N/A name N/A N/A N/A keys N/A N/A x N/A N/A k keys N/A N/A val N/A v N/A k N/A N/A N/A k Price N/A val N/A N/A val N/A int N/A round N/A log N/A val 1 N/A N/A x N/A k val N/A N/A x N/A ngram N/A N/A query_word N/A N/A N/A sz N/A len query_word N/A res N/A N/A i N/A range N/A sz 1 N/A N/A N/A N/A res append N/A %s %s N/A N/A query_word N/A i N/A query_word N/A N/A i 1 N/A res N/A calc_sim N/A N/A qw tw N/A N/A N/A cnt 0 N/A min_pos 10000 N/A match_w N/A N/A w qw N/A N/A N/A w tw N/A N/A N/A N/A match_w append w N/A cnt 1 N/A min_pos N/A min min_pos N/A N/A tw index w N/A ratio N/A int N/A round N/A N/A N/A cnt 1.0 N/A len qw 100 N/A N/A cnt pos ratio match_w cnt min_pos ratio match_w N/A query_feas N/A N/A query_word ad_info name N/A False N/A N/A name N/A N/A N/A qe_w_cnt qe_w_ratio qe_w_pos qe_ng_cnt qe_ng_ratio qe_ng_min_pos t_match N/A x N/A N/A title N/A N/A N/A ad_info N/A Title split N/A N/A x N/A title_len N/A len title N/A N/A N/A N/A join query_word N/A ad_info N/A Title N/A N/A N/A x N/A t_match 1 N/A N/A N/A x N/A t_match 0 N/A title N/A ad_info N/A Title N/A title_val N/A map N/A N/A N/A x N/A N/A hash_val 0 x N/A N/A title split N/A N/A x N/A title N/A title_val title_val N/A -1 N/A N/A N/A len query_word 0 N/A N/A N/A x N/A qe_w_cnt -1 N/A N/A x N/A qe_w_ratio -1 N/A N/A x N/A qe_w_pos -1 N/A N/A sim N/A calc_sim query_word title N/A N/A x N/A qe_w_cnt N/A sim N/A cnt N/A N/A x N/A qe_w_ratio N/A sim N/A ratio N/A N/A x N/A qe_w_pos N/A sim N/A pos N/A N/A x N/A match_w N/A sim N/A match_w N/A qw_ngram N/A ngram query_word N/A N/A N/A len qw_ngram 0 N/A N/A N/A x N/A qe_ng_cnt -1 N/A N/A x N/A qe_ng_ratio -1 N/A N/A x N/A qe_ng_min_pos -1 N/A N/A title_ngram N/A ngram title N/A sim N/A calc_sim qw_ngram title_ngram N/A N/A x N/A qe_ng_cnt N/A sim N/A cnt N/A N/A x N/A qe_ng_ratio N/A sim N/A ratio N/A N/A x N/A qe_ng_min_pos N/A sim N/A pos N/A N/A x N/A match_ng N/A sim N/A match_w N/A x N/A N/A unmatch_set N/A set param_feas N/A N/A se_params ad_info name N/A False N/A N/A name N/A N/A N/A par_match par_nmatch par_miss N/A N/A N/A len se_params 0 N/A N/A N/A -1 -1 -1 N/A ad_params N/A ad_info N/A Params N/A x N/A N/A par_match 0 N/A par_miss 0 N/A par_nmatch 0 N/A N/A par_key par_v N/A N/A se_params items N/A N/A ad_v N/A N/A ad_params get par_key N/A N/A par_v ad_v N/A N/A par_match 1 N/A N/A N/A ad_v None N/A N/A par_nmatch 1 N/A key N/A N/A type par_v N/A type ad_v N/A N/A key unmatch_set N/A N/A N/A N/A unmatch_set add key N/A key N/A N/A N/A par_v encode utf-8 ---- N/A N/A ad_v encode utf-8 N/A N/A par_miss 1 N/A N/A x N/A par_match par_match N/A N/A x N/A par_nmatch par_nmatch N/A N/A x N/A par_miss par_miss N/A x N/A match_info_func N/A N/A vs name N/A N/A N/A ad_infos N/A vs N/A 0 N/A sinfo N/A N/A vs N/A 1 N/A 0 N/A s_ca_id N/A int N/A N/A sinfo get CategoryID N/A s_ca_pid N/A category_map N/A s_ca_id N/A query N/A unicode N/A sinfo N/A SearchQuery utf-8 N/A query N/A query N/A N/A query split N/A N/A keys N/A N/A ca_match ca_pid_match N/A query_feas None None True N/A ad_info ad_infos N/A N/A name N/A N/A N/A keys N/A N/A x N/A N/A  ca_match  N/A ca_id N/A int N/A N/A ad_info get CategoryID -1 N/A N/A ca_id s_ca_id N/A N/A N/A x N/A ca_match ca_id N/A N/A N/A x N/A ca_match -1 N/A ca_pid N/A N/A category_map get ca_id -1 N/A N/A ca_pid s_ca_pid N/A N/A N/A x N/A ca_pid_match ca_pid N/A N/A N/A x N/A ca_pid_match -1 N/A N/A N/A x update N/A query_feas query ad_info N/A N/A x N/A N/A log_cnt_keys N/A set N/A t_cnt bf_cnt af_cnt user_cnt_func N/A N/A vs name N/A N/A N/A keys N/A t_cnt bf_cnt af_cnt bf_3h_cnt af_3h_cnt bf_clk_cnt N/A v N/A vs N/A 0 N/A N/A name N/A N/A N/A keys N/A N/A x N/A N/A k keys N/A N/A N/A k v N/A N/A N/A val N/A v N/A k N/A N/A k log_cnt_keys N/A N/A val N/A log_trans N/A int val N/A N/A x N/A k val N/A N/A x N/A bf_ctr N/A calc_ctr N/A int N/A v N/A bf_clk_cnt N/A int N/A v N/A bf_cnt N/A N/A x N/A N/A extract_func N/A N/A stream_info_func N/A stream_info N/A sinfo_func N/A sinfo N/A user_info_func N/A user_info N/A ad_info_func N/A ad_info N/A user_cnt_func N/A user_cnt N/A match_info_func N/A ad_info sinfo extract N/A N/A feature_map name N/A False N/A N/A ins_size 0 N/A N/A k v N/A N/A feature_map items N/A N/A ins_size N/A max ins_size N/A len v N/A instances N/A N/A N/A _ N/A xrange ins_size N/A N/A func in_keys extract_func N/A N/A vls N/A map N/A N/A N/A k N/A N/A feature_map N/A k in_keys N/A msize N/A reduce N/A N/A N/A x y N/A N/A max x N/A len y vls 0 N/A N/A msize 1 N/A N/A x N/A func vls name N/A N/A ins instances N/A N/A N/A N/A ins update x N/A N/A N/A N/A t x N/A enumerate N/A func vls name N/A N/A N/A N/A N/A instances N/A t update x N/A instances N/A N/A one_hot_encoder N/A defaultdict int hash_val N/A N/A t v dtype D N/A None 22 N/A N/A N/A dtype xgb N/A N/A N/A %s:%s N/A t v N/A N/A N/A dtype xgb2 N/A N/A v N/A N/A t D N/A N/A hash N/A unicode v N/A N/A 1 D 1 N/A N/A v one_hot_encoder N/A N/A N/A %s:%s N/A N/A N/A one_hot_encoder N/A v 60 1 N/A N/A N/A one_hot_encoder N/A v N/A len one_hot_encoder N/A N/A %s:%s N/A N/A N/A one_hot_encoder N/A v 60 1 N/A N/A N/A N/A t D N/A N/A hash N/A unicode v N/A N/A 1 D 1 N/A main N/A N/A N/A N/A N/A N/A N/A random seed N/A args seed N/A xgb_set N/A set N/A price_pos ot1_cnt bf_cnt bf_clk_cnt u_aid_ctr record_cnt show_cnt clk_cnt t_cnt qe_w_pos HistCTR qe_ng_min_pos t_show_cnt bf_ctr ot2_cnt Price qe_ng_cnt title_len hl_ucnt price_ratio hl_lcnt t_match qe_w_ratio qe_ng_ratio Position bf_3h_cnt qe_w_cnt af_cnt ot3_cnt af_3h_cnt adid_cnt IsUserLoggedOn N/A xgb_sparse_set N/A set N/A pos_ot_type pos_type ca_match ca_pid_match CategoryID s_LocationID s_CategoryID UserAgentFamilyID UserAgentOSID UserDeviceID UserAgentID UserID IPID AdID SearchParams Params Title SearchQuery N/A N/A args test N/A N/A fh_list N/A N/A open N/A data/tr_%s.%s N/A N/A args test N/A args type w N/A open N/A data/cv_%s.%s N/A N/A args test N/A args type w N/A open N/A data/te_%s.%s N/A N/A args test N/A args type w N/A N/A fh_list N/A N/A open N/A data/tr.%s N/A args type w N/A open N/A data/cv.%s N/A args type w N/A open N/A data/te.%s N/A args type w N/A data_iter N/A data N/A args test maxlines N/A args maxl N/A N/A sr: %s N/A args sr N/A avg_ctr N/A defaultdict N/A N/A N/A N/A N/A 0 0 N/A N/A line_cnt N/A data_type rows sinfo N/A enumerate data_iter N/A N/A N/A sinfo N/A s_LocationID N/A int N/A sinfo N/A LocationID N/A N/A sinfo N/A s_CategoryID N/A int N/A sinfo N/A CategoryID N/A N/A extract_slot_feas rows sinfo N/A rows N/A filter N/A N/A N/A x N/A N/A filter_row x data_type sr N/A args sr rows N/A N/A rows N/A N/A N/A feature_map N/A get_features sinfo rows N/A data_type 0 N/A instances N/A extract feature_map N/A N/A line_cnt 0 N/A N/A N/A k feas N/A N/A feature_map items N/A N/A N/A - 80 N/A k N/A N/A N/A N/A feas N/A 0 keys N/A feas_name N/A sorted N/A N/A N/A instances N/A 0 keys N/A N/A len feas_name feas_name N/A N/A N/A args sz None N/A N/A N/A write_dump feas_name.dump feas_name N/A N/A N/A args test N/A N/A N/A write_dump N/A feas_name%s.dump N/A args test feas_name N/A N/A N/A write_dump feas_name.dump feas_name N/A fh N/A fh_list N/A data_type N/A N/A ins_map row N/A zip instances rows N/A N/A y N/A int N/A N/A row get IsClick 0 N/A N/A N/A avg_ctr N/A data_type N/A 0 y N/A N/A N/A avg_ctr N/A data_type N/A 1 1 N/A ins N/A N/A N/A kt k N/A enumerate feas_name N/A N/A N/A xgb N/A args type N/A N/A N/A k xgb_set N/A N/A hash_type xgb N/A N/A N/A k xgb_sparse_set N/A N/A hash_type xgb2 N/A N/A N/A line_cnt 0 N/A N/A N/A drop %s k N/A N/A N/A hash_type N/A feas N/A ins_map N/A k N/A N/A line_cnt 0 N/A N/A kt k N/A type feas feas N/A N/A N/A isinstance feas list N/A isinstance feas tuple N/A N/A f feas N/A N/A N/A N/A ins append N/A hash_val N/A kt 1 f hash_type N/A N/A N/A N/A ins append N/A hash_val N/A kt 1 feas hash_type N/A N/A N/A fh write N/A N/A N/A N/A unicode y N/A N/A join N/A map unicode ins N/A N/A key value N/A N/A avg_ctr items N/A N/A N/A %s, %s N/A key N/A N/A N/A value N/A 0 1.0 N/A value N/A 1 N/A fh fh_list N/A N/A N/A N/A fh close N/A N/A N/A __name__ __main__ N/A N/A parser N/A N/A argparse ArgumentParser description Process some integers. N/A N/A N/A parser add_argument --test type int default 0 N/A N/A N/A parser add_argument --mongo type int default 0 N/A N/A N/A parser add_argument --sz type int default None N/A N/A N/A parser add_argument --maxl type int default 1000000.0 N/A N/A N/A parser add_argument --type type str default ins N/A N/A N/A parser add_argument --sr type float default 0.1 N/A N/A N/A parser add_argument --seed type int default 9 N/A N/A N/A parser add_argument --date type int default 0 N/A N/A N/A parser add_argument --log type int default 1 N/A args N/A N/A parser parse_args N/A N/A args mongo N/A pymongo MongoClient N/A functools32 functools N/A client N/A MongoClient localhost 27017 N/A db N/A client test get_ad_info N/A N/A aid N/A N/A N/A ad_info N/A N/A N/A db ad_info find_one N/A AdID aid N/A N/A trans_ad_info ad_info N/A N/A N/A functools lru_cache maxsize 1000000 N/A user_info_map N/A get_user_info N/A category_map N/A get_category N/A user_cnt_iter N/A read_tsv data/user_cnt.csv delimiter , N/A user_aid_cnt_iter N/A next_row N/A read_tsv data/user_aid_cnt.csv delimiter , N/A N/A main