Module Import alias alias Import alias If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Assign NameStore ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad For NameStore NameLoad body For NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareEq AttributeLoad NameLoad attr Str body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Num attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print BinOpMod Str TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr Print Str Assign NameStore Call NameLoad Str If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Print Str For TupleStore NameStore NameStore Call NameLoad NameLoad body Print BinOpMod Str TupleLoad BinOpAdd NameLoad Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Print BinOpMod Str TupleLoad BinOpAdd NameLoad Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword Str orelse Print Str
N/A N/A argparse json N/A simpleamt N/A N/A __name__ __main__ N/A N/A parser N/A N/A argparse ArgumentParser parents N/A N/A N/A simpleamt get_parent_parser N/A args N/A N/A parser parse_args N/A mtc N/A N/A simpleamt get_mturk_connection_from_args args N/A approve_ids N/A N/A reject_ids N/A N/A N/A N/A args hit_ids_file None N/A N/A N/A N/A parser error Must specify --hit_ids_file. N/A N/A open N/A args hit_ids_file r f N/A N/A hit_ids N/A N/A N/A line strip N/A line f N/A hit_id hit_ids N/A N/A a N/A N/A mtc get_assignments hit_id N/A N/A N/A N/A a AssignmentStatus Submitted N/A N/A N/A N/A output N/A N/A json loads N/A N/A N/A N/A N/A a answers N/A 0 N/A 0 fields N/A 0 N/A N/A N/A approve_ids append N/A a AssignmentId N/A N/A N/A ValueError N/A e N/A N/A N/A N/A reject_ids append N/A a AssignmentId N/A N/A This will approve %d assignments and reject %d assignments with sandbox=%s N/A N/A len approve_ids N/A len reject_ids N/A str N/A args sandbox N/A Continue? N/A s N/A raw_input (Y/N):  N/A N/A N/A s Y N/A s y N/A N/A Approving assignments N/A N/A idx assignment_id N/A enumerate approve_ids N/A N/A N/A Approving assignment %d / %d N/A N/A idx 1 N/A len approve_ids N/A N/A N/A mtc approve_assignment assignment_id N/A N/A idx assignment_id N/A enumerate reject_ids N/A N/A N/A Rejecting assignment %d / %d N/A N/A idx 1 N/A len reject_ids N/A N/A N/A mtc reject_assignment assignment_id feedback Invalid results N/A N/A Aborting