Skip to content

bench-kit v0.5.1: readable tiny numbers and sign-test p - #6

Merged
aaronjmars merged 1 commit into
mainfrom
fix/tiny-number-format
Oct 13, 2026
Merged

aaronjmars merged 1 commit into
mainfrom
fix/tiny-number-format

Conversation

@aaronjmars

Copy link
Copy Markdown
Collaborator

Render fix found on refusal-benchmark: a sign test over 520 tasks printed p as 0.000...0235 (about 150 digits).

  • num(): nonzero values below 1e-6 print in e-notation, 3 significant figures (2.35e-137). Costs like $0.00042 and 0.0000012 keep fixed notation.
  • Sign test prints p<0.001 below 0.001, else p=<value> as before.
  • Version 0.5.1, STANDARD.md number rule, README pins, NEXT.

Render-only: manifests and stats unchanged. A repo only needs a rerender if it has a p below 0.001 (BL003 after bumping the pin).

Verified: ruff, 78 tests pass; refusal-benchmark renders p<0.001 and lints 0/0 with this build.

Values below 1e-6 render in e-notation with 3 significant figures, and a
sign-test p below 0.001 renders as p<0.001. A 520-task comparison printed
p as a 150-digit decimal.
@aaronjmars
aaronjmars merged commit a23c55d into main Oct 13, 2026
3 checks passed
@aaronjmars
aaronjmars deleted the fix/tiny-number-format branch October 15, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant