Module Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad Assign NameStore NameLoad Import alias Assign NameStore Num Assign NameStore Num ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Num Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str If CompareLt NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Str For NameStore AttributeLoad NameLoad attr body Assign NameStore CompareEq NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore BinOpMod Str NameLoad If Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore BinOpMod Str NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad For NameStore NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad body AugAssignAdd NameStore BinOpMod Str TupleLoad NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad If NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore NameLoad Assign NameStore Str AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr Str NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body With Call NameLoad NameLoad Str NameStore body Assign NameStore Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str BinOpAdd Call AttributeLoad Str attr NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam NameParam defaults Call AttributeLoad Call NameLoad NameLoad attr NameLoad ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad Assign NameStore Dict Assign NameStore Dict Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict If CompareIn NameLoad NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore BinOpSub BinOpSub AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num NameLoad Assign NameStore ListLoad For NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If CompareIn TupleLoad NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMult Str Num AugAssignAdd NameStore BinOpMod Str TupleLoad Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpSub NameLoad NameLoad If CompareGt NameLoad NameLoad body Return NameLoad handlers ExceptHandler type NameLoad body If CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Str If CompareIn Str NameLoad body Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Dict Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Num Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str If CompareLt NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Str For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Assign NameStore BinOpMod Str NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad Assign NameStore BinOpMod Str NameLoad If CompareEq NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad body AugAssignAdd NameStore BinOpMod Str TupleLoad NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body With Call NameLoad NameLoad Str NameStore body For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr keyword AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam defaults CompareGt Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad Call NameLoad attr Assign NameStore NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam NameParam defaults Call AttributeLoad Call NameLoad NameLoad attr NameLoad ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict If CompareIn NameLoad NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore BinOpSub BinOpSub AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num NameLoad Assign NameStore ListLoad For NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If CompareIn TupleLoad NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMult Str Num AugAssignAdd NameStore BinOpMod Str TupleLoad Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpSub NameLoad NameLoad If CompareGt NameLoad NameLoad body Return NameLoad handlers ExceptHandler type NameLoad body If CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Dict Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Num Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str If CompareLt NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Str For NameStore AttributeLoad NameLoad attr body Assign NameStore CompareEq NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore NameLoad Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Str Assign NameStore BinOpMod Str NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad For NameStore NameLoad body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad body AugAssignAdd NameStore BinOpMod Str TupleLoad NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign NameStore NameLoad Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad If NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore NameLoad Assign NameStore Str AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr Str NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore NameLoad Assign NameStore Str AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr Str NameLoad AugAssignAdd NameStore BinOpMod Str Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str AugAssignAdd NameStore NameLoad AugAssignAdd NameStore NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body With Call NameLoad NameLoad Str NameStore body Assign NameStore Str Assign NameStore Str For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam defaults CompareGt Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad Call NameLoad attr Assign NameStore NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Assign NameStore TupleLoad NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam NameParam defaults Call AttributeLoad Call NameLoad NameLoad attr NameLoad ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore NameLoad Assign NameStore Dict Assign NameStore Dict Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body If CompareNotIn NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Dict If CompareIn NameLoad NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Assign SubscriptStore SubscriptLoad NameLoad Index NameLoad Index NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Dict For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore BinOpSub BinOpSub AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num NameLoad Assign NameStore ListLoad For NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body If CompareIn TupleLoad NameLoad NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMult Str Num AugAssignAdd NameStore BinOpMod Str TupleLoad Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Return NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad BinOpSub NameLoad NameLoad If CompareGt NameLoad NameLoad body Return NameLoad handlers ExceptHandler type NameLoad body If CompareNotEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Dict Str Str Str Str AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If Call AttributeLoad NameLoad attr NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call NameLoad Lambda arguments args NameParam defaults CompareGt Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad Call NameLoad attr For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad If CompareLtE NameLoad Num body Continue Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body If CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad body AugAssignAdd NameStore Num Assign NameStore BinOpSub AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub AttributeLoad NameLoad attr BinOpDiv AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore Call NameLoad BinOpSub NameLoad AttributeLoad NameLoad attr If CompareGt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr If CompareEq NameLoad Str body Return Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr IfExp CompareIn Str NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr IfExp CompareIn Str NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr IfExp CompareIn Str NameLoad Call NameLoad SubscriptLoad NameLoad Index Str NameLoad Assign AttributeStore NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Assign AttributeStore NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Assign AttributeStore NameLoad attr ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Assign AttributeStore NameLoad attr Call NameLoad ListComp Call NameLoad NameLoad comprehension NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str NameLoad Call AttributeLoad ListComp Call AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore NameLoad attr NameLoad NameLoad ListComp Call AttributeLoad AttributeLoad NameLoad attr attr comprehension NameStore NameLoad Call AttributeLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad attr NameLoad Call AttributeLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad attr NameLoad Assign NameStore BinOpDiv Call NameLoad SubscriptLoad NameLoad Index Str Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore BinOpSub NameLoad SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Num Assign NameStore BoolOpOr CompareIs NameLoad NameLoad CompareGtE NameLoad NameLoad If NameLoad body For NameStore NameLoad body If CompareGtE NameLoad NameLoad body AugAssignAdd NameStore Num Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore ListLoad Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Num For TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body If BoolOpAnd CompareIs NameLoad NameLoad CompareEq Call NameLoad NameLoad Num body Continue AugAssignAdd NameStore NameLoad If UnaryOpNot NameLoad body Assert CompareEq NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad If BoolOpOr CompareEq Call NameLoad NameLoad Num CompareNotEq NameLoad SubscriptLoad NameLoad Index Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad BinOpAdd NameLoad Num orelse If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad BinOpAdd NameLoad Num If Call NameLoad ListComp UnaryOpNot NameLoad comprehension TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameLoad body Assign NameStore Num Return Call AttributeLoad NameLoad attr NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore NameLoad Assign NameStore ListLoad For NameStore Call NameLoad NameLoad body If CompareNotIn NameLoad NameLoad body Break Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad If CompareEq NameLoad Str body Assign NameStore TupleLoad SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num Num If CompareEq NameLoad Str body Assign NameStore TupleLoad SubscriptLoad NameLoad Index Num BinOpSub SubscriptLoad NameLoad Index Num Num If CompareEq NameLoad Str body Assign NameStore TupleLoad BinOpAdd SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num If CompareEq NameLoad Str body Assign NameStore TupleLoad BinOpSub SubscriptLoad NameLoad Index Num Num SubscriptLoad NameLoad Index Num If BoolOpOr CompareEq NameLoad Str CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Break Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListComp ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Pass If CompareEq NameLoad Str body Assign NameStore Str Assign SubscriptStore NameLoad Index NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad keyword NameLoad Assign NameStore Dict For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call Call NameLoad SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Slice Num Num Str body Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore NameLoad TryExcept body Assign TupleStore NameStore NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareNotEq NameLoad Num CompareNotEq NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad orelse TryExcept body Assign TupleStore NameStore NameStore NameStore NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Assign TupleStore NameStore NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad For NameStore Call NameLoad NameLoad body For NameStore Call NameLoad NameLoad body If BoolOpAnd CompareIn SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad NameLoad CompareNotEq SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index NameLoad body Assign NameStore TupleLoad NameLoad NameLoad Assign NameStore NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Index SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareNotIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIsNot AttributeLoad NameLoad attr NameLoad CompareIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If NameLoad body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str orelse Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str For NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Assign NameStore BinOpSub BinOpSub AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad Str attr ListComp SubscriptLoad NameLoad Index SubscriptLoad SubscriptLoad NameLoad Index NameLoad Index NameLoad comprehension NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad Call AttributeLoad Str attr ListComp SubscriptLoad NameLoad Index Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Str comprehension NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list decorator_list
N/A N/A testClasses N/A random N/A math N/A traceback N/A sys N/A os N/A layout N/A textDisplay N/A pacman N/A gridworld N/A time util Counter TimeoutFunction FixedRandom collections defaultdict pprint PrettyPrinter hashlib sha1 functools reduce N/A pp N/A PrettyPrinter N/A VERBOSE False N/A gridworld N/A LIVINGREWARD -0.1 N/A NOISE 0.2 ValueIterationTest N/A N/A testClasses TestCase N/A __init__ N/A N/A self question testDict N/A N/A N/A N/A N/A N/A super ValueIterationTest self __init__ question testDict N/A N/A self discount N/A float N/A testDict N/A discount N/A N/A self grid N/A N/A gridworld Gridworld N/A parseGrid N/A testDict N/A grid N/A iterations N/A int N/A testDict N/A valueIterations N/A N/A noise testDict N/A N/A N/A N/A N/A self grid setNoise N/A float N/A testDict N/A noise N/A N/A livingReward testDict N/A N/A N/A N/A N/A self grid setLivingReward N/A float N/A testDict N/A livingReward N/A maxPreIterations 10 N/A N/A self numsIterationsForDisplay N/A range N/A min iterations maxPreIterations N/A N/A self testOutFile N/A testDict N/A test_out_file N/A N/A maxPreIterations iterations N/A N/A N/A N/A N/A self numsIterationsForDisplay append iterations N/A writeFailureFile N/A N/A self string N/A N/A N/A N/A open N/A self testOutFile w handle N/A N/A N/A N/A handle write string N/A removeFailureFileIfExists N/A N/A self N/A N/A N/A N/A N/A N/A os path exists N/A self testOutFile N/A N/A N/A N/A os remove N/A self testOutFile N/A execute N/A N/A self grades moduleDict solutionDict N/A N/A N/A failureOutputFileString N/A failureOutputStdString N/A n N/A self numsIterationsForDisplay N/A N/A checkPolicy N/A n N/A N/A self numsIterationsForDisplay N/A -1 N/A N/A testPass stdOutString fileOutString N/A N/A self executeNIterations grades moduleDict solutionDict n checkPolicy N/A failureOutputStdString stdOutString N/A failureOutputFileString fileOutString N/A N/A testPass N/A N/A N/A N/A self addMessage failureOutputStdString N/A N/A N/A self addMessage N/A For more details to help you debug, see test output file %s

 N/A self testOutFile N/A N/A N/A self writeFailureFile failureOutputFileString N/A N/A N/A self testFail grades N/A N/A N/A self removeFailureFileIfExists N/A N/A N/A self testPass grades N/A executeNIterations N/A N/A self grades moduleDict solutionDict n checkPolicy N/A N/A N/A testPass True N/A N/A valuesPretty qValuesPretty actions policyPretty N/A N/A self runAgent moduleDict n N/A stdOutString N/A fileOutString N/A valuesKey N/A values_k_%d n N/A N/A N/A self comparePrettyValues valuesPretty N/A solutionDict N/A valuesKey N/A N/A fileOutString N/A Values at iteration %d are correct.
 n N/A fileOutString N/A    Student/correct solution:
 %s
 N/A N/A self prettyValueSolutionString valuesKey valuesPretty N/A N/A testPass False N/A outString N/A Values at iteration %d are NOT correct.
 n N/A outString N/A    Student solution:
 %s
 N/A N/A self prettyValueSolutionString valuesKey valuesPretty N/A outString N/A    Correct solution:
 %s
 N/A N/A self prettyValueSolutionString valuesKey N/A solutionDict N/A valuesKey N/A stdOutString outString N/A fileOutString outString N/A action actions N/A N/A qValuesKey N/A q_values_k_%d_action_%s N/A n action N/A qValues N/A qValuesPretty N/A action N/A N/A N/A self comparePrettyValues qValues N/A solutionDict N/A qValuesKey N/A N/A fileOutString N/A Q-Values at iteration %d for action %s are correct.
 N/A n action N/A fileOutString N/A    Student/correct solution:
 %s
 N/A N/A self prettyValueSolutionString qValuesKey qValues N/A N/A testPass False N/A outString N/A Q-Values at iteration %d for action %s are NOT correct.
 N/A n action N/A outString N/A    Student solution:
 %s
 N/A N/A self prettyValueSolutionString qValuesKey qValues N/A outString N/A    Correct solution:
 %s
 N/A N/A self prettyValueSolutionString qValuesKey N/A solutionDict N/A qValuesKey N/A stdOutString outString N/A fileOutString outString N/A checkPolicy N/A N/A N/A N/A N/A self comparePrettyValues policyPretty N/A solutionDict N/A policy N/A N/A testPass False N/A outString Policy is NOT correct.
 N/A outString N/A    Student solution:
 %s
 N/A N/A self prettyValueSolutionString policy policyPretty N/A outString N/A    Correct solution:
 %s
 N/A N/A self prettyValueSolutionString policy N/A solutionDict N/A policy N/A stdOutString outString N/A fileOutString outString N/A N/A testPass stdOutString fileOutString N/A writeSolution N/A N/A self moduleDict filePath N/A N/A N/A N/A open filePath w handle N/A N/A policyPretty N/A actions N/A N/A n N/A self numsIterationsForDisplay N/A N/A N/A valuesPretty qValuesPretty actions policyPretty N/A N/A self runAgent moduleDict n N/A N/A N/A handle write N/A N/A self prettyValueSolutionString N/A values_k_%d n valuesPretty N/A action actions N/A N/A N/A N/A handle write N/A N/A self prettyValueSolutionString N/A q_values_k_%d_action_%s N/A n action N/A qValuesPretty N/A action N/A N/A N/A handle write N/A N/A self prettyValueSolutionString policy policyPretty N/A N/A N/A handle write N/A N/A self prettyValueSolutionString actions N/A N/A N/A join actions N/A True N/A runAgent N/A N/A self moduleDict numIterations N/A N/A N/A agent N/A N/A N/A moduleDict N/A valueIterationAgents ValueIterationAgent N/A self grid discount N/A self discount iterations numIterations N/A states N/A N/A N/A self grid getStates N/A actions N/A list N/A reduce N/A N/A N/A a b N/A N/A N/A N/A set a union b N/A N/A N/A N/A self grid getPossibleActions state N/A state states N/A values N/A N/A qValues N/A N/A policy N/A N/A state states N/A N/A N/A values N/A state N/A N/A agent getValue state N/A N/A policy N/A state N/A N/A agent computeActionFromValues state N/A possibleActions N/A N/A N/A self grid getPossibleActions state N/A action actions N/A N/A N/A action qValues N/A N/A N/A qValues N/A action N/A N/A N/A action possibleActions N/A N/A N/A N/A qValues N/A action N/A state N/A N/A agent computeQValueFromValues state action N/A N/A N/A N/A qValues N/A action N/A state None N/A valuesPretty N/A N/A self prettyValues values N/A policyPretty N/A N/A self prettyPolicy policy N/A qValuesPretty N/A N/A action actions N/A N/A N/A qValuesPretty N/A action N/A N/A self prettyValues N/A qValues N/A action N/A N/A valuesPretty qValuesPretty actions policyPretty N/A prettyPrint N/A N/A self elements formatString N/A N/A N/A pretty N/A states N/A N/A N/A self grid getStates N/A ybar N/A range N/A N/A N/A self grid grid height N/A N/A y N/A N/A N/A N/A N/A self grid grid height 1 ybar N/A row N/A N/A x N/A range N/A N/A N/A self grid grid width N/A N/A N/A N/A x y states N/A N/A value N/A elements N/A N/A x y N/A N/A value None N/A N/A N/A N/A row append    illegal N/A N/A N/A N/A row append N/A N/A formatString format N/A elements N/A N/A x y N/A N/A N/A N/A row append N/A _ 10 N/A pretty N/A         %s
 N/A N/A N/A join row N/A pretty N/A pretty N/A prettyValues N/A N/A self values N/A N/A N/A N/A N/A self prettyPrint values {0:10.4f} N/A prettyPolicy N/A N/A self policy N/A N/A N/A N/A N/A self prettyPrint policy {0:10s} N/A prettyValueSolutionString N/A N/A self name pretty N/A N/A N/A N/A %s: """
%s
"""

 N/A name N/A N/A pretty rstrip N/A comparePrettyValues N/A N/A self aPretty bPretty tolerance N/A 0.01 N/A N/A aList N/A N/A self parsePrettyValues aPretty N/A bList N/A N/A self parsePrettyValues bPretty N/A N/A N/A len aList N/A len bList N/A N/A False N/A N/A a b N/A zip aList bList N/A N/A N/A N/A aNum N/A float a N/A bNum N/A float b N/A error N/A abs N/A aNum bNum N/A N/A error tolerance N/A N/A False N/A N/A N/A ValueError N/A N/A N/A N/A N/A a strip N/A N/A b strip N/A N/A False N/A True N/A parsePrettyValues N/A N/A self pretty N/A N/A N/A values N/A N/A pretty split N/A values N/A N/A ApproximateQLearningTest N/A N/A testClasses TestCase N/A __init__ N/A N/A self question testDict N/A N/A N/A N/A N/A N/A super ApproximateQLearningTest self __init__ question testDict N/A N/A self discount N/A float N/A testDict N/A discount N/A N/A self grid N/A N/A gridworld Gridworld N/A parseGrid N/A testDict N/A grid N/A N/A noise testDict N/A N/A N/A N/A N/A self grid setNoise N/A float N/A testDict N/A noise N/A N/A livingReward testDict N/A N/A N/A N/A N/A self grid setLivingReward N/A float N/A testDict N/A livingReward N/A N/A self grid N/A N/A gridworld Gridworld N/A parseGrid N/A testDict N/A grid N/A N/A self env N/A N/A gridworld GridworldEnvironment N/A self grid N/A N/A self epsilon N/A float N/A testDict N/A epsilon N/A N/A self learningRate N/A float N/A testDict N/A learningRate N/A N/A self extractor IdentityExtractor N/A N/A extractor testDict N/A N/A N/A self extractor N/A testDict N/A extractor N/A N/A self opts N/A actionFn epsilon gamma alpha N/A N/A self env getPossibleActions N/A self epsilon N/A self discount N/A self learningRate N/A numExperiences N/A int N/A testDict N/A numExperiences N/A maxPreExperiences 10 N/A N/A self numsExperiencesForDisplay N/A range N/A min numExperiences maxPreExperiences N/A N/A self testOutFile N/A testDict N/A test_out_file N/A N/A maxPreExperiences numExperiences N/A N/A N/A N/A N/A self numsExperiencesForDisplay append numExperiences N/A writeFailureFile N/A N/A self string N/A N/A N/A N/A open N/A self testOutFile w handle N/A N/A N/A N/A handle write string N/A removeFailureFileIfExists N/A N/A self N/A N/A N/A N/A N/A N/A os path exists N/A self testOutFile N/A N/A N/A N/A os remove N/A self testOutFile N/A execute N/A N/A self grades moduleDict solutionDict N/A N/A N/A failureOutputFileString N/A failureOutputStdString N/A n N/A self numsExperiencesForDisplay N/A N/A N/A testPass stdOutString fileOutString N/A N/A self executeNExperiences grades moduleDict solutionDict n N/A failureOutputStdString stdOutString N/A failureOutputFileString fileOutString N/A N/A testPass N/A N/A N/A N/A self addMessage failureOutputStdString N/A N/A N/A self addMessage N/A For more details to help you debug, see test output file %s

 N/A self testOutFile N/A N/A N/A self writeFailureFile failureOutputFileString N/A N/A N/A self testFail grades N/A N/A N/A self removeFailureFileIfExists N/A N/A N/A self testPass grades N/A executeNExperiences N/A N/A self grades moduleDict solutionDict n N/A N/A N/A testPass True N/A N/A qValuesPretty weights actions lastExperience N/A N/A self runAgent moduleDict n N/A stdOutString N/A fileOutString N/A ==================== Iteration %d ====================
 n N/A N/A lastExperience None N/A N/A fileOutString N/A Agent observed the transition (startState = %s, action = %s, endState = %s, reward = %f)

 lastExperience N/A weightsKey N/A weights_k_%d n N/A N/A weights N/A eval N/A solutionDict N/A weightsKey N/A N/A fileOutString N/A Weights at iteration %d are correct. n N/A fileOutString N/A    Student/correct solution:

%s

 N/A N/A pp pformat weights N/A action actions N/A N/A qValuesKey N/A q_values_k_%d_action_%s N/A n action N/A qValues N/A qValuesPretty N/A action N/A N/A N/A self comparePrettyValues qValues N/A solutionDict N/A qValuesKey N/A N/A fileOutString N/A Q-Values at iteration %d for action '%s' are correct. N/A n action N/A fileOutString N/A    Student/correct solution:
	%s N/A N/A self prettyValueSolutionString qValuesKey qValues N/A N/A testPass False N/A outString N/A Q-Values at iteration %d for action '%s' are NOT correct. N/A n action N/A outString N/A    Student solution:
	%s N/A N/A self prettyValueSolutionString qValuesKey qValues N/A outString N/A    Correct solution:
	%s N/A N/A self prettyValueSolutionString qValuesKey N/A solutionDict N/A qValuesKey N/A stdOutString outString N/A fileOutString outString N/A N/A testPass stdOutString fileOutString N/A writeSolution N/A N/A self moduleDict filePath N/A N/A N/A N/A open filePath w handle N/A N/A n N/A self numsExperiencesForDisplay N/A N/A N/A qValuesPretty weights actions _ N/A N/A self runAgent moduleDict n N/A N/A N/A handle write N/A N/A self prettyValueSolutionString N/A weights_k_%d n N/A N/A pp pformat weights N/A action actions N/A N/A N/A N/A handle write N/A N/A self prettyValueSolutionString N/A q_values_k_%d_action_%s N/A n action N/A qValuesPretty N/A action N/A True N/A runAgent N/A N/A self moduleDict numExperiences N/A N/A N/A agent N/A N/A N/A moduleDict N/A qlearningAgents ApproximateQAgent extractor N/A self extractor N/A self opts N/A states N/A sorted N/A filter N/A N/A N/A state N/A N/A N/A len N/A N/A N/A self grid getPossibleActions state 0 N/A N/A N/A self grid getStates N/A randObj N/A N/A FixedRandom random N/A lastExperience None N/A i N/A range numExperiences N/A N/A startState N/A N/A randObj choice states N/A action N/A N/A randObj choice N/A N/A N/A self grid getPossibleActions startState N/A N/A endState reward N/A N/A N/A self env getRandomNextState startState action randObj randObj N/A lastExperience N/A startState action endState reward N/A N/A N/A agent update lastExperience N/A actions N/A list N/A reduce N/A N/A N/A a b N/A N/A N/A N/A set a union b N/A N/A N/A N/A self grid getPossibleActions state N/A state states N/A qValues N/A N/A weights N/A N/A agent getWeights N/A state states N/A N/A possibleActions N/A N/A N/A self grid getPossibleActions state N/A action actions N/A N/A N/A action qValues N/A N/A N/A qValues N/A action N/A N/A N/A action possibleActions N/A N/A N/A N/A qValues N/A action N/A state N/A N/A agent getQValue state action N/A N/A N/A N/A qValues N/A action N/A state None N/A qValuesPretty N/A N/A action actions N/A N/A N/A qValuesPretty N/A action N/A N/A self prettyValues N/A qValues N/A action N/A N/A qValuesPretty weights actions lastExperience N/A prettyPrint N/A N/A self elements formatString N/A N/A N/A pretty N/A states N/A N/A N/A self grid getStates N/A ybar N/A range N/A N/A N/A self grid grid height N/A N/A y N/A N/A N/A N/A N/A self grid grid height 1 ybar N/A row N/A N/A x N/A range N/A N/A N/A self grid grid width N/A N/A N/A N/A x y states N/A N/A value N/A elements N/A N/A x y N/A N/A value None N/A N/A N/A N/A row append    illegal N/A N/A N/A N/A row append N/A N/A formatString format N/A elements N/A N/A x y N/A N/A N/A N/A row append N/A _ 10 N/A pretty N/A         %s
 N/A N/A N/A join row N/A pretty N/A pretty N/A prettyValues N/A N/A self values N/A N/A N/A N/A N/A self prettyPrint values {0:10.4f} N/A prettyPolicy N/A N/A self policy N/A N/A N/A N/A N/A self prettyPrint policy {0:10s} N/A prettyValueSolutionString N/A N/A self name pretty N/A N/A N/A N/A %s: """
%s
"""

 N/A name N/A N/A pretty rstrip N/A comparePrettyValues N/A N/A self aPretty bPretty tolerance N/A 0.01 N/A N/A aList N/A N/A self parsePrettyValues aPretty N/A bList N/A N/A self parsePrettyValues bPretty N/A N/A N/A len aList N/A len bList N/A N/A False N/A N/A a b N/A zip aList bList N/A N/A N/A N/A aNum N/A float a N/A bNum N/A float b N/A error N/A abs N/A aNum bNum N/A N/A error tolerance N/A N/A False N/A N/A N/A ValueError N/A N/A N/A N/A N/A a strip N/A N/A b strip N/A N/A False N/A True N/A parsePrettyValues N/A N/A self pretty N/A N/A N/A values N/A N/A pretty split N/A values N/A N/A QLearningTest N/A N/A testClasses TestCase N/A __init__ N/A N/A self question testDict N/A N/A N/A N/A N/A N/A super QLearningTest self __init__ question testDict N/A N/A self discount N/A float N/A testDict N/A discount N/A N/A self grid N/A N/A gridworld Gridworld N/A parseGrid N/A testDict N/A grid N/A N/A noise testDict N/A N/A N/A N/A N/A self grid setNoise N/A float N/A testDict N/A noise N/A N/A livingReward testDict N/A N/A N/A N/A N/A self grid setLivingReward N/A float N/A testDict N/A livingReward N/A N/A self grid N/A N/A gridworld Gridworld N/A parseGrid N/A testDict N/A grid N/A N/A self env N/A N/A gridworld GridworldEnvironment N/A self grid N/A N/A self epsilon N/A float N/A testDict N/A epsilon N/A N/A self learningRate N/A float N/A testDict N/A learningRate N/A N/A self opts N/A actionFn epsilon gamma alpha N/A N/A self env getPossibleActions N/A self epsilon N/A self discount N/A self learningRate N/A numExperiences N/A int N/A testDict N/A numExperiences N/A maxPreExperiences 10 N/A N/A self numsExperiencesForDisplay N/A range N/A min numExperiences maxPreExperiences N/A N/A self testOutFile N/A testDict N/A test_out_file N/A N/A maxPreExperiences numExperiences N/A N/A N/A N/A N/A self numsExperiencesForDisplay append numExperiences N/A writeFailureFile N/A N/A self string N/A N/A N/A N/A open N/A self testOutFile w handle N/A N/A N/A N/A handle write string N/A removeFailureFileIfExists N/A N/A self N/A N/A N/A N/A N/A N/A os path exists N/A self testOutFile N/A N/A N/A N/A os remove N/A self testOutFile N/A execute N/A N/A self grades moduleDict solutionDict N/A N/A N/A failureOutputFileString N/A failureOutputStdString N/A n N/A self numsExperiencesForDisplay N/A N/A checkValuesAndPolicy N/A n N/A N/A self numsExperiencesForDisplay N/A -1 N/A N/A testPass stdOutString fileOutString N/A N/A self executeNExperiences grades moduleDict solutionDict n checkValuesAndPolicy N/A failureOutputStdString stdOutString N/A failureOutputFileString fileOutString N/A N/A testPass N/A N/A N/A N/A self addMessage failureOutputStdString N/A N/A N/A self addMessage N/A For more details to help you debug, see test output file %s

 N/A self testOutFile N/A N/A N/A self writeFailureFile failureOutputFileString N/A N/A N/A self testFail grades N/A N/A N/A self removeFailureFileIfExists N/A N/A N/A self testPass grades N/A executeNExperiences N/A N/A self grades moduleDict solutionDict n checkValuesAndPolicy N/A N/A N/A testPass True N/A N/A valuesPretty qValuesPretty actions policyPretty lastExperience N/A N/A self runAgent moduleDict n N/A stdOutString N/A fileOutString N/A ==================== Iteration %d ====================
 n N/A N/A lastExperience None N/A N/A fileOutString N/A Agent observed the transition (startState = %s, action = %s, endState = %s, reward = %f)


 lastExperience N/A action actions N/A N/A qValuesKey N/A q_values_k_%d_action_%s N/A n action N/A qValues N/A qValuesPretty N/A action N/A N/A N/A self comparePrettyValues qValues N/A solutionDict N/A qValuesKey N/A N/A fileOutString N/A Q-Values at iteration %d for action '%s' are correct. N/A n action N/A fileOutString N/A    Student/correct solution:
	%s N/A N/A self prettyValueSolutionString qValuesKey qValues N/A N/A testPass False N/A outString N/A Q-Values at iteration %d for action '%s' are NOT correct. N/A n action N/A outString N/A    Student solution:
	%s N/A N/A self prettyValueSolutionString qValuesKey qValues N/A outString N/A    Correct solution:
	%s N/A N/A self prettyValueSolutionString qValuesKey N/A solutionDict N/A qValuesKey N/A stdOutString outString N/A fileOutString outString N/A checkValuesAndPolicy N/A N/A N/A N/A N/A self comparePrettyValues valuesPretty N/A solutionDict N/A values N/A N/A testPass False N/A outString Values are NOT correct. N/A outString N/A    Student solution:
	%s N/A N/A self prettyValueSolutionString values valuesPretty N/A outString N/A    Correct solution:
	%s N/A N/A self prettyValueSolutionString values N/A solutionDict N/A values N/A stdOutString outString N/A fileOutString outString N/A N/A N/A N/A self comparePrettyValues policyPretty N/A solutionDict N/A policy N/A N/A testPass False N/A outString Policy is NOT correct. N/A outString N/A    Student solution:
	%s N/A N/A self prettyValueSolutionString policy policyPretty N/A outString N/A    Correct solution:
	%s N/A N/A self prettyValueSolutionString policy N/A solutionDict N/A policy N/A stdOutString outString N/A fileOutString outString N/A N/A testPass stdOutString fileOutString N/A writeSolution N/A N/A self moduleDict filePath N/A N/A N/A N/A open filePath w handle N/A N/A valuesPretty N/A policyPretty N/A n N/A self numsExperiencesForDisplay N/A N/A N/A valuesPretty qValuesPretty actions policyPretty _ N/A N/A self runAgent moduleDict n N/A action actions N/A N/A N/A N/A handle write N/A N/A self prettyValueSolutionString N/A q_values_k_%d_action_%s N/A n action N/A qValuesPretty N/A action N/A N/A N/A handle write N/A N/A self prettyValueSolutionString values valuesPretty N/A N/A N/A handle write N/A N/A self prettyValueSolutionString policy policyPretty N/A True N/A runAgent N/A N/A self moduleDict numExperiences N/A N/A N/A agent N/A N/A N/A moduleDict N/A qlearningAgents QLearningAgent N/A self opts N/A states N/A sorted N/A filter N/A N/A N/A state N/A N/A N/A len N/A N/A N/A self grid getPossibleActions state 0 N/A N/A N/A self grid getStates N/A randObj N/A N/A FixedRandom random N/A lastExperience None N/A i N/A range numExperiences N/A N/A startState N/A N/A randObj choice states N/A action N/A N/A randObj choice N/A N/A N/A self grid getPossibleActions startState N/A N/A endState reward N/A N/A N/A self env getRandomNextState startState action randObj randObj N/A lastExperience N/A startState action endState reward N/A N/A N/A agent update lastExperience N/A actions N/A list N/A reduce N/A N/A N/A a b N/A N/A N/A N/A set a union b N/A N/A N/A N/A self grid getPossibleActions state N/A state states N/A values N/A N/A qValues N/A N/A policy N/A N/A state states N/A N/A N/A values N/A state N/A N/A agent computeValueFromQValues state N/A N/A policy N/A state N/A N/A agent computeActionFromQValues state N/A possibleActions N/A N/A N/A self grid getPossibleActions state N/A action actions N/A N/A N/A action qValues N/A N/A N/A qValues N/A action N/A N/A N/A action possibleActions N/A N/A N/A N/A qValues N/A action N/A state N/A N/A agent getQValue state action N/A N/A N/A N/A qValues N/A action N/A state None N/A valuesPretty N/A N/A self prettyValues values N/A policyPretty N/A N/A self prettyPolicy policy N/A qValuesPretty N/A N/A action actions N/A N/A N/A qValuesPretty N/A action N/A N/A self prettyValues N/A qValues N/A action N/A N/A valuesPretty qValuesPretty actions policyPretty lastExperience N/A prettyPrint N/A N/A self elements formatString N/A N/A N/A pretty N/A states N/A N/A N/A self grid getStates N/A ybar N/A range N/A N/A N/A self grid grid height N/A N/A y N/A N/A N/A N/A N/A self grid grid height 1 ybar N/A row N/A N/A x N/A range N/A N/A N/A self grid grid width N/A N/A N/A N/A x y states N/A N/A value N/A elements N/A N/A x y N/A N/A value None N/A N/A N/A N/A row append    illegal N/A N/A N/A N/A row append N/A N/A formatString format N/A elements N/A N/A x y N/A N/A N/A N/A row append N/A _ 10 N/A pretty N/A         %s
 N/A N/A N/A join row N/A pretty N/A pretty N/A prettyValues N/A N/A self values N/A N/A N/A N/A N/A self prettyPrint values {0:10.4f} N/A prettyPolicy N/A N/A self policy N/A N/A N/A N/A N/A self prettyPrint policy {0:10s} N/A prettyValueSolutionString N/A N/A self name pretty N/A N/A N/A N/A %s: """
%s
"""

 N/A name N/A N/A pretty rstrip N/A comparePrettyValues N/A N/A self aPretty bPretty tolerance N/A 0.01 N/A N/A aList N/A N/A self parsePrettyValues aPretty N/A bList N/A N/A self parsePrettyValues bPretty N/A N/A N/A len aList N/A len bList N/A N/A False N/A N/A a b N/A zip aList bList N/A N/A N/A N/A aNum N/A float a N/A bNum N/A float b N/A error N/A abs N/A aNum bNum N/A N/A error tolerance N/A N/A False N/A N/A N/A ValueError N/A N/A N/A N/A N/A a strip N/A N/A b strip N/A N/A False N/A True N/A parsePrettyValues N/A N/A self pretty N/A N/A N/A values N/A N/A pretty split N/A values N/A N/A EpsilonGreedyTest N/A N/A testClasses TestCase N/A __init__ N/A N/A self question testDict N/A N/A N/A N/A N/A N/A super EpsilonGreedyTest self __init__ question testDict N/A N/A self discount N/A float N/A testDict N/A discount N/A N/A self grid N/A N/A gridworld Gridworld N/A parseGrid N/A testDict N/A grid N/A N/A noise testDict N/A N/A N/A N/A N/A self grid setNoise N/A float N/A testDict N/A noise N/A N/A livingReward testDict N/A N/A N/A N/A N/A self grid setLivingReward N/A float N/A testDict N/A livingReward N/A N/A self grid N/A N/A gridworld Gridworld N/A parseGrid N/A testDict N/A grid N/A N/A self env N/A N/A gridworld GridworldEnvironment N/A self grid N/A N/A self epsilon N/A float N/A testDict N/A epsilon N/A N/A self learningRate N/A float N/A testDict N/A learningRate N/A N/A self numExperiences N/A int N/A testDict N/A numExperiences N/A N/A self numIterations N/A int N/A testDict N/A iterations N/A N/A self opts N/A actionFn epsilon gamma alpha N/A N/A self env getPossibleActions N/A self epsilon N/A self discount N/A self learningRate N/A execute N/A N/A self grades moduleDict solutionDict N/A N/A N/A N/A N/A self testEpsilonGreedy moduleDict N/A N/A N/A N/A self testPass grades N/A N/A N/A N/A self testFail grades N/A writeSolution N/A N/A self moduleDict filePath N/A N/A N/A N/A open filePath w handle N/A N/A N/A N/A handle write N/A # This is the solution file for %s.
 N/A self path N/A N/A N/A handle write # File intentionally blank.
 N/A True N/A runAgent N/A N/A self moduleDict N/A N/A N/A agent N/A N/A N/A moduleDict N/A qlearningAgents QLearningAgent N/A self opts N/A states N/A sorted N/A filter N/A N/A N/A state N/A N/A N/A len N/A N/A N/A self grid getPossibleActions state 0 N/A N/A N/A self grid getStates N/A randObj N/A N/A FixedRandom random N/A i N/A range N/A self numExperiences N/A N/A startState N/A N/A randObj choice states N/A action N/A N/A randObj choice N/A N/A N/A self grid getPossibleActions startState N/A N/A endState reward N/A N/A N/A self env getRandomNextState startState action randObj randObj N/A N/A N/A agent update startState action endState reward N/A agent N/A testEpsilonGreedy N/A N/A self moduleDict tolerance N/A 0.025 N/A N/A agent N/A N/A self runAgent moduleDict N/A state N/A N/A N/A self grid getStates N/A N/A numLegalActions N/A len N/A N/A agent getLegalActions state N/A N/A numLegalActions 1 N/A N/A N/A numGreedyChoices 0 N/A optimalAction N/A N/A agent computeActionFromQValues state N/A iteration N/A range N/A self numIterations N/A N/A N/A N/A N/A agent getAction state optimalAction N/A N/A numGreedyChoices 1 N/A empiricalEpsilonNumerator N/A N/A self numIterations numGreedyChoices N/A empiricalEpsilonDenominator N/A N/A self numIterations N/A N/A self numIterations N/A float numLegalActions N/A empiricalEpsilon N/A empiricalEpsilonNumerator empiricalEpsilonDenominator N/A error N/A abs N/A empiricalEpsilon N/A self epsilon N/A N/A error tolerance N/A N/A N/A N/A self addMessage Epsilon-greedy action selection is not correct. N/A N/A N/A self addMessage N/A Actual epsilon = %f; student empirical epsilon = %f; error = %f > tolerance = %f N/A N/A self epsilon empiricalEpsilon error tolerance N/A False N/A True N/A N/A Question6Test N/A N/A testClasses TestCase N/A __init__ N/A N/A self question testDict N/A N/A N/A N/A N/A N/A super Question6Test self __init__ question testDict N/A execute N/A N/A self grades moduleDict solutionDict N/A N/A N/A studentSolution N/A N/A N/A moduleDict N/A analysis question6 N/A studentSolution N/A N/A N/A N/A N/A str studentSolution strip lower N/A hashedSolution N/A N/A N/A sha1 studentSolution hexdigest N/A N/A hashedSolution 46729c96bb1e4081fdc81a8ff74b3e5db8fba415 N/A N/A N/A N/A self testPass grades N/A N/A N/A N/A self addMessage Solution is not correct. N/A N/A N/A self addMessage N/A    Student solution: %s N/A studentSolution N/A N/A N/A self testFail grades N/A writeSolution N/A N/A self moduleDict filePath N/A N/A N/A handle N/A open filePath w N/A N/A N/A handle write N/A # This is the solution file for %s.
 N/A self path N/A N/A N/A handle write # File intentionally blank.
 N/A N/A N/A handle close N/A True N/A N/A EvalAgentTest N/A N/A testClasses TestCase N/A __init__ N/A N/A self question testDict N/A N/A N/A N/A N/A N/A super EvalAgentTest self __init__ question testDict N/A N/A self pacmanParams N/A testDict N/A pacmanParams N/A N/A self scoreMinimum N/A N/A scoreMinimum testDict N/A int N/A testDict N/A scoreMinimum None N/A N/A self nonTimeoutMinimum N/A N/A nonTimeoutMinimum testDict N/A int N/A testDict N/A nonTimeoutMinimum None N/A N/A self winsMinimum N/A N/A winsMinimum testDict N/A int N/A testDict N/A winsMinimum None N/A N/A self scoreThresholds N/A N/A int s N/A s N/A N/A N/A N/A testDict get scoreThresholds split N/A N/A self nonTimeoutThresholds N/A N/A int s N/A s N/A N/A N/A N/A testDict get nonTimeoutThresholds split N/A N/A self winsThresholds N/A N/A int s N/A s N/A N/A N/A N/A testDict get winsThresholds split N/A N/A self maxPoints N/A sum N/A N/A len t N/A t N/A N/A self scoreThresholds N/A self nonTimeoutThresholds N/A self winsThresholds N/A execute N/A N/A self grades moduleDict solutionDict N/A N/A N/A N/A N/A self addMessage N/A Grading agent using command:  python pacman.py %s N/A N/A self pacmanParams N/A startTime N/A N/A time time N/A games N/A N/A pacman runGames N/A N/A pacman readCommand N/A N/A N/A self pacmanParams split N/A totalTime N/A N/A N/A time time startTime N/A numGames N/A len games N/A stats N/A time wins games scores timeouts crashes totalTime N/A N/A N/A N/A N/A N/A g state isWin N/A g games count True games N/A N/A N/A N/A g state getScore N/A g games N/A N/A N/A N/A g agentTimeout N/A g games count True N/A N/A N/A N/A g agentCrashed N/A g games count True N/A averageScore N/A N/A sum N/A stats N/A scores N/A float N/A len N/A stats N/A scores N/A nonTimeouts N/A numGames N/A stats N/A timeouts N/A wins N/A stats N/A wins gradeThreshold N/A N/A value minimum thresholds name N/A N/A N/A points 0 N/A passed N/A N/A minimum None N/A value minimum N/A passed N/A N/A t thresholds N/A N/A N/A value t N/A N/A points 1 N/A N/A passed points value minimum thresholds name N/A N/A results N/A N/A gradeThreshold averageScore N/A self scoreMinimum N/A self scoreThresholds average score N/A gradeThreshold nonTimeouts N/A self nonTimeoutMinimum N/A self nonTimeoutThresholds games not timed out N/A gradeThreshold wins N/A self winsMinimum N/A self winsThresholds wins N/A totalPoints 0 N/A N/A passed points value minimum thresholds name results N/A N/A N/A N/A minimum None N/A N/A len thresholds 0 N/A N/A N/A totalPoints points N/A N/A passed N/A N/A N/A points 0 N/A N/A N/A self addMessage N/A %s %s (fail: below minimum value %s) N/A value name minimum N/A N/A N/A N/A self addMessage N/A %s %s (%s of %s points) N/A value name points N/A len thresholds N/A N/A minimum None N/A N/A N/A N/A self addMessage     Grading scheme: N/A N/A N/A self addMessage N/A      < %s:  fail N/A minimum N/A N/A N/A N/A len thresholds 0 N/A minimum N/A thresholds N/A 0 N/A N/A N/A N/A self addMessage N/A     >= %s:  0 points N/A minimum N/A N/A idx threshold N/A enumerate thresholds N/A N/A N/A N/A self addMessage N/A     >= %s:  %s points N/A threshold N/A idx 1 N/A N/A N/A N/A len thresholds 0 N/A N/A N/A N/A self addMessage     Grading scheme: N/A N/A N/A self addMessage N/A      < %s:  0 points N/A N/A thresholds N/A 0 N/A N/A idx threshold N/A enumerate thresholds N/A N/A N/A N/A self addMessage N/A     >= %s:  %s points N/A threshold N/A idx 1 N/A N/A any N/A N/A passed N/A N/A passed _ _ _ _ _ results N/A N/A totalPoints 0 N/A N/A N/A self testPartial grades totalPoints N/A self maxPoints N/A writeSolution N/A N/A self moduleDict filePath N/A N/A N/A N/A open filePath w handle N/A N/A N/A N/A handle write N/A # This is the solution file for %s.
 N/A self path N/A N/A N/A handle write # File intentionally blank.
 N/A True N/A N/A followPath N/A N/A policy start numSteps N/A 100 N/A N/A state start N/A path N/A N/A i N/A range numSteps N/A N/A N/A state policy N/A N/A N/A action N/A policy N/A state N/A N/A N/A path append N/A (%s,%s) state N/A N/A action north N/A N/A nextState N/A N/A state N/A 0 N/A N/A state N/A 1 1 N/A N/A action south N/A N/A nextState N/A N/A state N/A 0 N/A N/A state N/A 1 1 N/A N/A action east N/A N/A nextState N/A N/A N/A state N/A 0 1 N/A state N/A 1 N/A N/A action west N/A N/A nextState N/A N/A N/A state N/A 0 1 N/A state N/A 1 N/A N/A N/A action exit N/A action None N/A N/A N/A N/A path append TERMINAL_STATE N/A N/A state nextState N/A path N/A parseGrid N/A N/A string N/A N/A N/A grid N/A N/A N/A N/A entry strip N/A entry N/A N/A line split N/A line N/A N/A string split N/A row grid N/A N/A N/A x col N/A enumerate row N/A N/A N/A N/A col N/A int col N/A N/A N/A N/A N/A N/A col _ N/A N/A col N/A N/A row N/A x col N/A N/A N/A gridworld makeGrid grid N/A computePolicy N/A N/A moduleDict grid discount N/A N/A N/A valueIterator N/A N/A N/A moduleDict N/A valueIterationAgents ValueIterationAgent grid discount discount N/A policy N/A N/A state N/A N/A grid getStates N/A N/A N/A policy N/A state N/A N/A valueIterator computeActionFromValues state N/A policy N/A GridPolicyTest N/A N/A testClasses TestCase N/A __init__ N/A N/A self question testDict N/A N/A N/A N/A N/A N/A super GridPolicyTest self __init__ question testDict N/A N/A self parameterFn N/A testDict N/A parameterFn N/A N/A self question2 N/A N/A N/A N/A N/A testDict get question2 false lower true N/A N/A self gridText N/A testDict N/A grid N/A N/A self grid N/A N/A gridworld Gridworld N/A parseGrid N/A testDict N/A grid N/A N/A self gridName N/A testDict N/A gridName N/A N/A self policy N/A parseGrid N/A testDict N/A policy N/A N/A self pathVisits N/A N/A testDict get pathVisits None N/A N/A self pathNotVisits N/A N/A testDict get pathNotVisits None N/A execute N/A N/A self grades moduleDict solutionDict N/A N/A N/A N/A N/A hasattr N/A moduleDict N/A analysis N/A self parameterFn N/A N/A N/A N/A self addMessage N/A Method not implemented: analysis.%s N/A N/A self parameterFn N/A N/A N/A self testFail grades N/A result N/A N/A getattr N/A moduleDict N/A analysis N/A self parameterFn N/A N/A N/A isinstance result str N/A N/A N/A N/A result lower N/A 0 3 not N/A N/A N/A N/A self addMessage Actually, it is possible! N/A N/A N/A self testFail grades N/A N/A self question2 N/A N/A livingReward None N/A N/A N/A N/A discount noise result N/A discount N/A float discount N/A noise N/A float noise N/A N/A N/A N/A N/A N/A self addMessage N/A Did not return a (discount, noise) pair; instead analysis.%s returned: %s N/A N/A self parameterFn result N/A N/A N/A self testFail grades N/A N/A N/A discount 0.9 N/A noise 0.2 N/A N/A N/A N/A self addMessage N/A Must change either the discount or the noise, not both. Returned (discount, noise) = %s N/A result N/A N/A N/A self testFail grades N/A N/A N/A N/A N/A discount noise livingReward result N/A discount N/A float discount N/A noise N/A float noise N/A livingReward N/A float livingReward N/A N/A N/A N/A N/A N/A self addMessage N/A Did not return a (discount, noise, living reward) triple; instead analysis.%s returned: %s N/A N/A self parameterFn result N/A N/A N/A self testFail grades N/A N/A N/A N/A self grid setNoise noise N/A N/A livingReward None N/A N/A N/A N/A N/A self grid setLivingReward livingReward N/A start N/A N/A N/A self grid getStartState N/A policy N/A computePolicy moduleDict N/A self grid discount N/A actionMap N/A N E S W X north east south west exit N/A N/A width height N/A N/A N/A self policy width N/A N/A self policy height N/A policyPassed True N/A x N/A range width N/A N/A y N/A range height N/A N/A N/A N/A N/A N/A N/A self policy N/A x N/A y actionMap N/A N/A policy N/A N/A x y N/A actionMap N/A N/A N/A N/A self policy N/A x N/A y N/A N/A differPoint N/A x y N/A policyPassed False N/A N/A policyPassed N/A N/A N/A N/A self addMessage Policy not correct. N/A N/A N/A self addMessage N/A     Student policy at %s: %s N/A differPoint N/A policy N/A differPoint N/A N/A N/A self addMessage N/A     Correct policy at %s: %s N/A differPoint N/A actionMap N/A N/A N/A N/A self policy N/A N/A differPoint N/A 0 N/A N/A differPoint N/A 1 N/A N/A N/A self addMessage     Student policy: N/A N/A N/A self printPolicy policy False N/A N/A N/A self addMessage         Legend:  N,S,E,W at states which move north etc, X at states which exit, N/A N/A N/A self addMessage                  . at states where the policy is not defined (e.g. walls) N/A N/A N/A self addMessage     Correct policy specification: N/A N/A N/A self printPolicy N/A self policy True N/A N/A N/A self addMessage         Legend:  N,S,E,W for states in which the student policy must move north etc, N/A N/A N/A self addMessage                  _ for states where it doesn't matter what the student policy does. N/A N/A N/A self printGridworld N/A N/A N/A self testFail grades N/A path N/A followPath policy N/A N/A N/A self grid getStartState N/A N/A N/A N/A self pathVisits None N/A N/A self pathVisits path N/A N/A N/A N/A self addMessage N/A Policy does not visit state %s when moving without noise. N/A N/A self pathVisits N/A N/A N/A self addMessage N/A     States visited: %s N/A path N/A N/A N/A self addMessage     Student policy: N/A N/A N/A self printPolicy policy False N/A N/A N/A self addMessage         Legend:  N,S,E,W at states which move north etc, X at states which exit, N/A N/A N/A self addMessage                  . at states where policy not defined N/A N/A N/A self printGridworld N/A N/A N/A self testFail grades N/A N/A N/A N/A self pathNotVisits None N/A N/A self pathNotVisits path N/A N/A N/A N/A self addMessage N/A Policy visits state %s when moving without noise. N/A N/A self pathNotVisits N/A N/A N/A self addMessage N/A     States visited: %s N/A path N/A N/A N/A self addMessage     Student policy: N/A N/A N/A self printPolicy policy False N/A N/A N/A self addMessage         Legend:  N,S,E,W at states which move north etc, X at states which exit, N/A N/A N/A self addMessage                  . at states where policy not defined N/A N/A N/A self printGridworld N/A N/A N/A self testFail grades N/A N/A N/A self testPass grades N/A printGridworld N/A N/A self N/A N/A N/A N/A N/A self addMessage     Gridworld: N/A line N/A N/A N/A self gridText split N/A N/A N/A N/A self addMessage N/A line N/A N/A N/A self addMessage         Legend: # wall, _ empty, S start, numbers terminal states with that reward. N/A printPolicy N/A N/A self policy policyTypeIsGrid N/A N/A N/A policyTypeIsGrid N/A N/A legend N/A N E S W N E S W _ N/A N/A legend N/A north east south west exit . N E S W X . _ N/A ybar N/A range N/A N/A N/A self grid grid height N/A N/A y N/A N/A N/A N/A N/A self grid grid height 1 ybar N/A policyTypeIsGrid N/A N/A N/A N/A self addMessage N/A         %s N/A N/A N/A join N/A N/A legend N/A N/A N/A policy N/A x N/A y N/A x N/A range N/A N/A N/A self grid grid width N/A N/A N/A N/A self addMessage N/A         %s N/A N/A N/A join N/A N/A legend N/A N/A N/A policy get N/A x y . N/A x N/A range N/A N/A N/A self grid grid width N/A writeSolution N/A N/A self moduleDict filePath N/A N/A N/A N/A open filePath w handle N/A N/A N/A N/A handle write N/A # This is the solution file for %s.
 N/A self path N/A N/A N/A handle write # File intentionally blank.
 N/A True N/A N/A