Repository navigation
docs(calibration): the 1% label count holds per question type - #25
Merged
Merged
Conversation
The 299 error-free accepted FIT decisions of the 1% target are counted per type, since the thresholds are certified per type. CALIBRATION.md says so, gives the counts with one and two errors (473, 628), and notes an external set of 1,254 decisions (FIT: 462 noul, 371 choice) where no type certified 1% (lowest bound 1.2%).
Reviewer's guide (collapsed on small PRs)Reviewer's GuideDocumentation-only changes correct the 1% calibration guidance by making the per-question-type counting rule explicit, adding supporting statistical thresholds and an external example, and aligning the API and module documentation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Owner
|
Thanks! Merged for basal 2.3.1. We re-derived the counts from |
rkinas
added a commit
that referenced
this pull request
Nov 2, 2026
The short README drops its sections for 2.4.1 back to 2.0 and its previous-releases text. What they had and WHATS_NEW.md did not moves here: the 2.4.1 H100 start-up numbers, the 2.3.x community credits for #18, #21, #24 and #25, the precise 2.3 eager baselines, the 2.2 calibration summary and example, the release-note links for 2.1 to 2.3, and basal-1.5 / basal-1.0 under 'Previous releases'.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
CALIBRATION.md, API.md and the
basal-calibratedocstring say the 1% target needs 299 accepted FIT decisions withoutan error, "so in practice about 1,000 items or more". The thresholds are certified per type
(
thresholds[r].per_type), so the 299 are counted per type. Reading "1,000 items" as a total, a user with 1,000items split over
noul,choiceandscoreexpects 1% and gets none. This came up in #19 (point 3).Change
Docs only:
628; one-sided 95% Clopper-Pearson, from
calibrate.cp_upper), that a very confident error is accepted at everythreshold below it, and one external data point: on 1,254 Polish business decisions (FIT: 462
noul, 371choice) no type of five basal-2.0 / basal-omni models certified 1%; the lowest bound of any type was 1.2%, and forthe basal-omni models a few errors at 0.997-0.999 set that floor.
Verification
experiments/10-calibrate-1254/results.md, "Why nothing certifies at 1%", which quotes the tool's own reasonfor every type and model).
pytest -q testsgives the same result as main (538 passed, 18 skipped, andthe unrelated
test_mlx_gemma4_equals_torchfailure this Mac also shows on main).Refs #19
Summary by Sourcery
Clarify that 1% calibration targets require sufficient error-free evidence independently for each question type.
Enhancements:
Documentation: