Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#99)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sumanth Ratna <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and sumanthratna authored Jan 31, 2022
1 parent d065c83 commit 3c9ea78
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ repos:
- id: check-toml
- id: check-xml
- repo: https://github.com/psf/black
rev: 21.12b0
rev: 22.1.0
hooks:
- id: black
2 changes: 1 addition & 1 deletion judge/crowd_bt.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def _updated_annotator(
c_1 * (alpha + 2) * (alpha + 1) * alpha + c_2 * (alpha + 1) * alpha * beta
) / (c * (alpha + beta + 2) * (alpha + beta + 1) * (alpha + beta))

variance = expt_sq - expt ** 2
variance = expt_sq - expt**2
updated_alpha = ((expt - expt_sq) * expt) / variance
updated_beta = (expt - expt_sq) * (1 - expt) / variance

Expand Down
41 changes: 29 additions & 12 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ django-sendgrid-v5 = "^1.1.1"
pymemcache = "^3.4.1"

[tool.poetry.dev-dependencies]
black = "^21.12b0"
black = "^22.1.0"
diagrams = "^0.21.0"
scour = "^0.38.2"
pre-commit = "^2.10.1"
Expand Down

0 comments on commit 3c9ea78

Please sign in to comment.