Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias identifier Import alias identifier ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias Assign NameStore Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore BinOpMod Str Call NameLoad Assign NameStore Call NameLoad Str NameLoad Call NameLoad Return Call Call NameLoad keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Str decorator_list Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr Slice Num Num Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad ListComp Call NameLoad NameLoad comprehension NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Slice Num Assert CompareEq Call NameLoad NameLoad Num Assign NameStore TupleLoad Str Call AttributeLoad NameLoad attr NameLoad keyword Str NameLoad If CompareIs NameLoad NameLoad body AugAssignAdd NameStore TupleLoad Num Num orelse AugAssignAdd NameStore TupleLoad Num NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpMult Num Call AttributeLoad NameLoad attr BinOpDiv NameLoad Num Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpDiv BinOpMult Call NameLoad NameLoad NameLoad NameLoad BinOpMult Call NameLoad NameLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Assign NameStore BinOpMod BinOpMult NameLoad Num NameLoad Assign NameStore ListComp BinOpMult NameLoad Num comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad For NameStore Call NameLoad NameLoad BinOpAdd NameLoad Num Num body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign TupleStore NameStore NameStore TupleLoad SubscriptLoad NameLoad Slice Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore ListLoad Num Num Num BinOpSub BinOpPow Num Num Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad NameLoad Index Num Assert CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Index Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore ListLoad Num Num Num BinOpSub BinOpPow Num Num Num body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad For NameStore Call NameLoad BinOpAdd NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Num Expr Call NameLoad Num Assign NameStore ListComp Call NameLoad comprehension NameStore Call NameLoad NameLoad Expr Call NameLoad Num Assign NameStore ListComp Call NameLoad comprehension NameStore Call NameLoad NameLoad Expr Call NameLoad Num Expr Call NameLoad Num Assign NameStore ListComp TupleLoad Call NameLoad Call NameLoad comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListComp SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Str Num body Assert Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword BinOpMod Str TupleLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num keyword BinOpAdd BinOpFloorDiv NameLoad Num Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Str Call NameLoad Str NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad Str NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call NameLoad Str NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num keyword BinOpAdd BinOpFloorDiv NameLoad Num Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Str Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad If CompareGtE AttributeLoad NameLoad attr TupleLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp NameLoad comprehension NameStore ListLoad Num Num Num BinOpAdd BinOpPow Num Num BinOpPow Num Num CompareLt NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num BinOpAdd Num NameLoad keyword Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Num BinOpAdd Num NameLoad Num Call AttributeLoad NameLoad attr Num BinOpAdd Num NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpAdd Num NameLoad Num Num Call AttributeLoad NameLoad attr BinOpAdd Num NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore ListLoad TupleLoad AttributeLoad NameLoad attr BinOpPow Num Num TupleLoad AttributeLoad NameLoad attr BinOpPow Num Num body Assign NameStore Call NameLoad NameLoad TupleLoad NameLoad Assign NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore ListLoad TupleLoad AttributeLoad NameLoad attr BinOpPow Num Num TupleLoad AttributeLoad NameLoad attr BinOpPow Num Num body Assign NameStore Call NameLoad NameLoad TupleLoad NameLoad Assign NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad Call NameLoad NameLoad NameLoad If CompareGtE AttributeLoad NameLoad attr TupleLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num BinOpAdd BinOpPow Num Num BinOpPow Num Num body If CompareGt SubscriptLoad NameLoad Index Num NameLoad body Continue Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad NameLoad keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body For TupleStore NameStore NameStore ListLoad TupleLoad AttributeLoad NameLoad attr BinOpPow Num Num TupleLoad AttributeLoad NameLoad attr BinOpPow Num Num body Assign NameStore Call NameLoad NameLoad TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Lambda arguments args NameParam NameParam NameParam defaults Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Num Call AttributeLoad NameLoad attr Num Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore TupleLoad Num Num Num body For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpDiv Num NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num TupleLoad Num TupleLoad Num If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num TupleLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Lambda arguments args NameParam defaults BinOpAdd Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num If CompareIsNot NameLoad NameLoad body For NameStore Call NameLoad Num body Expr Call AttributeLoad NameLoad attr Call NameLoad Num Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num For NameStore TupleLoad Num Num Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num NameLoad For NameStore TupleLoad Num Num Num Num Num Num Num Num Num body Assign NameStore Call NameLoad NameLoad NameLoad If CompareGt NameLoad Num body Assign NameStore BinOpSub NameLoad NameLoad Assign NameStore BinOpSub Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpMult NameLoad NameLoad Assign NameStore BinOpDiv BinOpMult Num NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpSub NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad NameLoad TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad TupleLoad Num TupleLoad Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad ListLoad TupleLoad Num Num TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Assign NameStore Num Assign NameStore ListComp Call NameLoad Num comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult ListLoad Num NameLoad Assign NameStore ListComp Call NameLoad Num comprehension NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpFloorDiv NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore NameLoad CompareGt NameLoad Num Assign NameStore ListComp Call NameLoad Num comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore NameLoad CompareGt NameLoad Num Assign NameStore ListComp Call NameLoad Num comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore NameLoad CompareGt NameLoad Num Assign NameStore ListComp Call NameLoad Num comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr ListComp NameLoad comprehension NameStore NameLoad CompareGt NameLoad BinOpPow Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num Num TupleLoad Num Num Num keyword Num Assign NameStore ListComp Call NameLoad Num Num Num comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp BoolOpAnd CompareGtE NameLoad Num CompareLtE NameLoad Num comprehension NameStore NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore ListComp Call NameLoad Num Num Num comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp BoolOpAnd CompareGtE NameLoad Num CompareLtE NameLoad Num comprehension NameStore NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore ListComp Call NameLoad Num Num Num comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp BoolOpAnd CompareGtE NameLoad Num CompareLtE NameLoad Num comprehension NameStore NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr ListLoad TupleLoad Num TupleLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr ListLoad TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr ListLoad TupleLoad Num TupleLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Str AttributeLoad NameLoad attr ListLoad TupleLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num TupleLoad Num TupleLoad Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad Num comprehension NameStore Call NameLoad Num ListLoad Num Num Num Num Num Num Num Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num keyword Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad Num Num comprehension NameStore Call NameLoad Num ListLoad Num Num Num Num Num Num Num Num Num Num Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad Num Num comprehension NameStore Call NameLoad Num ListLoad Num Num Num Num Num Num Num Num Num Num Expr Call AttributeLoad NameLoad attr ListComp Call NameLoad Num Num comprehension NameStore Call NameLoad Num ListLoad Num Num Num Num Num Num Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr ListComp Call NameLoad Num Num comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult Num Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num TupleLoad Num TupleLoad Num TupleLoad Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListComp Call NameLoad Num comprehension NameStore Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num Num TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr ListLoad TupleLoad Num TupleLoad Num keyword Num For NameStore TupleLoad Num Num Num Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num If CompareGtE AttributeLoad NameLoad attr TupleLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad TupleLoad NameLoad NameLoad orelse For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad With Call AttributeLoad NameLoad attr body Expr Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore BinOpMod Str Call NameLoad Assign NameStore Call NameLoad For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Str NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr Num body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore BinOpMod Str TupleLoad NameLoad Assign NameStore Call AttributeLoad Str attr SubscriptLoad Str Slice NameLoad Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad NameLoad For NameStore TupleLoad Num TupleLoad Num Num body Assign NameStore BinOpAdd NameLoad TupleLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign TupleStore NameStore NameStore TupleLoad Num Num Assign NameStore TupleLoad Num Num Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareGtE NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareLt NameLoad NameLoad Assign NameStore BinOpDiv BinOpAdd NameLoad NameLoad Num Assign NameStore BinOpDiv BinOpSub NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Num Assign NameStore TupleLoad Num Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareGtE NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareLt NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareLtE NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareGtE NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call Call NameLoad keyword NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call Call NameLoad keyword NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str TupleLoad Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad BinOpMult Call NameLoad NameLoad Num Assign NameStore BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad While CompareLt Call NameLoad NameLoad NameLoad body AugAssignAdd NameStore Call NameLoad AttributeLoad Call NameLoad attr Return SubscriptLoad NameLoad Slice NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call Call NameLoad keyword NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListComp Call NameLoad NameLoad comprehension NameStore Call NameLoad BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd BinOpMult Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad Call NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call Call NameLoad keyword NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad BinOpSub NameLoad Num TupleLoad Num BinOpFloorDiv BinOpSub NameLoad Num Num BinOpMult NameLoad Num For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore IfExp Call NameLoad NameLoad NameLoad NameLoad TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd BinOpMult Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call Call NameLoad keyword NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad BinOpSub NameLoad Num TupleLoad Num BinOpFloorDiv BinOpSub NameLoad Num Num Assign NameStore ListLoad NameLoad NameLoad For NameStore NameLoad body For NameStore ListLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore IfExp Call NameLoad NameLoad NameLoad NameLoad TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call NameLoad NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Lambda arguments args defaults Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad For NameStore ListLoad BinOpAdd NameLoad Num TupleLoad Num BinOpAdd BinOpFloorDiv NameLoad Num Num body With Call AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BinOpAdd BinOpMult Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Num Num Num keyword AttributeLoad NameLoad attr AugAssignDiv NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpDiv Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call NameLoad keyword NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad Num AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num BinOpFloorDiv NameLoad Num Num keyword AttributeLoad NameLoad attr AugAssignDiv NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call NameLoad keyword NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad Num AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call Call NameLoad keyword NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad Num AttributeLoad NameLoad attr Assign NameStore TupleLoad Num Num Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num NameLoad For NameStore Call AttributeLoad NameLoad attr TupleLoad Num SubscriptLoad AttributeLoad NameLoad attr Index Num body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A __future__ print_function N/A collections N/A functools N/A math N/A os N/A random N/A subprocess N/A sys N/A numpy np N/A numba.unittest_support unittest numba jit _helperlib types numba.compiler compile_isolated numba.targets.randomimpl random_init support TestCase compile_function tag N/A N 624 N/A py_state_ptr N/A N/A _helperlib c_helpers N/A py_random_state N/A np_state_ptr N/A N/A _helperlib c_helpers N/A np_random_state numpy_randint1 N/A N/A a N/A N/A N/A N/A N/A N/A np random randint a N/A numpy_randint2 N/A N/A a b N/A N/A N/A N/A N/A N/A np random randint a b N/A random_randint N/A N/A a b N/A N/A N/A N/A N/A random randint a b N/A random_randrange1 N/A N/A a N/A N/A N/A N/A N/A random randrange a N/A random_randrange2 N/A N/A a b N/A N/A N/A N/A N/A random randrange a b N/A random_randrange3 N/A N/A a b c N/A N/A N/A N/A N/A random randrange a b c N/A numpy_choice1 N/A N/A a N/A N/A N/A N/A N/A N/A np random choice a N/A numpy_choice2 N/A N/A a size N/A N/A N/A N/A N/A N/A np random choice a size size N/A numpy_choice3 N/A N/A a size replace N/A N/A N/A N/A N/A N/A np random choice a size size replace replace N/A numpy_multinomial2 N/A N/A n pvals N/A N/A N/A N/A N/A N/A np random multinomial n pvals N/A numpy_multinomial3 N/A N/A n pvals size N/A N/A N/A N/A N/A N/A np random multinomial n pvals pvals size size N/A numpy_check_rand N/A N/A seed a b N/A N/A N/A N/A N/A N/A np random seed seed N/A expected N/A N/A N/A np random random N/A a b N/A N/A N/A N/A np random seed seed N/A got N/A N/A N/A np random rand a b N/A N/A expected got N/A numpy_check_randn N/A N/A seed a b N/A N/A N/A N/A N/A N/A np random seed seed N/A expected N/A N/A N/A np random standard_normal N/A a b N/A N/A N/A N/A np random seed seed N/A got N/A N/A N/A np random randn a b N/A N/A expected got N/A jit_with_args N/A N/A name argstring N/A N/A N/A code N/A def func(%(argstring)s):
        return %(name)s(%(argstring)s)
 N/A locals N/A pyfunc N/A compile_function func code N/A globals N/A N/A N/A jit nopython True pyfunc N/A jit_nullary N/A N/A name N/A N/A N/A N/A jit_with_args name N/A jit_unary N/A N/A name N/A N/A N/A N/A jit_with_args name a N/A jit_binary N/A N/A name N/A N/A N/A N/A jit_with_args name a, b N/A jit_ternary N/A N/A name N/A N/A N/A N/A jit_with_args name a, b, c N/A N/A random_gauss N/A jit_binary random.gauss N/A random_random N/A jit_nullary random.random N/A random_seed N/A jit_unary random.seed N/A numpy_normal N/A jit_binary np.random.normal N/A numpy_random N/A jit_nullary np.random.random N/A numpy_seed N/A jit_unary np.random.seed _copy_py_state N/A N/A r ptr N/A N/A N/A 
    Copy state of Python random *r* to Numba state *ptr*.
     N/A mt N/A N/A N/A r getstate N/A 1 N/A N/A ints index N/A N/A mt N/A -1 N/A mt N/A -1 N/A N/A N/A _helperlib rnd_set_state ptr N/A index N/A list ints N/A N/A ints index N/A _copy_np_state N/A N/A r ptr N/A N/A N/A 
    Copy state of Numpy random *r* to Numba state *ptr*.
     N/A N/A ints index N/A N/A N/A r get_state N/A 1 3 N/A N/A N/A _helperlib rnd_set_state ptr N/A index N/A N/A int x N/A x ints N/A N/A ints index N/A sync_to_numpy N/A N/A r N/A N/A N/A N/A _ver mt_st _gauss_next N/A N/A r getstate N/A mt_pos N/A mt_st N/A -1 N/A mt_ints N/A mt_st N/A -1 N/A N/A N/A len mt_ints 624 N/A np_st N/A MT19937 N/A N/A np array mt_ints dtype uint32 mt_pos N/A N/A _gauss_next None N/A N/A np_st N/A 0 0.0 N/A N/A np_st N/A 1 _gauss_next N/A N/A N/A N/A np random set_state np_st N/A py_chisquare N/A N/A r df N/A N/A N/A N/A 2.0 N/A N/A r gammavariate N/A df 2.0 1.0 N/A py_f N/A N/A r num denom N/A N/A N/A N/A N/A N/A py_chisquare r num denom N/A N/A py_chisquare r denom num N/A BaseTest N/A TestCase N/A _follow_cpython N/A N/A self ptr seed N/A 2 N/A N/A r N/A N/A random Random seed N/A N/A _copy_py_state r ptr N/A r N/A _follow_numpy N/A N/A self ptr seed N/A 2 N/A N/A r N/A N/A N/A np random RandomState seed N/A N/A _copy_np_state r ptr N/A r N/A N/A TestInternals N/A BaseTest N/A N/A 
    Test low-level internals of the implementation.
     _check_get_set_state N/A N/A self ptr N/A N/A N/A state N/A N/A _helperlib rnd_get_state ptr N/A N/A i ints state N/A N/A N/A self assertIsInstance i int N/A N/A N/A self assertIsInstance ints list N/A N/A N/A self assertEqual N/A len ints N N/A j N/A N/A i 100007 N N/A ints N/A N/A i 3 N/A i N/A range N N/A N/A N/A _helperlib rnd_set_state ptr N/A j ints N/A N/A N/A self assertEqual N/A N/A _helperlib rnd_get_state ptr N/A j ints N/A _check_shuffle N/A N/A self ptr N/A N/A N/A r N/A N/A random Random N/A N/A ints index N/A _copy_py_state r ptr N/A i N/A range index N/A N 1 2 N/A N/A N/A N/A r random N/A N/A N/A _helperlib rnd_shuffle ptr N/A mt N/A N/A N/A r getstate N/A 1 N/A N/A ints index N/A N/A mt N/A -1 N/A mt N/A -1 N/A N/A N/A self assertEqual N/A N/A N/A _helperlib rnd_get_state ptr N/A 1 N/A list ints N/A _check_init N/A N/A self ptr N/A N/A N/A r N/A N/A N/A np random RandomState N/A i N/A 0 1 125 N/A N/A 2 32 5 N/A N/A N/A N/A r seed N/A N/A np uint32 i N/A st N/A N/A r get_state N/A ints N/A list N/A st N/A 1 N/A index N/A st N/A 2 N/A N/A index N N/A N/A N/A _helperlib rnd_seed ptr i N/A N/A N/A self assertEqual N/A N/A _helperlib rnd_get_state ptr N/A index ints N/A _check_perturb N/A N/A self ptr N/A N/A N/A states N/A N/A i N/A range 10 N/A N/A N/A N/A _helperlib rnd_seed ptr 0 N/A N/A N/A _helperlib rnd_seed ptr N/A N/A os urandom 512 N/A N/A N/A states append N/A tuple N/A N/A N/A _helperlib rnd_get_state ptr N/A 1 N/A N/A N/A self assertEqual N/A len N/A set states N/A len states N/A test_get_set_state N/A N/A self N/A N/A N/A N/A N/A self _check_get_set_state py_state_ptr N/A test_shuffle N/A N/A self N/A N/A N/A N/A N/A self _check_shuffle py_state_ptr N/A test_init N/A N/A self N/A N/A N/A N/A N/A self _check_init py_state_ptr N/A test_perturb N/A N/A self N/A N/A N/A N/A N/A self _check_perturb py_state_ptr N/A N/A TestRandom N/A BaseTest N/A setUp N/A N/A self N/A N/A N/A N/A random_init N/A _check_random_seed N/A N/A self seedfunc randomfunc N/A N/A N/A 
        Check seed()- and random()-like functions.
         N/A r N/A N/A N/A np random RandomState N/A i N/A 0 1 125 N/A N/A 2 32 1 N/A N/A N/A N/A r seed N/A N/A np uint32 i N/A N/A seedfunc i N/A j N/A range N/A N 10 N/A N/A N/A N/A self assertPreciseEqual N/A randomfunc N/A N/A r uniform 0.0 1.0 N/A test_random_random N/A N/A self N/A N/A N/A N/A N/A self _check_random_seed random_seed random_random N/A N/A tag important test_numpy_random N/A N/A self N/A N/A N/A N/A N/A self _check_random_seed numpy_seed numpy_random N/A N/A N/A self _check_random_seed numpy_seed N/A jit_nullary np.random.random_sample N/A N/A N/A self _check_random_seed numpy_seed N/A jit_nullary np.random.ranf N/A N/A N/A self _check_random_seed numpy_seed N/A jit_nullary np.random.sample N/A N/A N/A self _check_random_seed numpy_seed N/A jit_nullary np.random.rand N/A N/A tag important test_independent_generators N/A N/A self N/A N/A N/A N 10 N/A N/A random_seed 1 N/A py_numbers N/A N/A random_random N/A i N/A range N N/A N/A numpy_seed 2 N/A np_numbers N/A N/A numpy_random N/A i N/A range N N/A N/A random_seed 1 N/A N/A numpy_seed 2 N/A pairs N/A N/A N/A random_random N/A numpy_random N/A i N/A range N N/A N/A N/A self assertPreciseEqual N/A N/A p N/A 0 N/A p pairs py_numbers N/A N/A N/A self assertPreciseEqual N/A N/A p N/A 1 N/A p pairs np_numbers N/A _check_getrandbits N/A N/A self func ptr N/A N/A N/A 
        Check a getrandbits()-like function.
         N/A r N/A N/A self _follow_cpython ptr N/A nbits N/A range 1 65 N/A N/A expected N/A N/A r getrandbits nbits N/A got N/A func nbits N/A N/A N/A self assertPreciseEqual expected got N/A N/A N/A self assertRaises OverflowError func 65 N/A N/A N/A self assertRaises OverflowError func 9999999 N/A N/A N/A self assertRaises OverflowError func -1 N/A test_random_getrandbits N/A N/A self N/A N/A N/A N/A N/A self _check_getrandbits N/A jit_unary random.getrandbits py_state_ptr N/A N/A tag important _check_dist N/A N/A self func pyfunc argslist niters prec ulps N/A 3 double 12 N/A N/A N/A len argslist N/A args argslist N/A N/A results N/A N/A func args N/A i N/A range niters N/A pyresults N/A N/A pyfunc args N/A i N/A range niters N/A N/A N/A self assertPreciseEqual results pyresults prec prec ulps ulps msg N/A for arguments %s N/A args N/A _check_gauss N/A N/A self func2 func1 func0 ptr N/A N/A N/A 
        Check a gauss()-like function.
         N/A r N/A N/A self _follow_numpy ptr N/A N/A func2 None N/A N/A N/A N/A self _check_dist func2 N/A r normal N/A N/A 1.0 1.0 N/A 2.0 0.5 N/A -2.0 0.5 niters N/A N/A N 2 10 N/A N/A func1 None N/A N/A N/A N/A self _check_dist func1 N/A r normal N/A N/A 0.5 N/A N/A func0 None N/A N/A N/A N/A self _check_dist func0 N/A r normal N/A N/A N/A test_random_gauss N/A N/A self N/A N/A N/A N/A N/A self _check_gauss N/A jit_binary random.gauss None None py_state_ptr N/A N/A tag important test_random_normalvariate N/A N/A self N/A N/A N/A N/A N/A self _check_gauss N/A jit_binary random.normalvariate None None py_state_ptr N/A test_numpy_normal N/A N/A self N/A N/A N/A N/A N/A self _check_gauss N/A jit_binary np.random.normal N/A jit_unary np.random.normal N/A jit_nullary np.random.normal np_state_ptr N/A N/A tag important test_numpy_standard_normal N/A N/A self N/A N/A N/A N/A N/A self _check_gauss None None N/A jit_nullary np.random.standard_normal np_state_ptr N/A N/A tag important test_numpy_randn N/A N/A self N/A N/A N/A N/A N/A self _check_gauss None None N/A jit_nullary np.random.randn np_state_ptr N/A N/A tag important _check_lognormvariate N/A N/A self func2 func1 func0 ptr N/A N/A N/A 
        Check a lognormvariate()-like function.
         N/A r N/A N/A self _follow_numpy ptr N/A N/A func2 None N/A N/A N/A N/A self _check_dist func2 N/A r lognormal N/A N/A 1.0 1.0 N/A 2.0 0.5 N/A -2.0 0.5 niters N/A N/A N 2 10 N/A N/A func1 None N/A N/A N/A N/A self _check_dist func1 N/A r lognormal N/A N/A 0.5 N/A N/A func0 None N/A N/A N/A N/A self _check_dist func0 N/A r lognormal N/A N/A N/A test_random_lognormvariate N/A N/A self N/A N/A N/A N/A N/A self _check_lognormvariate N/A jit_binary random.lognormvariate None None py_state_ptr N/A test_numpy_lognormal N/A N/A self N/A N/A N/A N/A N/A self _check_lognormvariate N/A jit_binary np.random.lognormal N/A jit_unary np.random.lognormal N/A jit_nullary np.random.lognormal np_state_ptr N/A _check_randrange N/A N/A self func1 func2 func3 ptr max_width N/A N/A N/A 
        Check a randrange()-like function.
         N/A ints N/A N/A i N/A range 10 N/A N/A N/A N/A ints append N/A func1 500000000 N/A N/A N/A ints append N/A func2 5 500000000 N/A N/A func3 None N/A N/A N/A N/A ints append N/A func3 5 500000000 3 N/A N/A N/A self assertEqual N/A len ints N/A len N/A set ints ints N/A N/A N/A sys version_info N/A 3 N/A N/A r N/A N/A self _follow_cpython ptr N/A widths N/A w N/A w N/A 1 5 5000 N/A N/A 2 62 N/A 2 61 N/A w max_width N/A width widths N/A N/A N/A N/A self _check_dist func1 N/A r randrange N/A N/A width niters 10 N/A N/A N/A self _check_dist func2 N/A r randrange N/A N/A -2 N/A 2 width niters 10 N/A N/A func3 None N/A N/A N/A N/A self assertPreciseEqual N/A func3 -2 N/A 2 width 6 N/A N/A r randrange -2 N/A 2 width 6 N/A N/A N/A self assertPreciseEqual N/A func3 N/A 2 width 2 -3 N/A N/A r randrange N/A 2 width 2 -3 N/A N/A N/A self assertRaises ValueError func1 0 N/A N/A N/A self assertRaises ValueError func1 -5 N/A N/A N/A self assertRaises ValueError func2 5 5 N/A N/A N/A self assertRaises ValueError func2 5 2 N/A N/A func3 None N/A N/A N/A N/A self assertRaises ValueError func3 5 7 -1 N/A N/A N/A self assertRaises ValueError func3 7 5 1 N/A test_random_randrange N/A N/A self N/A N/A N/A N/A tp max_width N/A N/A N/A types int64 N/A 2 63 N/A N/A types int32 N/A 2 31 N/A N/A cr1 N/A compile_isolated random_randrange1 N/A tp N/A cr2 N/A compile_isolated random_randrange2 N/A tp tp N/A cr3 N/A compile_isolated random_randrange3 N/A tp tp tp N/A N/A N/A self _check_randrange N/A cr1 entry_point N/A cr2 entry_point N/A cr3 entry_point py_state_ptr max_width N/A N/A tag important test_numpy_randint N/A N/A self N/A N/A N/A N/A tp max_width N/A N/A N/A types int64 N/A 2 63 N/A N/A types int32 N/A 2 31 N/A N/A cr1 N/A compile_isolated numpy_randint1 N/A tp N/A cr2 N/A compile_isolated numpy_randint2 N/A tp tp N/A N/A N/A self _check_randrange N/A cr1 entry_point N/A cr2 entry_point None np_state_ptr max_width N/A N/A tag important _check_randint N/A N/A self func ptr max_width N/A N/A N/A 
        Check a randint()-like function.
         N/A ints N/A N/A i N/A range 10 N/A N/A N/A N/A ints append N/A func 5 500000000 N/A N/A N/A self assertEqual N/A len ints N/A len N/A set ints ints N/A N/A N/A sys version_info N/A 3 N/A N/A r N/A N/A self _follow_cpython ptr N/A args N/A N/A 1 5 N/A 13 5000 N/A 20 N/A N/A 2 62 N/A 2 61 N/A N/A N/A N/A args N/A 1 max_width N/A N/A N/A N/A N/A self _check_dist func N/A r randint N/A args niters 10 N/A N/A N/A self assertRaises ValueError func 5 4 N/A N/A N/A self assertRaises ValueError func 5 2 N/A test_random_randint N/A N/A self N/A N/A N/A N/A tp max_width N/A N/A N/A types int64 N/A 2 63 N/A N/A types int32 N/A 2 31 N/A N/A cr N/A compile_isolated random_randint N/A tp tp N/A N/A N/A self _check_randint N/A cr entry_point py_state_ptr max_width N/A N/A tag important _check_uniform N/A N/A self func ptr N/A N/A N/A 
        Check a uniform()-like function.
         N/A r N/A N/A self _follow_cpython ptr N/A N/A N/A self _check_dist func N/A r uniform N/A N/A 1.5 1000000.0 N/A -2.5 1000.0 N/A 1.5 -2.5 N/A test_random_uniform N/A N/A self N/A N/A N/A N/A N/A self _check_uniform N/A jit_binary random.uniform py_state_ptr N/A N/A tag important test_numpy_uniform N/A N/A self N/A N/A N/A N/A N/A self _check_uniform N/A jit_binary np.random.uniform np_state_ptr N/A N/A tag important _check_triangular N/A N/A self func2 func3 ptr N/A N/A N/A 
        Check a triangular()-like function.
         N/A r N/A N/A self _follow_cpython ptr N/A N/A func2 None N/A N/A N/A N/A self _check_dist func2 N/A r triangular N/A N/A 1.5 3.5 N/A -2.5 1.5 N/A 1.5 1.5 N/A N/A N/A self _check_dist func3 N/A r triangular N/A N/A 1.5 3.5 2.2 N/A test_random_triangular N/A N/A self N/A N/A N/A N/A N/A self _check_triangular N/A jit_binary random.triangular N/A jit_ternary random.triangular py_state_ptr N/A test_numpy_triangular N/A N/A self N/A N/A N/A triangular N/A jit_ternary np.random.triangular N/A fixed_triangular N/A N/A N/A l r m N/A N/A triangular l m r N/A N/A N/A self _check_triangular None fixed_triangular np_state_ptr N/A _check_gammavariate N/A N/A self func2 func1 ptr N/A N/A N/A 
        Check a gammavariate()-like function.
         N/A r N/A N/A self _follow_cpython ptr N/A N/A func2 None N/A N/A N/A N/A self _check_dist func2 N/A r gammavariate N/A N/A 0.5 2.5 N/A 1.0 1.5 N/A 1.5 3.5 N/A N/A func1 None N/A N/A N/A N/A self assertPreciseEqual N/A func1 1.5 N/A N/A r gammavariate 1.5 1.0 N/A N/A func2 None N/A N/A N/A N/A self assertRaises ValueError func2 0.0 1.0 N/A N/A N/A self assertRaises ValueError func2 1.0 0.0 N/A N/A N/A self assertRaises ValueError func2 -0.5 1.0 N/A N/A N/A self assertRaises ValueError func2 1.0 -0.5 N/A N/A func1 None N/A N/A N/A N/A self assertRaises ValueError func1 0.0 N/A N/A N/A self assertRaises ValueError func1 -0.5 N/A test_random_gammavariate N/A N/A self N/A N/A N/A N/A N/A self _check_gammavariate N/A jit_binary random.gammavariate None py_state_ptr N/A test_numpy_gamma N/A N/A self N/A N/A N/A N/A N/A self _check_gammavariate N/A jit_binary np.random.gamma N/A jit_unary np.random.gamma np_state_ptr N/A N/A N/A self _check_gammavariate None N/A jit_unary np.random.standard_gamma np_state_ptr N/A _check_betavariate N/A N/A self func ptr N/A N/A N/A 
        Check a betavariate()-like function.
         N/A r N/A N/A self _follow_cpython ptr N/A N/A N/A self _check_dist func N/A r betavariate N/A N/A 0.5 2.5 N/A N/A N/A self assertRaises ValueError func 0.0 1.0 N/A N/A N/A self assertRaises ValueError func 1.0 0.0 N/A N/A N/A self assertRaises ValueError func -0.5 1.0 N/A N/A N/A self assertRaises ValueError func 1.0 -0.5 N/A test_random_betavariate N/A N/A self N/A N/A N/A N/A N/A self _check_betavariate N/A jit_binary random.betavariate py_state_ptr N/A test_numpy_beta N/A N/A self N/A N/A N/A N/A N/A self _check_betavariate N/A jit_binary np.random.beta np_state_ptr N/A _check_vonmisesvariate N/A N/A self func ptr N/A N/A N/A 
        Check a vonmisesvariate()-like function.
         N/A r N/A N/A self _follow_cpython ptr N/A N/A N/A self _check_dist func N/A r vonmisesvariate N/A N/A 0.5 2.5 N/A test_random_vonmisesvariate N/A N/A self N/A N/A N/A N/A N/A self _check_vonmisesvariate N/A jit_binary random.vonmisesvariate py_state_ptr N/A test_numpy_vonmises N/A N/A self N/A N/A N/A N/A N/A self _check_vonmisesvariate N/A jit_binary np.random.vonmises np_state_ptr N/A _check_expovariate N/A N/A self func ptr N/A N/A N/A 
        Check a expovariate()-like function.  Note the second argument
        is inversed compared to np.random.exponential().
         N/A r N/A N/A self _follow_numpy ptr N/A lambd N/A 0.2 0.5 1.5 N/A N/A i N/A range 3 N/A N/A N/A N/A self assertPreciseEqual N/A func lambd N/A N/A r exponential N/A 1 lambd prec double N/A test_random_expovariate N/A N/A self N/A N/A N/A N/A N/A self _check_expovariate N/A jit_unary random.expovariate py_state_ptr N/A _check_exponential N/A N/A self func1 func0 ptr N/A N/A N/A 
        Check a exponential()-like function.
         N/A r N/A N/A self _follow_numpy ptr N/A N/A func1 None N/A N/A N/A N/A self _check_dist func1 N/A r exponential N/A N/A 0.5 N/A 1.0 N/A 1.5 N/A N/A func0 None N/A N/A N/A N/A self _check_dist func0 N/A r exponential N/A N/A N/A test_numpy_exponential N/A N/A self N/A N/A N/A N/A N/A self _check_exponential N/A jit_unary np.random.exponential N/A jit_nullary np.random.exponential np_state_ptr N/A test_numpy_standard_exponential N/A N/A self N/A N/A N/A N/A N/A self _check_exponential None N/A jit_nullary np.random.standard_exponential np_state_ptr N/A _check_paretovariate N/A N/A self func ptr N/A N/A N/A 
        Check a paretovariate()-like function.
         N/A r N/A N/A self _follow_cpython ptr N/A N/A N/A self _check_dist func N/A r paretovariate N/A N/A 0.5 N/A 3.5 N/A test_random_paretovariate N/A N/A self N/A N/A N/A N/A N/A self _check_paretovariate N/A jit_unary random.paretovariate py_state_ptr N/A test_numpy_pareto N/A N/A self N/A N/A N/A pareto N/A jit_unary np.random.pareto N/A fixed_pareto N/A N/A N/A a N/A N/A N/A pareto a 1.0 N/A N/A N/A self _check_paretovariate fixed_pareto np_state_ptr N/A _check_weibullvariate N/A N/A self func2 func1 ptr N/A N/A N/A 
        Check a weibullvariate()-like function.
         N/A r N/A N/A self _follow_cpython ptr N/A N/A func2 None N/A N/A N/A N/A self _check_dist func2 N/A r weibullvariate N/A N/A 0.5 2.5 N/A N/A func1 None N/A N/A i N/A range 3 N/A N/A N/A N/A self assertPreciseEqual N/A func1 2.5 N/A N/A r weibullvariate 1.0 2.5 N/A test_random_weibullvariate N/A N/A self N/A N/A N/A N/A N/A self _check_weibullvariate N/A jit_binary random.weibullvariate None py_state_ptr N/A test_numpy_weibull N/A N/A self N/A N/A N/A N/A N/A self _check_weibullvariate None N/A jit_unary np.random.weibull np_state_ptr N/A test_numpy_binomial N/A N/A self N/A N/A N/A binomial N/A jit_binary np.random.binomial N/A r N/A N/A self _follow_numpy np_state_ptr 0 N/A N/A N/A self _check_dist binomial N/A r binomial N/A N/A 18 0.25 N/A n N/A 100 1000 10000 N/A N/A N/A N/A self assertEqual N/A binomial n 0.0 0 N/A N/A N/A self assertEqual N/A binomial n 1.0 n N/A p N/A 0.0001 0.1 0.4 0.49999 0.5 0.50001 0.8 0.9 0.9999 N/A N/A r N/A binomial n p N/A N/A p 0.5 N/A N/A r N/A n r N/A p N/A 1 p N/A N/A N/A self assertGreaterEqual r 0 N/A N/A N/A self assertLessEqual r n N/A expected N/A p n N/A tol N/A N/A 3 n N/A N/A math sqrt n N/A N/A N/A self assertGreaterEqual r N/A expected tol N/A p n r N/A N/A N/A self assertLessEqual r N/A expected tol N/A p n r N/A N/A N/A self assertRaises ValueError binomial -1 0.5 N/A N/A N/A self assertRaises ValueError binomial 10 -0.1 N/A N/A N/A self assertRaises ValueError binomial 10 1.1 N/A N/A tag important test_numpy_chisquare N/A N/A self N/A N/A N/A chisquare N/A jit_unary np.random.chisquare N/A r N/A N/A self _follow_cpython np_state_ptr N/A N/A N/A self _check_dist chisquare N/A N/A functools partial py_chisquare r N/A N/A 1.5 N/A 2.5 N/A N/A tag important test_numpy_f N/A N/A self N/A N/A N/A f N/A jit_binary np.random.f N/A r N/A N/A self _follow_cpython np_state_ptr N/A N/A N/A self _check_dist f N/A N/A functools partial py_f r N/A N/A 0.5 1.5 N/A 1.5 0.8 N/A test_numpy_geometric N/A N/A self N/A N/A N/A geom N/A jit_unary np.random.geometric N/A N/A N/A self assertRaises ValueError geom -1.0 N/A N/A N/A self assertRaises ValueError geom 0.0 N/A N/A N/A self assertRaises ValueError geom 1.001 N/A N 200 N/A r N/A N/A geom 1.0 N/A i N/A range N N/A N/A N/A self assertPreciseEqual r N/A N/A 1 N N/A r N/A N/A geom 0.9 N/A i N/A range N N/A n N/A N/A r count 1 N/A N/A N/A self assertGreaterEqual n N/A N 2 N/A N/A N/A self assertLess n N N/A N/A N/A self assertFalse N/A i N/A i r N/A i 1000 N/A r N/A N/A geom 0.4 N/A i N/A range N N/A N/A N/A self assertTrue N/A i N/A i r N/A i 4 N/A r N/A N/A geom 0.01 N/A i N/A range N N/A N/A N/A self assertTrue N/A i N/A i r N/A i 50 N/A r N/A N/A geom 1e-15 N/A i N/A range N N/A N/A N/A self assertTrue N/A i N/A i r N/A i N/A 2 32 N/A test_numpy_gumbel N/A N/A self N/A N/A N/A gumbel N/A jit_binary np.random.gumbel N/A r N/A N/A self _follow_numpy np_state_ptr N/A N/A N/A self _check_dist gumbel N/A r gumbel N/A N/A 0.0 1.0 N/A -1.5 3.5 N/A test_numpy_hypergeometric N/A N/A self N/A N/A N/A hg N/A jit_ternary np.random.hypergeometric N/A r N/A N/A self _follow_numpy np_state_ptr N/A N/A N/A self _check_dist hg N/A r hypergeometric N/A N/A 1000 5000 10 N/A 5000 1000 10 niters 30 N/A r N/A N/A hg 1000 1000 100 N/A i N/A range 100 N/A N/A N/A self assertTrue N/A all N/A N/A N/A x 0 N/A x 100 N/A x r r N/A N/A N/A self assertGreaterEqual N/A N/A np mean r 40.0 N/A N/A N/A self assertLessEqual N/A N/A np mean r 60.0 N/A r N/A N/A hg 1000 100000 100 N/A i N/A range 100 N/A N/A N/A self assertTrue N/A all N/A N/A N/A x 0 N/A x 100 N/A x r r N/A N/A N/A self assertLessEqual N/A N/A np mean r 10.0 N/A r N/A N/A hg 100000 1000 100 N/A i N/A range 100 N/A N/A N/A self assertTrue N/A all N/A N/A N/A x 0 N/A x 100 N/A x r r N/A N/A N/A self assertGreaterEqual N/A N/A np mean r 90.0 N/A test_numpy_laplace N/A N/A self N/A N/A N/A r N/A N/A self _follow_numpy np_state_ptr N/A N/A N/A self _check_dist N/A jit_binary np.random.laplace N/A r laplace N/A N/A 0.0 1.0 N/A -1.5 3.5 N/A N/A N/A self _check_dist N/A jit_unary np.random.laplace N/A r laplace N/A N/A 0.0 N/A -1.5 N/A N/A N/A self _check_dist N/A jit_nullary np.random.laplace N/A r laplace N/A N/A N/A test_numpy_logistic N/A N/A self N/A N/A N/A r N/A N/A self _follow_numpy np_state_ptr N/A N/A N/A self _check_dist N/A jit_binary np.random.logistic N/A r logistic N/A N/A 0.0 1.0 N/A -1.5 3.5 N/A N/A N/A self _check_dist N/A jit_unary np.random.logistic N/A r logistic N/A N/A 0.0 N/A -1.5 N/A N/A N/A self _check_dist N/A jit_nullary np.random.logistic N/A r logistic N/A N/A N/A N/A tag important test_numpy_logseries N/A N/A self N/A N/A N/A r N/A N/A self _follow_numpy np_state_ptr N/A logseries N/A jit_unary np.random.logseries N/A N/A N/A self _check_dist logseries N/A r logseries N/A N/A 0.1 N/A 0.99 N/A 0.9999 niters 50 N/A r N/A N/A self _follow_numpy np_state_ptr seed 1 N/A N/A N/A self assertEqual N/A N/A logseries 1.0 N/A i N/A range 10 N/A 2022733531 77296 30 52204 9341294 703057324 413147702918 1870715907 16009330 738 N/A N/A N/A self assertRaises ValueError logseries 0.0 N/A N/A N/A self assertRaises ValueError logseries -0.1 N/A N/A N/A self assertRaises ValueError logseries 1.1 N/A test_numpy_poisson N/A N/A self N/A N/A N/A r N/A N/A self _follow_numpy np_state_ptr N/A poisson N/A jit_unary np.random.poisson N/A N/A N/A self _check_dist poisson N/A r poisson N/A N/A 0.0 N/A 0.5 N/A 2.0 N/A 10.0 N/A 900.5 niters 50 N/A N/A N/A self assertRaises ValueError poisson -0.1 N/A test_numpy_negative_binomial N/A N/A self N/A N/A N/A N/A N/A self _follow_numpy np_state_ptr 0 N/A negbin N/A jit_binary np.random.negative_binomial N/A N/A N/A self assertEqual N/A N/A negbin 10 0.9 N/A i N/A range 10 N/A 2 3 1 5 2 1 0 1 0 0 N/A N/A N/A self assertEqual N/A N/A negbin 10 0.1 N/A i N/A range 10 N/A 55 71 56 57 56 56 34 55 101 67 N/A N/A N/A self assertEqual N/A N/A negbin 1000 0.1 N/A i N/A range 10 N/A 9203 8640 9081 9292 8938 9165 9149 8774 8886 9117 N/A m N/A N/A np mean N/A N/A negbin 1000000000 0.1 N/A i N/A range 50 N/A N/A N/A self assertGreater m N/A 9000000000.0 0.99 N/A N/A N/A self assertLess m N/A 9000000000.0 1.01 N/A N/A N/A self assertRaises ValueError negbin 0 0.5 N/A N/A N/A self assertRaises ValueError negbin -1 0.5 N/A N/A N/A self assertRaises ValueError negbin 10 -0.1 N/A N/A N/A self assertRaises ValueError negbin 10 1.1 N/A test_numpy_power N/A N/A self N/A N/A N/A r N/A N/A self _follow_numpy np_state_ptr N/A power N/A jit_unary np.random.power N/A N/A N/A self _check_dist power N/A r power N/A N/A 0.1 N/A 0.5 N/A 0.9 N/A 6.0 N/A N/A N/A self assertRaises ValueError power 0.0 N/A N/A N/A self assertRaises ValueError power -0.1 N/A N/A tag important test_numpy_rayleigh N/A N/A self N/A N/A N/A r N/A N/A self _follow_numpy np_state_ptr N/A rayleigh1 N/A jit_unary np.random.rayleigh N/A rayleigh0 N/A jit_nullary np.random.rayleigh N/A N/A N/A self _check_dist rayleigh1 N/A r rayleigh N/A N/A 0.1 N/A 0.8 N/A 25.0 N/A 1000.0 N/A N/A N/A self _check_dist rayleigh0 N/A r rayleigh N/A N/A N/A N/A N/A self assertRaises ValueError rayleigh1 0.0 N/A N/A N/A self assertRaises ValueError rayleigh1 -0.1 N/A test_numpy_standard_cauchy N/A N/A self N/A N/A N/A r N/A N/A self _follow_numpy np_state_ptr N/A cauchy N/A jit_nullary np.random.standard_cauchy N/A N/A N/A self _check_dist cauchy N/A r standard_cauchy N/A N/A N/A test_numpy_standard_t N/A N/A self N/A N/A N/A r N/A N/A self _follow_cpython np_state_ptr N/A standard_t N/A jit_unary np.random.standard_t N/A avg N/A N/A np mean N/A N/A standard_t 5 N/A i N/A range 5000 N/A N/A N/A self assertLess N/A abs avg 0.5 N/A test_numpy_wald N/A N/A self N/A N/A N/A r N/A N/A self _follow_numpy np_state_ptr N/A wald N/A jit_binary np.random.wald N/A N/A N/A self _check_dist wald N/A r wald N/A N/A 1.0 1.0 N/A 2.0 5.0 N/A N/A N/A self assertRaises ValueError wald 0.0 1.0 N/A N/A N/A self assertRaises ValueError wald -0.1 1.0 N/A N/A N/A self assertRaises ValueError wald 1.0 0.0 N/A N/A N/A self assertRaises ValueError wald 1.0 -0.1 N/A test_numpy_zipf N/A N/A self N/A N/A N/A r N/A N/A self _follow_numpy np_state_ptr N/A zipf N/A jit_unary np.random.zipf N/A N/A N/A self _check_dist zipf N/A r zipf N/A N/A 1.5 N/A 2.5 niters 100 N/A val N/A 1.0 0.5 0.0 -0.1 N/A N/A N/A N/A self assertRaises ValueError zipf val N/A _check_shuffle N/A N/A self func ptr N/A N/A N/A 
        Check a shuffle()-like function for 1D arrays.
         N/A a N/A N/A np arange 20 N/A N/A N/A sys version_info N/A 3 N/A N/A r N/A N/A self _follow_cpython ptr N/A i N/A range 3 N/A N/A got N/A N/A a copy N/A expected N/A N/A a copy N/A N/A func got N/A N/A N/A r shuffle expected N/A N/A N/A self assertTrue N/A N/A np all N/A got expected N/A got expected N/A N/A i N/A range 3 N/A N/A b N/A N/A a copy N/A N/A func b N/A N/A N/A self assertFalse N/A N/A np all N/A a b N/A N/A N/A self assertEqual N/A sorted a N/A sorted b N/A a b N/A b N/A N/A a copy N/A N/A func N/A memoryview b N/A N/A N/A self assertFalse N/A N/A np all N/A a b N/A N/A N/A self assertEqual N/A sorted a N/A sorted b N/A N/A N/A self assertTypingError N/A N/A N/A func N/A memoryview xyz N/A test_random_shuffle N/A N/A self N/A N/A N/A N/A N/A self _check_shuffle N/A jit_unary random.shuffle py_state_ptr N/A N/A tag important test_numpy_shuffle N/A N/A self N/A N/A N/A N/A N/A self _check_shuffle N/A jit_unary np.random.shuffle np_state_ptr N/A N/A tag important _check_startup_randomness N/A N/A self func_name func_args N/A N/A N/A 
        Check that the state is properly randomized at startup.
         N/A code N/A if 1:
            from numba.tests import test_random
            func = getattr(test_random, %(func_name)r)
            print(func(*%(func_args)r))
             N/A locals N/A numbers N/A set N/A i N/A range 3 N/A N/A popen N/A N/A subprocess Popen N/A N/A sys executable -c code stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A out err N/A N/A popen communicate N/A N/A N/A popen returncode 0 N/A N/A N/A AssertionError N/A process failed with code %s: stderr follows
%s
 N/A N/A popen returncode N/A N/A err decode N/A N/A N/A numbers add N/A float N/A N/A out strip N/A N/A N/A self assertEqual N/A len numbers 3 numbers N/A test_random_random_startup N/A N/A self N/A N/A N/A N/A N/A self _check_startup_randomness random_random N/A N/A test_random_gauss_startup N/A N/A self N/A N/A N/A N/A N/A self _check_startup_randomness random_gauss N/A 1.0 1.0 N/A test_numpy_random_startup N/A N/A self N/A N/A N/A N/A N/A self _check_startup_randomness numpy_random N/A N/A test_numpy_gauss_startup N/A N/A self N/A N/A N/A N/A N/A self _check_startup_randomness numpy_normal N/A 1.0 1.0 N/A N/A TestRandomArrays N/A BaseTest N/A N/A 
    Test array-producing variants of np.random.* functions.
     setUp N/A N/A self N/A N/A N/A N/A random_init N/A _compile_array_dist N/A N/A self funcname nargs N/A N/A N/A qualname N/A np.random.%s N/A funcname N/A argstring N/A N/A ,  join N/A abcd N/A nargs N/A N/A jit_with_args qualname argstring N/A _check_array_dist N/A N/A self funcname scalar_args N/A N/A N/A 
        Check returning an array according to a given distribution.
         N/A cfunc N/A N/A self _compile_array_dist funcname N/A N/A len scalar_args 1 N/A r N/A N/A self _follow_numpy np_state_ptr N/A pyfunc N/A getattr r funcname N/A size N/A 8 N/A 2 3 N/A N/A args N/A scalar_args N/A size N/A expected N/A pyfunc args N/A got N/A cfunc args N/A N/A N/A N/A expected dtype N/A N/A np dtype int32 N/A N/A got dtype N/A N/A np dtype int64 N/A N/A expected N/A N/A expected astype N/A got dtype N/A N/A N/A self assertPreciseEqual expected got prec double ulps 5 N/A test_numpy_randint N/A N/A self N/A N/A N/A cfunc N/A N/A self _compile_array_dist randint 3 N/A N/A low high N/A 1000 10000 N/A size N/A 30 30 N/A res N/A cfunc low high size N/A N/A N/A self assertIsInstance res N/A np ndarray N/A N/A N/A self assertEqual N/A res shape size N/A N/A N/A self assertIn N/A res dtype N/A N/A N/A np dtype int32 N/A N/A np dtype int64 N/A N/A N/A self assertTrue N/A N/A np all N/A res low N/A N/A N/A self assertTrue N/A N/A np all N/A res high N/A mean N/A N/A low high 2 N/A tol N/A N/A high low 20 N/A N/A N/A self assertGreaterEqual N/A N/A res mean N/A mean tol N/A N/A N/A self assertLessEqual N/A N/A res mean N/A mean tol N/A test_numpy_random_random N/A N/A self N/A N/A N/A cfunc N/A N/A self _compile_array_dist random 1 N/A size N/A 30 30 N/A res N/A cfunc size N/A N/A N/A self assertIsInstance res N/A np ndarray N/A N/A N/A self assertEqual N/A res shape size N/A N/A N/A self assertEqual N/A res dtype N/A N/A np dtype float64 N/A N/A N/A self assertTrue N/A N/A np all N/A res 0.0 N/A N/A N/A self assertTrue N/A N/A np all N/A res 1.0 N/A N/A N/A self assertTrue N/A N/A np any N/A res 0.1 N/A N/A N/A self assertTrue N/A N/A np any N/A res 0.9 N/A mean N/A N/A res mean N/A N/A N/A self assertGreaterEqual mean 0.45 N/A N/A N/A self assertLessEqual mean 0.55 N/A test_numpy_binomial N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist binomial N/A 20 0.5 N/A test_numpy_exponential N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist exponential N/A 1.5 N/A test_numpy_gumbel N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist gumbel N/A 1.5 0.5 N/A test_numpy_laplace N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist laplace N/A 1.5 0.5 N/A test_numpy_logistic N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist logistic N/A 1.5 0.5 N/A test_numpy_lognormal N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist lognormal N/A 1.5 2.0 N/A test_numpy_logseries N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist logseries N/A 0.8 N/A test_numpy_normal N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist normal N/A 0.5 2.0 N/A N/A tag important test_numpy_poisson N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist poisson N/A 0.8 N/A test_numpy_power N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist power N/A 0.8 N/A test_numpy_rand N/A N/A self N/A N/A N/A cfunc N/A N/A jit nopython True numpy_check_rand N/A N/A expected got N/A cfunc 42 2 3 N/A N/A N/A self assertEqual N/A got shape N/A 2 3 N/A N/A N/A self assertPreciseEqual expected got N/A N/A tag important test_numpy_randn N/A N/A self N/A N/A N/A cfunc N/A N/A jit nopython True numpy_check_randn N/A N/A expected got N/A cfunc 42 2 3 N/A N/A N/A self assertEqual N/A got shape N/A 2 3 N/A N/A N/A self assertPreciseEqual expected got N/A N/A tag important test_numpy_rayleigh N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist rayleigh N/A 0.8 N/A test_numpy_standard_cauchy N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist standard_cauchy N/A N/A test_numpy_standard_exponential N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist standard_exponential N/A N/A test_numpy_standard_normal N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist standard_normal N/A N/A test_numpy_uniform N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist uniform N/A 0.1 0.4 N/A test_numpy_wald N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist wald N/A 0.1 0.4 N/A test_numpy_zipf N/A N/A self N/A N/A N/A N/A N/A self _check_array_dist zipf N/A 2.5 N/A N/A TestRandomChoice N/A BaseTest N/A N/A 
    Test np.random.choice.
     setUp N/A N/A self N/A N/A N/A N/A random_init N/A _check_results N/A N/A self pop res replace N/A True N/A N/A 
        Check basic expectations about a batch of samples.
         N/A spop N/A set pop N/A sres N/A set res N/A N/A N/A self assertLessEqual sres spop N/A N/A N/A self assertNotEqual N/A sorted res N/A list res N/A replace N/A N/A N/A N/A self assertLess N/A len sres N/A len res res N/A N/A N/A N/A self assertEqual N/A len sres N/A len res res N/A _check_dist N/A N/A self pop samples N/A N/A N/A 
        Check distribution of some samples.
         N/A N/A N/A self assertGreaterEqual N/A len samples N/A N/A len pop 100 N/A expected_frequency N/A N/A len samples N/A len pop N/A c N/A N/A collections Counter samples N/A value pop N/A N/A n N/A c N/A value N/A N/A N/A self assertGreaterEqual n N/A expected_frequency 0.5 N/A N/A N/A self assertLessEqual n N/A expected_frequency 2.0 N/A _accumulate_array_results N/A N/A self func nresults N/A N/A N/A 
        Accumulate array results produced by *func* until they reach
        *nresults* elements.
         N/A res N/A N/A N/A N/A len res nresults N/A N/A res N/A list N/A N/A func flat N/A N/A res N/A nresults N/A _check_choice_1 N/A N/A self a pop N/A N/A N/A 
        Check choice(a) against pop.
         N/A cfunc N/A N/A jit nopython True numpy_choice1 N/A n N/A len pop N/A res N/A N/A cfunc a N/A i N/A range n N/A N/A N/A self _check_results pop res N/A dist N/A N/A cfunc a N/A i N/A range N/A n 100 N/A N/A N/A self _check_dist pop dist N/A test_choice_scalar_1 N/A N/A self N/A N/A N/A 
        Test choice(int)
         N/A n 50 N/A pop N/A list N/A range n N/A N/A N/A self _check_choice_1 n pop N/A test_choice_array_1 N/A N/A self N/A N/A N/A 
        Test choice(array)
         N/A pop N/A N/A N/A N/A np arange 50 2 100 N/A N/A N/A self _check_choice_1 pop pop N/A _check_array_results N/A N/A self func pop replace N/A True N/A N/A 
        Check array results produced by *func* and their distribution.
         N/A n N/A len pop N/A res N/A list N/A N/A func flat N/A N/A N/A self _check_results pop res replace N/A dist N/A N/A self _accumulate_array_results func N/A n 100 N/A N/A N/A self _check_dist pop dist N/A _check_choice_2 N/A N/A self a pop N/A N/A N/A 
        Check choice(a, size) against pop.
         N/A cfunc N/A N/A jit nopython True numpy_choice2 N/A n N/A len pop N/A sizes N/A N/A n 10 N/A 3 N/A N/A n 1 3 N/A n 10 N/A size sizes N/A N/A res N/A cfunc a size N/A expected_shape N/A N/A isinstance size tuple size N/A size N/A N/A N/A self assertEqual N/A res shape expected_shape N/A N/A N/A self _check_array_results N/A N/A N/A N/A N/A cfunc a size pop N/A test_choice_scalar_2 N/A N/A self N/A N/A N/A 
        Test choice(int, size)
         N/A n 50 N/A pop N/A N/A np arange n N/A N/A N/A self _check_choice_2 n pop N/A test_choice_array_2 N/A N/A self N/A N/A N/A 
        Test choice(array, size)
         N/A pop N/A N/A N/A N/A np arange 50 2 100 N/A N/A N/A self _check_choice_2 pop pop N/A _check_choice_3 N/A N/A self a pop N/A N/A N/A 
        Check choice(a, size, replace) against pop.
         N/A cfunc N/A N/A jit nopython True numpy_choice3 N/A n N/A len pop N/A sizes N/A N/A n 10 N/A 3 N/A N/A n 1 3 N/A replaces N/A True False N/A size sizes N/A N/A replace N/A True False N/A N/A res N/A cfunc a size replace N/A expected_shape N/A N/A isinstance size tuple size N/A size N/A N/A N/A self assertEqual N/A res shape expected_shape N/A size sizes N/A N/A N/A N/A self _check_array_results N/A N/A N/A N/A N/A cfunc a size True pop N/A size sizes N/A N/A N/A N/A self _check_array_results N/A N/A N/A N/A N/A cfunc a size False pop False N/A size N/A N/A n 1 N/A 3 N/A N/A n 3 1 N/A N/A N/A N/A self assertRaises ValueError N/A N/A N/A cfunc a size False N/A test_choice_scalar_3 N/A N/A self N/A N/A N/A 
        Test choice(int, size, replace)
         N/A n 50 N/A pop N/A N/A np arange n N/A N/A N/A self _check_choice_3 n pop N/A test_choice_array_3 N/A N/A self N/A N/A N/A 
        Test choice(array, size, replace)
         N/A pop N/A N/A N/A N/A np arange 50 2 100 N/A N/A N/A self _check_choice_3 pop pop N/A N/A TestRandomMultinomial N/A BaseTest N/A N/A 
    Test np.random.multinomial.
     N/A pvals N/A N/A np array N/A 1 1 1 2 3 1 dtype N/A np float64 N/A pvals N/A N/A pvals sum setUp N/A N/A self N/A N/A N/A N/A random_init N/A _check_sample N/A N/A self n pvals sample N/A N/A N/A 
        Check distribution of some samples.
         N/A N/A N/A self assertIsInstance sample N/A np ndarray N/A N/A N/A self assertEqual N/A sample shape N/A N/A len pvals N/A N/A N/A self assertIn N/A sample dtype N/A N/A N/A np dtype int32 N/A N/A np dtype int64 N/A N/A N/A self assertEqual N/A N/A sample sum n N/A N/A p nexp N/A zip pvals sample N/A N/A N/A N/A self assertGreaterEqual nexp 0 N/A N/A N/A self assertLessEqual nexp n N/A pexp N/A N/A float nexp n N/A N/A N/A self assertGreaterEqual pexp N/A p 0.5 N/A N/A N/A self assertLessEqual pexp N/A p 2.0 N/A test_multinomial_2 N/A N/A self N/A N/A N/A 
        Test multinomial(n, pvals)
         N/A cfunc N/A N/A jit nopython True numpy_multinomial2 N/A N/A n pvals N/A 1000 N/A self pvals N/A res N/A cfunc n pvals N/A N/A N/A self _check_sample n pvals res N/A pvals N/A list pvals N/A res N/A cfunc n pvals N/A N/A N/A self _check_sample n pvals res N/A n 1000000 N/A pvals N/A N/A np array N/A 1 0 N/A n 100 1 dtype N/A np float64 N/A pvals N/A N/A pvals sum N/A res N/A cfunc n pvals N/A N/A N/A self _check_sample n pvals res N/A test_multinomial_3_int N/A N/A self N/A N/A N/A 
        Test multinomial(n, pvals, size: int)
         N/A cfunc N/A N/A jit nopython True numpy_multinomial3 N/A N/A n pvals N/A 1000 N/A self pvals N/A k 10 N/A res N/A cfunc n pvals k N/A N/A N/A self assertEqual N/A N/A res shape N/A 0 k N/A sample res N/A N/A N/A N/A self _check_sample n pvals sample N/A test_multinomial_3_tuple N/A N/A self N/A N/A N/A 
        Test multinomial(n, pvals, size: tuple)
         N/A cfunc N/A N/A jit nopython True numpy_multinomial3 N/A N/A n pvals N/A 1000 N/A self pvals N/A k N/A 3 4 N/A res N/A cfunc n pvals k N/A N/A N/A self assertEqual N/A N/A res shape N/A -1 k N/A sample N/A N/A res reshape N/A -1 N/A N/A res shape N/A -1 N/A N/A N/A N/A self _check_sample n pvals sample N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main