Skip to content

Default the pass level to the 70% floor from #1370's A/A rates - #1444

Merged
JacobStephens2 merged 1 commit into
issue-1252from
issue-1268
Oct 27, 2026
Merged

JacobStephens2 merged 1 commit into
issue-1252from
issue-1268

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Oct 27, 2026 •

Copy link
Copy Markdown
Owner

Summary

The Bar's default pass level is now the 70% floor. The fail level stays at 95%.

 Levels::default()
-  pass_level: 0.95
+  pass_level: 0.70
   fail_level: 0.95

No pass level from 70% to 95% lets an A/A Experiment at #1370's measured disagreement pass 80% of the time on either suite, so #1268's floor clause applies. The calculation is on #1252. docs/guide.md records the rates, the simulated pass rates, #1370's intervals at 70%, and each suite's shortfall:

docs/research/non-inferiority-pass-rule.md checks that clause against FDA, EMA, ICH and CONSORT guidance on non-inferiority, for #1443.

Closes #1268

Evidence

Verdict unit tests, against the default Bar:

smallest identical code-review suite that passes:  13 tasks  ->  4 tasks
#1370's Spec-review counts [2,25,3] / [1,28,1]:     inconclusive  ->  pass
#1370's code-review counts [0,1,1,8,0,0,0]:          inconclusive  ->  inconclusive (70% accuracy interval [-0.171, -0.018] lies below zero)
the same rate, one disagreement each way:            inconclusive  ->  pass
  • Before: on issue-1252, the pinned test asserts 13 tasks, and no test covers an A/A Experiment at the measured rates.
    After: cargo test --bin thirdshift verdict::tests passes (18/18). The console, release and site suites (50/50) pass. experiments passes except two timeout tests, which also fail on this Mac with the old default.
  • eval_arms (×3) and four unit tests (worktree::synchronization_tests ×3, sandbox::tests::tool_bin_dirs_names_only_bound_roots) fail locally on macOS's /private/var paths. They fail the same way on the unchanged issue-1252. trial's an_unlaunchable_passthrough_harness_is_a_void_trial also fails locally: macOS reports the missing Harness as exit 127, a failed Trial, not a void one. It doesn't touch the Bar. Overall: 1,300 integration tests passed and 7 failed, all of them listed here.

Merge Danger

Door: two-way

Changing the default back is one line. Experiments save their Bar before the first Trial, so a past Verdict never changes.

Blast Radius: releases

scripts/release.sh Experiments now pass more easily: a pass needs only a 70% interval above the −10-point margin. A fail still needs 95% certainty. An Experiment saved under the old Bar and still paused must now be resumed with --pass-level 0.95 --fail-level 0.95, as its saved resume command already says. A plain re-run is refused because the Bar changed.

No pass level from 70% to 95% lets an A/A Experiment at #1370's measured
disagreement pass 80% of the time on either suite, so the default takes
the floor. The guide records the rates, the simulated pass rates and each
suite's shortfall; research on non-inferiority practice informs the
follow-up on the pass rule's upper bound.
@JacobStephens2
JacobStephens2 merged commit 6d06a1f into issue-1252 Oct 27, 2026
18 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-1268 branch October 27, 2026 15:05
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