Module Import alias Import alias Import alias Import alias identifier Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias alias ImportFrom alias ClassDef bases body Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse If CompareNotIn AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad orelse Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad If NameLoad body Return NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad ExceptHandler type NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr ListLoad Call NameLoad keyword ListLoad Str NameLoad Assign NameStore Call NameLoad NameLoad If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad Str Return TupleLoad NameLoad SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Str Assign NameStore Call NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore ListLoad Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Index Num Assign SubscriptStore NameLoad Index NameLoad ListLoad NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad orelse Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num Assign NameStore SubscriptLoad SubscriptLoad Call AttributeLoad NameLoad attr Index Num Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore NameLoad Assign NameStore Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareGt BinOpSub NameLoad NameLoad NameLoad body Delete SubscriptDel NameLoad Index NameLoad orelse Break Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str Call NameLoad NameLoad If CompareEq NameLoad Num body Assign NameStore Str orelse If CompareLt NameLoad NameLoad body Assign NameStore Str orelse If CompareLt NameLoad NameLoad body Assign NameStore Str orelse Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Return TupleLoad NameLoad Str Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Assign NameStore Str If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num orelse Assign NameStore Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body If CompareIn SubscriptLoad SubscriptLoad NameLoad Index Num Index Num NameLoad body Delete SubscriptDel NameLoad Index SubscriptLoad SubscriptLoad NameLoad Index Num Index Num If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num orelse Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index BinOpSub Call NameLoad NameLoad Num Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Str Assign NameStore Call NameLoad For NameStore Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad Call AttributeLoad NameLoad attr Str attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign NameStore ListLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore NameLoad Index Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad ListLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults SubscriptLoad NameLoad Index Num keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Num If CompareGt Call NameLoad NameLoad Num body For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore BinOpAdd NameLoad BinOpMult Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Assign NameStore BinOpDiv NameLoad Call NameLoad NameLoad Return NameLoad orelse Return Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad If CompareEq NameLoad Num body Return TupleLoad NameLoad NameLoad orelse For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad body Assign NameStore ListLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore NameLoad Index SubscriptLoad AttributeLoad NameLoad attr Index NameLoad ListLoad NameLoad If UnaryOpNot CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad Assign NameStore Call NameLoad BinOpSub Call NameLoad NameLoad Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad If CompareNotEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad Return TupleLoad NameLoad Str Return TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad Return TupleLoad NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore NameLoad Return TupleLoad NameLoad Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A rospkg N/A rospy N/A sys N/A xml.etree.ElementTree ET N/A calendar N/A time N/A random datetime datetime os.path expanduser collections OrderedDict random randint codecs open rapp_platform_ros_communications.srv ontologySubSuperClassesOfSrv ontologySubSuperClassesOfSrvRequest ontologySubSuperClassesOfSrvResponse testSelectorSrv testSelectorSrvResponse createOntologyAliasSrv createOntologyAliasSrvRequest createOntologyAliasSrvResponse userPerformanceCognitveTestsSrv userPerformanceCognitveTestsSrvRequest userPerformanceCognitveTestsSrvResponse cognitiveTestsOfTypeSrv cognitiveTestsOfTypeSrvRequest cognitiveTestsOfTypeSrvResponse fetchDataSrv fetchDataSrvRequest fetchDataSrvResponse rapp_platform_ros_communications.msg StringArrayMsg TestSelector N/A N/A N/A lookBackTimeStamp 15552000000 chooserFunction N/A N/A self req N/A N/A N/A N/A N/A res N/A testSelectorSrvResponse N/A currentTimestamp N/A int N/A N/A time time N/A N/A returnWithError modifier1 modifier2 N/A N/A self loadParamDifficultyModifiers res N/A returnWithError N/A N/A res N/A N/A returnWithError userOntologyAlias N/A N/A self getUserOntologyAlias N/A req username res N/A returnWithError N/A N/A res N/A N/A returnWithError userLanguage N/A N/A self getUserLanguage N/A req username res N/A returnWithError N/A N/A res N/A N/A returnWithError testTypesList N/A N/A self getTestTypesFromOntology res N/A returnWithError N/A N/A res N/A N/A N/A req testType N/A N/A testType N/A N/A self determineTestTypeIfNotProvided res testTypesList userOntologyAlias N/A N/A N/A N/A req testType testTypesList N/A N/A N/A N/A N/A res trace append testType provided does not exist N/A N/A res error testType provided does not exist N/A N/A res success False N/A res N/A N/A testType N/A req testType N/A N/A chosenDif noUserPerformanceRecordsExist userPerfOrganizedByTimestamp N/A N/A self organizeUserPerformanceByTimestampAndDetermineTestDifficulty testType userOntologyAlias currentTimestamp N/A self lookBackTimeStamp res modifier1 modifier2 N/A N/A returnWithError testsOfTypeOrdered N/A N/A self getCognitiveTestsOfType testType userLanguage chosenDif res N/A returnWithError N/A N/A res N/A N/A finalTestFilePath finalTestname N/A N/A self getLRUtestOfTypeAndXmlPath testsOfTypeOrdered noUserPerformanceRecordsExist userPerfOrganizedByTimestamp N/A tmpList N/A N/A finalTestname split # N/A N/A res test N/A tmpList N/A 1 N/A rospack N/A N/A rospkg RosPack N/A localPackagePath N/A N/A rospack get_path rapp_cognitive_exercise N/A finalTestFilePath N/A localPackagePath finalTestFilePath N/A N/A N/A N/A res trace append finalTestFilePath N/A N/A N/A self retrieveDataFromTestXml finalTestFilePath res userLanguage N/A N/A res language userLanguage N/A N/A res success True N/A N/A N/A IndexError N/A N/A N/A N/A N/A res trace append Null pointer exception.. some argument was empty N/A N/A res error Null pointer exception.. some argument was empty N/A N/A res success False N/A N/A IOError N/A N/A N/A res success False N/A N/A N/A N/A res trace append IO Error, cant open file or read data N/A N/A res error IO Error, cant open file or read data N/A res N/A getUserLanguage N/A N/A self username res N/A N/A N/A serv_topic N/A N/A rospy get_param rapp_mysql_wrapper_user_fetch_data_topic N/A knowrob_service N/A N/A rospy ServiceProxy serv_topic fetchDataSrv N/A fetchDataSrvReq N/A fetchDataSrvRequest N/A N/A fetchDataSrvReq req_cols N/A language N/A N/A fetchDataSrvReq where_data N/A N/A StringArrayMsg s N/A username username N/A fetchDataSrvResponse N/A knowrob_service fetchDataSrvReq N/A N/A N/A N/A fetchDataSrvResponse success data True N/A N/A N/A N/A N/A res trace extend N/A fetchDataSrvResponse trace N/A N/A res error N/A N/A fetchDataSrvResponse trace N/A 0 N/A N/A res success False N/A N/A True N/A N/A False N/A N/A N/A N/A fetchDataSrvResponse res_data N/A 0 s N/A 0 N/A getTestTypesFromOntology N/A N/A self res N/A N/A N/A serv_topic N/A N/A rospy get_param rapp_knowrob_wrapper_subclasses_of_topic N/A knowrob_service N/A N/A rospy ServiceProxy serv_topic ontologySubSuperClassesOfSrv N/A testTypesReq N/A ontologySubSuperClassesOfSrvRequest N/A N/A testTypesReq ontology_class CognitiveTests N/A testTypesResponse N/A knowrob_service testTypesReq N/A N/A N/A testTypesResponse success True N/A N/A N/A N/A N/A res trace extend N/A testTypesResponse trace N/A N/A N/A N/A res trace append cannot load test categories from ontology N/A N/A res error N/A N/A testTypesResponse error cannot load test categories from ontology N/A N/A res success False N/A N/A True N/A testTypesList N/A N/A s N/A testTypesResponse results N/A N/A tmpList N/A N/A s split # N/A N/A N/A testTypesList append N/A tmpList N/A 1 N/A N/A False testTypesList N/A determineTestTypeIfNotProvided N/A N/A self res testTypesList userOntologyAlias N/A N/A N/A serv_topic N/A N/A rospy get_param rapp_knowrob_wrapper_user_performance_cognitve_tests N/A N/A N/A N/A res trace append no test type provided, will use least recently used N/A noRecordsList N/A N/A d1 N/A OrderedDict N/A s testTypesList N/A N/A userPerformanceReq N/A userPerformanceCognitveTestsSrvRequest N/A N/A userPerformanceReq test_type s N/A N/A userPerformanceReq ontology_alias userOntologyAlias N/A knowrob_service N/A N/A rospy ServiceProxy serv_topic userPerformanceCognitveTestsSrv N/A userPerformanceResponse N/A knowrob_service userPerformanceReq N/A N/A N/A userPerformanceResponse success True N/A N/A N/A N/A noRecordsList append s N/A N/A tmpUserPerfOrganizedByTimestamp N/A N/A self organizeUserPerformance userPerformanceResponse N/A t1 N/A N/A N/A N/A tmpUserPerfOrganizedByTimestamp items N/A 0 N/A 0 N/A N/A d1 N/A t1 N/A s N/A N/A N/A len noRecordsList 0 N/A N/A testType N/A N/A random choice noRecordsList N/A N/A N/A N/A res trace append N/A made random choice from the test types which were never used by the user, choice was:  testType N/A N/A d1 N/A OrderedDict N/A sorted N/A N/A d1 items key N/A N/A N/A t N/A N/A t N/A 0 N/A testType N/A N/A N/A N/A d1 values N/A 0 N/A 0 N/A N/A N/A N/A res trace append N/A all test types had performance records.. least recently used one was : testType N/A testType N/A organizeUserPerformanceByTimestampAndDetermineTestDifficulty N/A N/A self testType userOntologyAlias currentTimestamp lookBackTimeStamp res modifier1 modifier2 N/A N/A N/A noUserPerformanceRecordsExist False N/A chosenDif 1 N/A userPerformanceReq N/A userPerformanceCognitveTestsSrvRequest N/A N/A userPerformanceReq test_type testType N/A N/A userPerformanceReq ontology_alias userOntologyAlias N/A serv_topic N/A N/A rospy get_param rapp_knowrob_wrapper_user_performance_cognitve_tests N/A knowrob_service N/A N/A rospy ServiceProxy serv_topic userPerformanceCognitveTestsSrv N/A userPerformanceResponse N/A knowrob_service userPerformanceReq N/A userPerfOrganizedByTimestamp N/A N/A N/A N/A userPerformanceResponse success True N/A N/A N/A N/A N/A res trace extend N/A userPerformanceResponse trace N/A N/A N/A N/A res trace append KnowRob wrapper returned no performance records for this user.. will start with a a difficulty setting of 1 N/A noUserPerformanceRecordsExist True N/A N/A userPerfOrganizedByTimestamp N/A N/A self organizeUserPerformance userPerformanceResponse N/A N/A k v N/A N/A userPerfOrganizedByTimestamp items N/A N/A N/A N/A currentTimestamp k lookBackTimeStamp N/A N/A N/A userPerfOrganizedByTimestamp N/A k N/A N/A N/A userScore N/A N/A self calculateUserScore userPerfOrganizedByTimestamp N/A N/A N/A N/A res trace append N/A user score : N/A str userScore N/A N/A userScore 0 N/A N/A chosenDif 1 N/A N/A N/A userScore modifier1 N/A N/A chosenDif 1 N/A N/A N/A userScore modifier2 N/A N/A chosenDif 2 N/A N/A chosenDif 3 N/A N/A N/A N/A res trace append N/A Chosen Diff : chosenDif N/A N/A chosenDif noUserPerformanceRecordsExist userPerfOrganizedByTimestamp N/A getCognitiveTestsOfType N/A N/A self testType userLanguage chosenDif res N/A N/A N/A serv_topic N/A N/A rospy get_param rapp_knowrob_wrapper_cognitive_tests_of_type N/A cognitiveTestsOfTypeSrvReq N/A cognitiveTestsOfTypeSrvRequest N/A N/A cognitiveTestsOfTypeSrvReq test_type testType N/A N/A cognitiveTestsOfTypeSrvReq test_language userLanguage N/A knowrob_service N/A N/A rospy ServiceProxy serv_topic cognitiveTestsOfTypeSrv N/A cognitiveTestsOfTypeResponse N/A knowrob_service cognitiveTestsOfTypeSrvReq N/A N/A N/A cognitiveTestsOfTypeResponse success True N/A N/A N/A N/A N/A res trace extend N/A cognitiveTestsOfTypeResponse trace N/A N/A res error N/A cognitiveTestsOfTypeResponse error N/A N/A res success False N/A N/A True N/A N/A success testsOfTypeOrdered N/A N/A self filterTestsbyDifficulty cognitiveTestsOfTypeResponse chosenDif res N/A N/A success N/A N/A N/A N/A N/A res trace append Error, no tests of type contained in the ontology... cannot proceed N/A N/A res error Error, no tests of type contained in the ontology... cannot proceed N/A N/A res success False N/A N/A True N/A N/A False testsOfTypeOrdered N/A getLRUtestOfTypeAndXmlPath N/A N/A self testsOfTypeOrdered noUserPerformanceRecordsExist userPerfOrganizedByTimestamp N/A N/A N/A finalTestname N/A finalTestFilePath N/A noUserPerformanceRecordsExist N/A N/A finalTestname N/A N/A random choice N/A N/A testsOfTypeOrdered keys N/A finalTest N/A testsOfTypeOrdered N/A finalTestname N/A finalTestFilePath N/A N/A finalTest N/A 0 N/A 0 N/A N/A testsOfTypeOrderedCopy N/A N/A testsOfTypeOrdered copy N/A N/A k v N/A N/A userPerfOrganizedByTimestamp items N/A N/A N/A N/A N/A v N/A 0 N/A 0 testsOfTypeOrderedCopy N/A N/A N/A testsOfTypeOrderedCopy N/A N/A N/A v N/A 0 N/A 0 N/A N/A N/A len testsOfTypeOrderedCopy 0 N/A N/A finalTestname N/A N/A random choice N/A N/A testsOfTypeOrderedCopy keys N/A finalTest N/A testsOfTypeOrderedCopy N/A finalTestname N/A finalTestFilePath N/A N/A finalTest N/A 0 N/A 0 N/A N/A finalTestname N/A N/A N/A userPerfOrganizedByTimestamp values N/A N/A N/A len userPerfOrganizedByTimestamp 1 N/A finalTestname N/A N/A finalTestname N/A 0 N/A 0 N/A finalTest N/A testsOfTypeOrdered N/A finalTestname N/A finalTestFilePath N/A N/A finalTest N/A 0 N/A 0 N/A N/A finalTestFilePath finalTestname N/A retrieveDataFromTestXml N/A N/A self finalTestFilePath res userLanguage N/A N/A N/A tree N/A N/A ET parse finalTestFilePath N/A root N/A N/A tree getroot N/A N/A res testType N/A N/A N/A N/A N/A root find testType text encode UTF-8 N/A N/A res testSubType N/A N/A N/A N/A N/A root find testSubType text encode UTF-8 N/A language N/A N/A root find Languages N/A question N/A N/A language find userLanguage N/A N/A N/A N/A N/A res questions append N/A N/A N/A N/A N/A question find body text encode UTF-8 N/A N/A N/A N/A res correctAnswers append N/A N/A N/A N/A N/A question find correctAnswer text encode UTF-8 N/A line N/A StringArrayMsg N/A answers N/A N/A question findall answer N/A N/A N/A N/A N/A line s append N/A N/A N/A N/A N/A answers find body text encode UTF-8 N/A N/A N/A N/A res answers append line N/A organizeUserPerformance N/A N/A self userPerf N/A N/A N/A d N/A OrderedDict N/A i N/A range N/A len N/A userPerf tests N/A N/A tlist N/A N/A N/A userPerf tests N/A i N/A N/A userPerf scores N/A i N/A N/A userPerf difficulty N/A i N/A N/A d N/A N/A int N/A N/A userPerf timestamps N/A i N/A tlist N/A d N/A OrderedDict N/A sorted N/A N/A d items key N/A N/A N/A t N/A N/A t N/A 0 reverse True N/A d N/A calculateUserScore N/A N/A self d N/A N/A N/A score 0 N/A N/A N/A len d 0 N/A N/A N/A k v N/A N/A d items N/A N/A score N/A score N/A N/A int N/A N/A v N/A 0 N/A 1 N/A int N/A N/A v N/A 0 N/A 2 N/A score N/A score N/A len d N/A score N/A N/A 0 N/A filterTestsbyDifficulty N/A N/A self testsOfType chosenDif res N/A N/A N/A success False N/A d N/A dict N/A intDif N/A int chosenDif N/A N/A intDif 0 N/A N/A N/A success d N/A N/A i N/A range N/A len N/A testsOfType tests N/A N/A N/A N/A N/A testsOfType difficulty N/A i chosenDif N/A N/A tlist N/A N/A N/A testsOfType file_paths N/A i N/A N/A testsOfType difficulty N/A i N/A N/A testsOfType subtype N/A i N/A N/A d N/A N/A N/A testsOfType tests N/A i N/A tlist N/A N/A N/A N/A len d 0 N/A N/A N/A N/A N/A res trace append N/A downscaling difficulty by 1 as no test exists for diff =  chosenDif N/A chosenDif N/A str N/A N/A int chosenDif 1 N/A N/A success d N/A N/A self filterTestsbyDifficulty testsOfType chosenDif res N/A N/A success True N/A N/A success d N/A getUserOntologyAlias N/A N/A self username res N/A N/A N/A serv_topic N/A N/A rospy get_param rapp_knowrob_wrapper_create_ontology_alias N/A knowrob_service N/A N/A rospy ServiceProxy serv_topic createOntologyAliasSrv N/A createOntologyAliasReq N/A createOntologyAliasSrvRequest N/A N/A createOntologyAliasReq username username N/A createOntologyAliasResponse N/A knowrob_service createOntologyAliasReq N/A N/A N/A createOntologyAliasResponse success True N/A N/A N/A N/A N/A res trace extend N/A createOntologyAliasResponse trace N/A N/A res error N/A createOntologyAliasResponse error N/A N/A res success False N/A returnWithError True N/A N/A True N/A N/A False N/A createOntologyAliasResponse ontology_alias N/A loadParamDifficultyModifiers N/A N/A self res N/A N/A N/A modifier1 N/A N/A rospy get_param rapp_cognitive_test_selector_difficulty_modifier_1_from_1_to_2 N/A N/A modifier1 N/A N/A N/A N/A rospy logerror rapp_cognitive_test_selector_difficulty_modifier_1_from_1_to_2 param not found N/A N/A N/A N/A res trace extend rapp_cognitive_test_selector_difficulty_modifier_1_from_1_to_2 param not found N/A N/A res error rapp_cognitive_test_selector_difficulty_modifier_1_from_1_to_2 param not found N/A N/A res success False N/A returnWithError True N/A N/A True N/A modifier2 N/A N/A rospy get_param rapp_cognitive_test_selector_difficulty_modifier_2_from_2_to_3 N/A N/A modifier2 N/A N/A N/A N/A rospy logerror rapp_cognitive_test_selector_difficulty_modifier_2_from_2_to_3 param not found N/A N/A N/A N/A res trace extend rapp_cognitive_test_selector_difficulty_modifier_2_from_2_to_3 param not found N/A N/A res error rapp_cognitive_test_selector_difficulty_modifier_2_from_2_to_3 param not found N/A N/A res success False N/A returnWithError True N/A N/A True N/A modifier1 N/A int modifier1 N/A modifier2 N/A int modifier2 N/A N/A False modifier1 modifier2 N/A N/A