Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias Import alias alias alias alias alias alias alias alias alias Import alias alias alias ImportFrom alias ImportFrom alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Import alias identifier Import alias identifier Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias Import alias ImportFrom alias FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str Expr Call NameLoad BinOpMult Str Num Expr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call NameLoad BinOpMult Str Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Assign NameStore BinOpMod Str Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword Str keyword SubscriptLoad NameLoad Index Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryFinally body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assert CompareEq AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num keyword ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Num keyword ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assert CompareEq ListLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Str Assert ListComp CompareIn NameLoad NameLoad comprehension NameStore ListLoad Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad Call NameLoad NameLoad Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Str Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword SubscriptLoad NameLoad Index Str keyword SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Str Assign NameStore Call NameLoad keyword Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad NameLoad attr keyword Str keyword NameLoad NameStore body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Num Num Str Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assert Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Str Assert Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Num Expr Call NameLoad Str For NameStore Call NameLoad NameLoad body With Call AttributeLoad NameLoad attr keyword Str keyword NameLoad NameStore body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Call NameLoad Call AttributeLoad NameLoad attr Num Num Str Assign NameStore Call NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword BinOpMod Str NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword BinOpMod Str NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword BinOpSub NameLoad Num Expr Call NameLoad Str For NameStore NameLoad body Assert Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Str Str body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str orelse Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword Str keyword NameLoad AugAssignAdd NameStore Num Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index Str keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assert CompareEq SubscriptLoad NameLoad Index Str Str Assert CompareEq SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index AttributeLoad NameLoad attr For NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str body If CompareEq SubscriptLoad NameLoad Index Str Str body Assert CompareEq SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Num While CompareGt NameLoad Num body TryExcept body Expr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Assert CompareEq SubscriptLoad NameLoad Index Str BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Assert CompareEq SubscriptLoad NameLoad Index Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad Str NameLoad AugAssignSub NameStore Num If CompareGt NameLoad Num body Expr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num orelse Assign NameStore Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Str Assert CompareEq Call NameLoad NameLoad Num Call NameLoad NameLoad Assert CompareEq SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Str finalbody Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn Str Call NameLoad body If CompareIn Str Call NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn Str Call NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore BinOpAdd Str Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad keyword Str Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore NameLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Assign NameStore NameLoad Break Assert CompareIsNot NameLoad NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore NameLoad While CompareGt NameLoad Num body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Break handlers ExceptHandler type NameLoad body AugAssignSub NameStore Num If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr Num Assert CompareEq NameLoad NameLoad decorator_list
N/A __future__ absolute_import __future__ division __future__ print_function __future__ unicode_literals N/A six builtins str N/A tempfile time os re sys filecmp shutil requests json N/A uuid random base64 datetime datetime nose.tools assert_raises N/A N/A N/A configparser N/A N/A N/A ImportError N/A N/A ConfigParser configparser N/A synapseclient.client client N/A synapseclient.utils utils synapseclient.exceptions * synapseclient.evaluation Evaluation synapseclient.entity Project File synapseclient.annotations to_submission_status_annotations from_submission_status_annotations set_privacy synapseclient.team Team TeamMember N/A integration integration schedule_for_cleanup setup N/A N/A module N/A N/A N/A N/A print N/A N/A print N/A ~ 60 N/A N/A print N/A N/A N/A os path basename __file__ N/A N/A print N/A ~ 60 N/A N/A module syn N/A integration syn N/A N/A module project N/A integration project N/A test_evaluations N/A N/A N/A N/A N/A name N/A Test Evaluation %s N/A str N/A N/A uuid uuid4 N/A ev N/A Evaluation name name description Evaluation for testing contentSource N/A project N/A id status CLOSED N/A ev N/A N/A syn store ev N/A N/A N/A evalNamed N/A N/A syn getEvaluationByName name N/A N/A N/A ev N/A contentSource N/A evalNamed N/A contentSource N/A N/A N/A ev N/A createdOn N/A evalNamed N/A createdOn N/A N/A N/A ev N/A description N/A evalNamed N/A description N/A N/A N/A ev N/A etag N/A evalNamed N/A etag N/A N/A N/A ev N/A id N/A evalNamed N/A id N/A N/A N/A ev N/A name N/A evalNamed N/A name N/A N/A N/A ev N/A ownerId N/A evalNamed N/A ownerId N/A N/A N/A ev N/A status N/A evalNamed N/A status N/A evalProj N/A N/A syn getEvaluationByContentSource project N/A evalProj N/A next evalProj N/A N/A N/A ev N/A contentSource N/A evalProj N/A contentSource N/A N/A N/A ev N/A createdOn N/A evalProj N/A createdOn N/A N/A N/A ev N/A description N/A evalProj N/A description N/A N/A N/A ev N/A etag N/A evalProj N/A etag N/A N/A N/A ev N/A id N/A evalProj N/A id N/A N/A N/A ev N/A name N/A evalProj N/A name N/A N/A N/A ev N/A ownerId N/A evalProj N/A ownerId N/A N/A N/A ev N/A status N/A evalProj N/A status N/A N/A ev N/A status OPEN N/A ev N/A N/A syn store ev createOrUpdate True N/A N/A N/A ev status OPEN N/A myOwnerId N/A int N/A N/A N/A syn getUserProfile N/A ownerId N/A N/A N/A syn _allowParticipation ev myOwnerId N/A N/A N/A syn setPermissions ev 273948 accessType N/A READ N/A N/A N/A syn setPermissions ev 273949 accessType N/A READ N/A permissions N/A N/A syn getPermissions ev 273949 N/A N/A N/A READ permissions N/A permissions N/A N/A syn getPermissions ev N/A N/A N/A syn getUserProfile N/A ownerId N/A N/A N/A p permissions N/A p N/A READ CREATE DELETE UPDATE CHANGE_PERMISSIONS READ_PRIVATE_SUBMISSION N/A submissions N/A N/A syn getSubmissions ev N/A N/A N/A len N/A list submissions 0 N/A N/A N/A config N/A N/A configparser ConfigParser N/A N/A N/A config read N/A client CONFIG_FILE N/A other_user N/A N/A N/A other_user N/A username N/A N/A config get test-authentication username N/A N/A other_user N/A password N/A N/A config get test-authentication password N/A N/A print Testing SYNR-541 N/A testSyn N/A N/A client Synapse skip_checks True N/A N/A N/A testSyn login email N/A other_user N/A username password N/A other_user N/A password N/A testOwnerId N/A int N/A N/A N/A testSyn getUserProfile N/A ownerId N/A other_project N/A Project name N/A str N/A N/A uuid uuid4 N/A other_project N/A N/A testSyn createEntity other_project N/A N/A N/A syn _allowParticipation ev testOwnerId N/A N/A N/A tempfile NamedTemporaryFile mode w delete False f N/A N/A filename N/A f name N/A N/A N/A f write N/A N/A str N/A N/A random gauss 0 1 N/A f N/A File filename parentId N/A other_project id name Submission 999 description Haha!  I'm inaccessible... N/A entity N/A N/A testSyn store f N/A submission N/A N/A testSyn submit N/A ev id entity submitterAlias My Nickname N/A N/A N/A os utime filename N/A 0 0 N/A fetched N/A N/A syn getSubmission N/A submission N/A id N/A N/A N/A N/A os path exists N/A fetched N/A filePath N/A N/A N/A filecmp cmp filename N/A fetched N/A filePath N/A N/A N/A N/A configparser Error N/A N/A N/A print N/A Skipping test for SYNR-541: No [test-authentication] in %s N/A client CONFIG_FILE N/A num_of_submissions 2 N/A N/A print Creating Submissions N/A i N/A range num_of_submissions N/A N/A N/A N/A tempfile NamedTemporaryFile mode w delete False f N/A N/A filename N/A f name N/A N/A N/A f write N/A N/A str N/A N/A random gauss 0 1 N/A f N/A File filename parentId N/A project id name N/A entry-%02d i description An entry for testing evaluation N/A entity N/A N/A syn store f N/A N/A N/A syn submit ev entity name N/A Submission %02d i submitterAlias My Team N/A submissions N/A N/A syn getSubmissions ev limit N/A num_of_submissions 1 N/A N/A print Scoring Submissions N/A submission submissions N/A N/A N/A N/A re match Submission \d+ N/A submission N/A name N/A status N/A N/A syn getSubmissionStatus submission N/A N/A status score N/A N/A random random N/A N/A N/A submission N/A name Submission 01 N/A N/A N/A status status INVALID N/A N/A status report Uh-oh, something went wrong! N/A N/A N/A status status SCORED N/A N/A status report a fabulous effort! N/A N/A N/A syn store status N/A N/A print Annotating Submissions N/A bogosity N/A N/A submissions N/A N/A syn getSubmissions ev N/A b 123 N/A N/A submission status N/A N/A syn getSubmissionBundles ev N/A N/A N/A bogosity N/A N/A submission id b N/A a N/A dict foo bar bogosity b N/A b 123 N/A N/A status N/A annotations N/A to_submission_status_annotations a N/A N/A set_privacy N/A status N/A annotations key bogosity is_private False N/A N/A N/A syn store status N/A N/A submission status N/A N/A syn getSubmissionBundles ev N/A N/A a N/A from_submission_status_annotations N/A status annotations N/A N/A N/A a N/A foo bar N/A N/A N/A a N/A bogosity N/A bogosity N/A N/A submission id N/A kvp N/A N/A status annotations N/A longAnnos N/A N/A N/A N/A kvp N/A key bogosity N/A N/A N/A N/A kvp N/A isPrivate False N/A attempts 2 N/A N/A attempts 0 N/A N/A N/A N/A N/A print Querying for submissions N/A results N/A N/A syn restGET N/A /evaluation/submission/query?query=SELECT+*+FROM+evaluation_%s N/A ev id N/A N/A print results N/A N/A N/A results N/A totalNumberOfResults N/A num_of_submissions 1 N/A results N/A N/A syn restGET N/A /evaluation/submission/query?query=SELECT+*+FROM+evaluation_%s where bogosity > 200 N/A ev id N/A N/A print results N/A N/A N/A results N/A totalNumberOfResults num_of_submissions N/A N/A N/A AssertionError N/A ex1 N/A N/A N/A print failed query:  ex1 N/A attempts 1 N/A N/A attempts 0 N/A N/A N/A print retrying... N/A N/A N/A time sleep 2 N/A N/A attempts 0 N/A invalid_submissions N/A list N/A N/A syn getSubmissions ev status INVALID N/A N/A N/A len invalid_submissions 1 N/A len invalid_submissions N/A N/A N/A N/A invalid_submissions N/A 0 N/A name Submission 01 N/A N/A N/A N/A syn delete ev N/A N/A testSyn N/A locals N/A N/A N/A other_project N/A locals N/A N/A N/A N/A testSyn delete other_project N/A N/A team N/A locals N/A N/A N/A N/A testSyn delete team N/A N/A assert_raises SynapseHTTPError N/A syn getEvaluation ev N/A test_teams N/A N/A N/A N/A N/A name N/A My Uniquely Named Team  N/A str N/A N/A uuid uuid4 N/A team N/A N/A syn store N/A Team name name description A fake team for testing... N/A N/A schedule_for_cleanup team N/A found_team N/A N/A syn getTeam N/A team id N/A N/A team found_team N/A p N/A N/A syn getUserProfile N/A found None N/A m N/A N/A syn getTeamMembers team N/A N/A N/A N/A N/A m member ownerId N/A p ownerId N/A N/A found m N/A N/A N/A found None N/A N/A Couldn't find user {} in team format N/A p username N/A tries 10 N/A found_team None N/A N/A tries 0 N/A N/A N/A N/A found_team N/A N/A syn getTeam name N/A N/A N/A N/A ValueError N/A N/A tries 1 N/A N/A tries 0 N/A N/A N/A N/A time sleep 1 N/A N/A team found_team N/A