Skip to content

fix: prevent overflow in binomial_distribution for large trials using… #21205

fix: prevent overflow in binomial_distribution for large trials using…

fix: prevent overflow in binomial_distribution for large trials using… #21205

Triggered via pull request November 12, 2026 17:59
Status Failure
Total duration 11s
Artifacts –

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 notice
ruff
Process completed with exit code 1.
ruff (W293): maths/binomial_distribution.py#L33
maths/binomial_distribution.py:33:1: W293 Blank line contains whitespace help: Remove whitespace from blank line
ruff (E501): maths/binomial_distribution.py#L31
maths/binomial_distribution.py:31:89: E501 Line too long (91 > 88)
ruff (W293): maths/binomial_distribution.py#L30
maths/binomial_distribution.py:30:1: W293 Blank line contains whitespace help: Remove whitespace from blank line
ruff (W293): maths/binomial_distribution.py#L28
maths/binomial_distribution.py:28:1: W293 Blank line contains whitespace help: Remove whitespace from blank line
ruff (F401): maths/binomial_distribution.py#L4
maths/binomial_distribution.py:4:24: F401 `math.factorial` imported but unused help: Remove unused import: `math.factorial`
ruff
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"