MCPcopy Index your code

hub / github.com/anishathalye/gavel / functions

Functions86 in github.com/anishathalye/gavel

↓ 39 callersMethodget
(self, name, env_names=None, default=NONE_SENTINEL)
gavel/settings.py:21
↓ 12 callersFunctionwith_retries
Keep retrying a function that involves a database transaction until it succeeds. This only retries due to serialization failures; all ot
gavel/models/__init__.py:22
↓ 8 callersMethodby_id
(cls, uid)
gavel/models/item.py:30
↓ 6 callersFunctionget_current_annotator
()
gavel/controllers/judge.py:155
↓ 5 callersFunction_bool
(truth_value)
gavel/settings.py:39
↓ 4 callersFunctiondivergence_gaussian
(mu_1, sigma_sq_1, mu_2, sigma_sq_2)
gavel/crowd_bt.py:27
↓ 4 callersMethodvalue_of
(cls, key)
gavel/models/setting.py:21
↓ 3 callersFunction_updated_annotator
(alpha, beta, mu_winner, sigma_sq_winner, mu_loser, sigma_sq_loser)
gavel/crowd_bt.py:86
↓ 3 callersFunction_updated_mus
(alpha, beta, mu_winner, sigma_sq_winner, mu_loser, sigma_sq_loser)
gavel/crowd_bt.py:66
↓ 3 callersFunction_updated_sigma_sqs
(alpha, beta, mu_winner, sigma_sq_winner, mu_loser, sigma_sq_loser)
gavel/crowd_bt.py:75
↓ 3 callersMethodupdate_next
(self, new_next)
gavel/models/annotator.py:38
↓ 2 callersFunctionannotator_link
(annotator)
gavel/controllers/admin.py:246
↓ 2 callersMethodby_key
(cls, key)
gavel/models/setting.py:13
↓ 2 callersFunctionchoose_next
(annotator)
gavel/controllers/judge.py:201
↓ 2 callersFunctiondivergence_beta
(alpha_1, beta_1, alpha_2, beta_2)
gavel/crowd_bt.py:33
↓ 2 callersFunctionemail_invite_links
(annotators)
gavel/controllers/admin.py:249
↓ 2 callersFunctionparse_upload_form
()
gavel/controllers/admin.py:105
↓ 2 callersFunctionperform_vote
(annotator, next_won)
gavel/controllers/judge.py:219
↓ 2 callersFunctionpreferred_items
Return a list of preferred items for the given annotator to look at next. This method uses a variety of strategies to try to select good can
gavel/controllers/judge.py:158
↓ 2 callersMethodset
(cls, key, value)
gavel/models/setting.py:29
↓ 1 callersFunction_check_send_telemetry
()
gavel/stats.py:14
↓ 1 callersFunction_list
(item)
gavel/settings.py:51
↓ 1 callersFunction_postgres_uri
(uri)
gavel/settings.py:60
↓ 1 callersFunctionallowed_file
(filename)
gavel/controllers/admin.py:100
↓ 1 callersFunctionauthenticate
()
gavel/utils.py:26
↓ 1 callersMethodby_secret
(cls, secret)
gavel/models/annotator.py:47
↓ 1 callersFunctioncheck_auth
(username, password)
gavel/utils.py:23
↓ 1 callersFunctiongather_stats
()
gavel/stats.py:26
↓ 1 callersFunctionmaybe_init_annotator
()
gavel/controllers/judge.py:191
↓ 1 callersFunctionsend_telemetry
(identifier, data)
gavel/stats.py:45
↓ 1 callersFunctionsendgrid_send_email
(to_address, subject, body)
gavel/utils.py:111
Method__init__
(self, config_file)
gavel/settings.py:12
Method__init__
(self, key, value)
gavel/models/setting.py:8
Method__init__
(self, name, email, description)
gavel/models/annotator.py:30
Method__init__
(self, annotator, winner, loser)
gavel/models/decision.py:14
Method__init__
(self, name, location, description)
gavel/models/item.py:22
Function_jinja2_filter_datetime_epoch
(datetime)
gavel/template_filters.py:11
Function_jinja2_filter_datetime_local
(datetime)
gavel/template_filters.py:5
Functionadmin
()
gavel/controllers/admin.py:20
Functionannotator
()
gavel/controllers/admin.py:141
Functionannotator_detail
(annotator_id)
gavel/controllers/admin.py:225
Functionannotator_dump
()
gavel/controllers/api.py:25
Methodapply_driver_hacks
(self, app, info, options)
gavel/models/__init__.py:7
Functionargmax
(f, xs)
gavel/crowd_bt.py:23
Functionbegin
()
gavel/controllers/judge.py:104
FunctionbuttonSelected
()
gavel/static/js/smart-button-toggle.js:1
Methodby_id
(cls, uid)
gavel/models/annotator.py:55
Functioncast_row
Convert workbook sheet cells into integers if they are equal to integer values and convert everything to a string. The xlrd library seem
gavel/utils.py:135
Functioncheck_send_telemetry
()
gavel/stats.py:8
Functioncsrf_protect
()
gavel/controllers/csrf_protection.py:6
Functiondata_from_csv_string
(string)
gavel/utils.py:45
Functiondata_to_csv_string
(data)
gavel/utils.py:39
Functiondecisions_dump
()
gavel/controllers/api.py:38
Functiondecorated
(*args, **kwargs)
gavel/utils.py:32
Functiondecorated
(*args, **kwargs)
gavel/controllers/judge.py:21
Functiondecorator
(f)
gavel/controllers/judge.py:19
Functionerror_403
(e)
gavel/controllers/error.py:12
Functionerror_404
(e)
gavel/controllers/error.py:5
Functionerror_500
(e)
gavel/controllers/error.py:19
Functionexpected_information_gain
(alpha, beta, mu_a, sigma_sq_a, mu_b, sigma_sq_b)
gavel/crowd_bt.py:46
Functionfavicon
()
gavel/controllers/default.py:6
Functiongen_secret
(length)
gavel/utils.py:20
Functiongenerate_csrf_token
()
gavel/controllers/csrf_protection.py:12
Functionget_paragraphs
(message)
gavel/utils.py:50
Functionindex
()
gavel/controllers/judge.py:43
Functionitem
()
gavel/controllers/admin.py:55
Functionitem_detail
(item_id)
gavel/controllers/admin.py:203
Functionitem_dump
()
gavel/controllers/api.py:9
Functionitem_patch
()
gavel/controllers/admin.py:124
Functionlogin
(secret)
gavel/controllers/judge.py:125
Functionlogout
()
gavel/controllers/judge.py:120
Functionrender_markdown
(content)
gavel/utils.py:126
Functionrequires_active_annotator
(redirect_to)
gavel/controllers/judge.py:29
Functionrequires_auth
(f)
gavel/utils.py:30
Functionrequires_open
(redirect_to)
gavel/controllers/judge.py:18
Functionsend_emails
Send a batch of emails. This function takes a list [(to_address, subject, body)].
gavel/utils.py:56
Functionsend_sendgrid_emails
(emails)
gavel/utils.py:99
Functionserver_error
(message)
gavel/utils.py:132
Functionsetting
()
gavel/controllers/admin.py:192
Functiontx
()
gavel/controllers/admin.py:64
Functiontx
()
gavel/controllers/judge.py:78
Functionupdate
(alpha, beta, mu_winner, sigma_sq_winner, mu_loser, sigma_sq_loser)
gavel/crowd_bt.py:40
Functionuser_error
(message)
gavel/utils.py:129
Functionvote
()
gavel/controllers/judge.py:77
Functionwelcome
()
gavel/controllers/judge.py:137
Functionwelcome_done
()
gavel/controllers/judge.py:146