MCPcopy Create free account

hub / github.com/amplab/ampcrowd / functions

Functions136 in github.com/amplab/ampcrowd

↓ 33 callersMethodsave
(self, *args, **kwargs)
ampcrowd/basecrowd/models.py:443
↓ 12 callersMethodget_registry_entry
(cls, crowd_name)
ampcrowd/basecrowd/interface.py:293
↓ 9 callersMethodrequire_context
(context_dictionary, required_keys, exc)
ampcrowd/basecrowd/interface.py:220
↓ 6 callersMethodadd_rel
(from_cls, to_cls, relation_cls, relation_name, related_name=None, **field_kwargs)
ampcrowd/basecrowd/models.py:551
↓ 6 callersFunctionget_amt_connection
Get a connection object to communicate with the AMT API.
ampcrowd/amt/connection.py:37
↓ 4 callersMethodcompleted_assignments_for_pool_session
(self, session_task)
ampcrowd/basecrowd/models.py:168
↓ 4 callersMethodget_registry
(cls)
ampcrowd/basecrowd/interface.py:302
↓ 3 callersFunctionadd_retainer_config
(req_data, retainer)
scripts/post.py:60
↓ 3 callersMethodget_response_context
Extract response data from a request. `request` is a Django HttpRequest object created when the crowd interface posts data from an a
ampcrowd/basecrowd/interface.py:143
↓ 3 callersFunctionsend_request
(data, crowds, num_requests, use_ssl)
scripts/post.py:37
↓ 2 callersFunction_finish_pool
(pool, model_spec)
ampcrowd/basecrowd/views.py:737
↓ 2 callersFunction_get_assignment
(request, crowd_name, interface, model_spec, context, **custom_template_context)
ampcrowd/basecrowd/views.py:223
↓ 2 callersFunctionassignment_exists
(assignment)
ampcrowd/amt/connection.py:129
↓ 2 callersMethodassignments_for_pool_session
(self, session_task)
ampcrowd/basecrowd/models.py:163
↓ 2 callersFunctionbuild_context
(task_type_map, total_tasks_by_type, worker_id, task_type=None, task_type_obj=None)
ampcrowd/internal/views.py:69
↓ 2 callersMethodcompute_bonus
(self, waiting_rate, task_rate, list_rate, logger=None)
ampcrowd/basecrowd/models.py:325
↓ 2 callersMethodcompute_speed
(self, desired_mean, model_spec, logger=None, alpha=1, **assignment_filter_kwargs)
ampcrowd/basecrowd/models.py:172
↓ 2 callersMethodcreate_task
Do the necessary work to create a task on the crowd platform. For example, create a HIT on AMT using the APIs. `configuration` is a
ampcrowd/basecrowd/interface.py:26
↓ 2 callersMethoddelete_tasks
Delete multiple tasks on the crowd platform. `task_objects` is a queryset containing multiple instances of this crowd's task_model.
ampcrowd/basecrowd/interface.py:108
↓ 2 callersMethodfinish_waiting_session
(self)
ampcrowd/basecrowd/models.py:367
↓ 2 callersMethodget_assignment_url
Return a url path to the view which will produce the task interface. Subclasses shouldn't need to override this.
ampcrowd/basecrowd/interface.py:200
↓ 2 callersMethodget_eligible_tasks
(worker_id)
ampcrowd/internal/interface.py:47
↓ 2 callersFunctionget_scoped_template
(crowd_name, template_name, context=None)
ampcrowd/basecrowd/views.py:353
↓ 2 callersMethodregister_crowd
(cls, interface, **model_classes)
ampcrowd/basecrowd/interface.py:283
↓ 2 callersMethodtask_pre_save
Process newly created task objects before they are saved to the DB. `task_object` will be an UNSAVED object with the `task_model` class
ampcrowd/basecrowd/interface.py:38
↓ 1 callersMethodConfusionMatrix
(self, worker_to_example_label, example_to_softlabel)
ampcrowd/basecrowd/quality_control/em.py:81
↓ 1 callersMethodExpectationMaximization
(self, iterr = 10)
ampcrowd/basecrowd/quality_control/em.py:173
↓ 1 callersMethodInitConfusionMatrix
(self, workers, label_set)
ampcrowd/basecrowd/quality_control/em.py:158
↓ 1 callersMethodInitPriorityProbability
(self, label_set)
ampcrowd/basecrowd/quality_control/em.py:152
↓ 1 callersMethodPriorityProbability
(self, example_to_softlabel)
ampcrowd/basecrowd/quality_control/em.py:118
↓ 1 callersMethodProbabilityMajorityVote
(self, example_to_worker_label, label_to_priority_probability, worker_to_confusion_matrix)
ampcrowd/basecrowd/quality_control/em.py:128
↓ 1 callersMethodadd_model_rels
(self)
ampcrowd/basecrowd/models.py:556
↓ 1 callersFunctionbonus_worker
(worker, assignment, amount, reason)
ampcrowd/amt/connection.py:155
↓ 1 callersMethodcost
(self, waiting_rate, task_rate, list_rate, assignment_model)
ampcrowd/basecrowd/models.py:450
↓ 1 callersFunctioncreate_hit
Create a new HIT on AMT. `hit_options` is a dictionary that can contain: * `title`: The title that will show up in AMT's HIT listin
ampcrowd/amt/connection.py:46
↓ 1 callersFunctioncreate_query_results
(query_ids)
ampcrowd/results_dashboard/post.py:45
↓ 1 callersFunctioncreate_tasks
(crowds, task_types, use_ssl, retainer)
scripts/post.py:74
↓ 1 callersFunctiondisable_hit
(task)
ampcrowd/amt/connection.py:118
↓ 1 callersFunctionexpire_hit
(task)
ampcrowd/amt/connection.py:107
↓ 1 callersMethodexpire_tasks
Expire multiple tasks on the crowd platform. Expiration means making the task no longer available for new workers to accept. It does
ampcrowd/basecrowd/interface.py:93
↓ 1 callersMethodexpired_tasks
(self, task_model)
ampcrowd/basecrowd/models.py:495
↓ 1 callersFunctionfinish_pool
(crowd, pool_id, use_ssl)
scripts/finish_pool.py:58
↓ 1 callersFunctionget_amt_connection
Get a connection object to communicate with the AMT API.
scripts/clear_hits.py:18
↓ 1 callersMethodget_assignment_context
Extract crowd context from a request for the interface. `request` is a Django HttpRequest object created when the crowd platform req
ampcrowd/basecrowd/interface.py:119
↓ 1 callersMethodget_backend_submit_url
Return a url path to the view which will handle crowd responses. Subclasses shouldn't need to override this.
ampcrowd/basecrowd/interface.py:207
↓ 1 callersMethodget_frontend_submit_url
Returns a url path to redirect to after a worker submits a task.
ampcrowd/basecrowd/interface.py:195
↓ 1 callersMethodgroup_pre_save
Process new task group objects before they are saved to the DB. `group_object` will be an UNSAVED object with the `group_model` class
ampcrowd/basecrowd/interface.py:52
↓ 1 callersFunctionmain
()
scripts/kill.py:20
↓ 1 callersFunctionmain
(options)
scripts/clear_hits.py:15
↓ 1 callersFunctionmain
()
scripts/status.py:20
↓ 1 callersMethodmean_empirical_speed
(self, desired_mean, **assignment_filter_kwargs)
ampcrowd/basecrowd/models.py:228
↓ 1 callersMethodmean_termination_speed
(self, model_spec, alpha=1)
ampcrowd/basecrowd/models.py:193
↓ 1 callersMethodnew_expired_tasks
(self, task_model)
ampcrowd/basecrowd/models.py:504
↓ 1 callersFunctionparse_args
()
scripts/finish_pool.py:67
↓ 1 callersFunctionparse_args
()
scripts/post.py:176
↓ 1 callersFunctionparse_args
()
scripts/clear_hits.py:41
↓ 1 callersFunctionparse_args
()
ampcrowd/results_dashboard/post.py:71
↓ 1 callersMethodpay_worker_bonus
Pay an additional bonus to a worker. `worker_object` is an instance of this crowd's worker model, `task_object` is an instance of th
ampcrowd/basecrowd/interface.py:66
↓ 1 callersFunctionpurge_all_hits
(options)
scripts/clear_hits.py:26
↓ 1 callersFunctionreject_assignment
(assignment, reason)
ampcrowd/amt/connection.py:141
↓ 1 callersMethodresponse_pre_save
Process new responses before they are saved to the DB. `assignment_object` will be an UNSAVED object of the `assignment_model` class
ampcrowd/basecrowd/interface.py:181
↓ 1 callersFunctionsend_request
(data, crowd, use_ssl)
scripts/finish_pool.py:37
↓ 1 callersFunctionsend_request
(data)
ampcrowd/results_dashboard/post.py:36
↓ 1 callersFunctionsubmit_callback_answer
(current_task, model_spec)
ampcrowd/basecrowd/tasks.py:44
↓ 1 callersMethodvalidate_configuration
Validate crowd-specific configuration options. `configuration` is a dictionary of crowd-specific options as specified by the API. Th
ampcrowd/basecrowd/interface.py:15
↓ 1 callersMethodvalidate_create_request
(self, request_json)
ampcrowd/basecrowd/interface.py:225
↓ 1 callersMethodworker_pre_save
Process new worker objects before they are saved to the DB. `worker_object` will be an UNSAVED object of the `worker_model` class ac
ampcrowd/basecrowd/interface.py:167
Method__init__
(self, *args, **kwargs)
scripts/finish_pool.py:19
Method__init__
(self, *args, **kwargs)
scripts/post.py:19
Method__init__
(self, *args, **kwargs)
ampcrowd/results_dashboard/post.py:16
Method__init__
(self, crowd_name, task_model, group_model, worker_model,
ampcrowd/basecrowd/models.py:537
Method__init__
(self, crowd_name)
ampcrowd/basecrowd/interface.py:11
Method__init__
(self, example_to_worker_label, worker_to_example_label, label_set)
ampcrowd/basecrowd/quality_control/em.py:76
Method__unicode__
(self)
ampcrowd/amt/models.py:28
Method__unicode__
(self)
ampcrowd/basecrowd/models.py:65
Method__unicode__
(self)
ampcrowd/basecrowd/models.py:129
Method__unicode__
(self)
ampcrowd/basecrowd/models.py:257
Method__unicode__
(self)
ampcrowd/basecrowd/models.py:385
Method__unicode__
(self)
ampcrowd/basecrowd/models.py:459
Method__unicode__
(self)
ampcrowd/basecrowd/models.py:532
Methodactive_workers
(self)
ampcrowd/basecrowd/models.py:465
Methodamount_paid
(self)
ampcrowd/basecrowd/models.py:321
Functionassign_retainer_task
(request, crowd_name)
ampcrowd/basecrowd/views.py:506
Functionchurn_workers
()
ampcrowd/basecrowd/tasks.py:408
Functioncompute_pool_speed
(pool_id, model_spec)
ampcrowd/basecrowd/tasks.py:551
Methodcompute_speed
(self, logger=None)
ampcrowd/basecrowd/models.py:484
Functioncompute_speed_stats
(model_spec)
ampcrowd/basecrowd/tasks.py:525
Functioncompute_speeds
()
ampcrowd/basecrowd/tasks.py:490
Functioncompute_worker_speed
(worker_id, model_spec)
ampcrowd/basecrowd/tasks.py:544
Methodcomputelikelihood
(self,w2cm,l2pd,e2wl)
ampcrowd/basecrowd/quality_control/em.py:194
Methodconnect
(self)
scripts/finish_pool.py:22
Methodconnect
(self)
scripts/post.py:22
Methodconnect
(self)
ampcrowd/results_dashboard/post.py:19
Methodcreate_task
(configuration, content)
ampcrowd/amt/interface.py:30
Functioncreate_task_group
See README.md for API.
ampcrowd/basecrowd/views.py:30
Functiondebug_task
(self)
ampcrowd/crowd_server/celery.py:24
Functiondelete_query
(request, query_id)
ampcrowd/results_dashboard/views.py:117
Methoddelete_tasks
(task_objects)
ampcrowd/amt/interface.py:50
Methodexpire_tasks
(task_objects)
ampcrowd/amt/interface.py:45
Functionfake_submit_endpoint
(request)
ampcrowd/internal/views.py:19
next →1–100 of 136, ranked by callers