Module ImportFrom alias alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn Str Call AttributeLoad SubscriptLoad NameLoad Index Str attr body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str BinOpAdd BinOpAdd NameLoad Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad For NameStore SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Dict For NameStore SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str Return Dict Str Str Call AttributeLoad NameLoad attr keyword NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str handlers ExceptHandler body Return TupleLoad Dict Str Str Str Str Str Num Str Str Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Print NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str NameLoad Print NameLoad NameLoad NameLoad Return Dict Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Lambda arguments args NameParam defaults Call NameLoad Call NameLoad NameLoad Num TryExcept body For NameStore SubscriptLoad NameLoad Index Str body TryExcept body If CompareIn Str Call AttributeLoad NameLoad attr body TryExcept body Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Str handlers ExceptHandler body Print Str handlers ExceptHandler body Pass handlers ExceptHandler body Pass Return Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str Num Print NameLoad Return Dict Str NameLoad decorator_list decorator_list
N/A jinja2 Environment FileSystemLoader N/A requests N/A json N/A os N/A next.broker.broker next.api.resource_manager ResourceManager next.api.targetmapper TargetMapper N/A TEMPLATES_DIRECTORY N/A N/A N/A os path dirname __file__ N/A loader N/A FileSystemLoader TEMPLATES_DIRECTORY N/A env N/A Environment loader loader N/A resource_manager N/A ResourceManager N/A broker N/A N/A N/A N/A next broker broker JobBroker N/A targetmapper N/A TargetMapper WidgetGenerator N/A N/A getQuery N/A N/A self args N/A N/A N/A 
        Generates a getQuery widget. Uses the args format as specified in::

    		/next_backend/next/learningLibs/apps/PoolBasedTripletMDS
        
        Input: ::

        	(dict) args 
        
        Output: ::

		(str) getQuery widget.
         N/A exp_uid N/A args N/A exp_uid N/A app_id N/A args N/A app_id N/A N/A participant_uid N/A N/A N/A args N/A args keys N/A N/A N/A N/A args N/A args N/A participant_uid N/A N/A exp_uid _ N/A N/A args N/A args N/A participant_uid N/A args_json N/A N/A json dumps N/A args N/A args N/A N/A response_json didSucceed message N/A N/A broker applyAsync app_id exp_uid getQuery args_json N/A response_dict N/A N/A json loads response_json N/A target_index N/A response_dict N/A target_indices N/A N/A N/A target_index N/A target N/A N/A targetmapper get_target_data exp_uid N/A target_index N/A index N/A query N/A N/A target N/A response_dict N/A target_indices N/A N/A N/A query N/A N/A target N/A label N/A target N/A target N/A template N/A N/A env get_template getQuery_widget.html N/A N/A html args N/A N/A template render query query response_dict N/A processAnswer N/A N/A self args N/A N/A N/A 
        Generates a processAnswer widget. Uses the args format as specified in::

    		/next_backend/next/learningLibs/apps/PoolBasedTripletMDS
        
        Input: ::

        	(dict) args 
         N/A exp_uid N/A args N/A exp_uid N/A app_id N/A N/A resource_manager get_app_id exp_uid N/A N/A N/A target_winner N/A N/A args N/A args N/A target_winner N/A N/A N/A N/A N/A N/A message code status base_error Failed to specify all arguments or misformed arguments 400 FAIL [target_winner]. Missing required parameter in the JSON body or the post body or the query string 400 N/A index_winner N/A int N/A N/A targetmapper get_index_given_targetID exp_uid target_winner N/A N/A N/A args N/A args N/A index_winner index_winner N/A args N/A args_json N/A N/A json dumps N/A args N/A args N/A N/A response_json didSucceed message N/A N/A broker applyAsync app_id exp_uid processAnswer args_json N/A response_json didSucceed message N/A N/A html success N/A getStats N/A N/A self args N/A N/A N/A 
        Generates a getStats widget. Uses the args format as specified in::

        /next_backend/next/learningLibs/apps/PoolBasedTripletMDS

        Returns a JSON object with the appropriate stats. Eventually modify to push the whole plot forward.
        Input: ::

        (dict) args 
         N/A exp_uid N/A args N/A exp_uid N/A app_id N/A N/A resource_manager get_app_id exp_uid N/A args_json N/A N/A json dumps N/A args N/A args N/A N/A response_json didSucceed message N/A N/A broker applyAsync app_id exp_uid getStats args_json N/A response_dict N/A N/A json loads response_json parse_float N/A N/A N/A o N/A N/A round N/A float o 4 N/A N/A N/A d N/A response_dict N/A data N/A N/A N/A N/A N/A index N/A N/A d keys N/A N/A N/A N/A N/A d N/A target N/A N/A targetmapper get_target_data exp_uid N/A d N/A index N/A N/A N/A N/A failed to get target N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A json response_dict N/A getInfo N/A N/A self args N/A N/A N/A 
        Generates a getInfo widget. Uses the args format as specified in::

            /next_backend/next/learningLibs/apps/PoolBasedTripletMDS
        
        Input: ::

            (dict) args 
         N/A info N/A N/A response N/A N/A resource_manager get_experiment N/A args N/A exp_uid N/A N/A info N/A instructions N/A N/A response get instructions Click on bottom target that is most similar to the top. N/A N/A info N/A debrief N/A N/A response get debrief Thanks for participating N/A N/A info N/A num_tries N/A N/A response get num_tries 100 N/A info N/A N/A response info N/A N/A