Skip to content

Drop the pass rule's requirement that the interval reach zero #1443

Closed

Description

@JacobStephens2

This was generated by AI. The decision was made by the Day shift on 2026-10-27, after the #1268 calibration.

Parent

#1252

Why

ADR-0024's pass rule needs the pass-level interval's lower bound above the margin and its upper bound at least zero. For identical Arms, a central interval at level L has its upper bound below zero with probability (1 − L)/2, however many Eval tasks there are. With two noisy metrics that must both pass, an A/A Experiment's pass rate is capped near ((1 + L)/2)², about 72% at the 70% default. So under this rule spec-review can never reach #1252's target (an A/A Experiment passes at least 80% of the time) at 70%, however large it grows.

docs/research/non-inferiority-pass-rule.md found no support for the clause in primary sources:

  • An interval lying wholly between the margin and zero is declared non-inferior, and noted as statistically worse (FDA 2016, Figure 2, scenario 6; CONSORT 2012, Figure 1, scenario D).
  • Non-inferiority tests only the margin-side bound (ICH E9 §3.3.2). Bayesian non-inferiority uses Pr(d > margin) > c (FDA's 2026 draft on Bayesian methods, §III.B).

Decided: drop the clause, and report what it used to catch instead of blocking on it.

Simulated A/A pass rates at a 70% pass level, from #1370's measured rates (method on #1252, #1252 (comment)):

Suite size Code review, today's rule Code review, without the clause Spec review, today's rule Spec review, without the clause
Today (10 / 30) 67% 67% 46% 56%
40 86% 94% 53% 67%
60 85% 97% 61% 76%
80 86% 98% 68% 84%
100 86% 98% 71% 89%

Neither suite reaches 80% at today's size either way, so the default pass level stays at the 70% floor. What changes is that growing a suite now reaches the target: about 20 tasks for code review, and about 80 for Spec review.

What to build

  • The decision rule: fail when the upper bound at the fail level is below zero. Otherwise pass when the lower bound at the pass level is above the margin. Otherwise inconclusive. The posterior-predictive prediction uses the same rule.
  • An annotation on a pass: when a metric passes but its pass-level interval's upper bound is below zero, the Verdict says so ("worse, within the margin") in its JSON, text and Console view. It doesn't change the decision.
  • A new method name, paired-dirichlet-v3. Experiments saved under v1 or v2 keep their stored Bar and Verdict when read, as v1 does today.
  • An ADR that supersedes ADR-0024's pass rule and cites the research note.
  • Recalibration under Set the default pass level from the A/A Experiment #1268's rule from Rerun the A/A Experiment on repaired Eval suites #1370's rates. Expect the default to stay at the 70% floor. docs/guide.md gives the new pass rates and each suite's shortfall: about 20 code-review tasks and about 80 Spec-review tasks.
  • Update the hand-written site pages that describe the pass rule (site/index.html, site/how-it-works/, site/architecture/).

Acceptance criteria

  • A pass no longer needs the pass-level interval to reach zero. A Verdict test shows an interval wholly between the margin and zero now passes, with the annotation.
  • A fail is unchanged, and an inconclusive between the levels still occurs.
  • New Verdicts use paired-dirichlet-v3. A saved v2 Experiment keeps its Bar, Verdict and decision when read and resumed.
  • The A/A tests and the pinned smallest-passing-suite test match the new rule.
  • The ADR, docs/guide.md and the site pages describe the new rule, the calibration and each suite's shortfall.

Activity

  1. added
    needs-triage
    and removed
    needs-triage
    on Oct 27, 2026
  2. changed the title [-]Should a pass need its interval to reach zero?[/-] [+]Drop the pass rule's requirement that the interval reach zero[/+] on Oct 27, 2026
  3. added
    enhancement
    ready-for-agent
    on Oct 27, 2026
  4. added
    in-progress
    and removed
    ready-for-agent
    on Oct 27, 2026
  5. added a commit that references this issue on Oct 27, 2026
  6. JacobStephens2 commented on Oct 27, 2026

    @JacobStephens2
    OwnerAuthor

    Closed by #1447, merged into issue-1252 by a thirdshift Ticket run with Self-merge.

  7. removed
    in-progress
    on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions