From the change you made to the answer on the pull request.
Eleven short steps. Each one is a single idea, in plain language. Open Deep dive for the technical name.
The check
Method, the gate rule, and exit codes.
Method
Same scenarios. Both versions. One check.
Gate spec. The rules are fixed. Computing them on real runs lands with Milestone B (target November 19). Today harness run runs rollouts and writes run_summary.json plus a CLI summary, not a verdict.
The job runs in CI, after the change is built and before it merges. Hover a step, focus it, or tap it for a plain-language read.
Pipeline from hashed scenarios, through a CI runner, into baseline and candidate rollouts, a scorer, and one suite check. Each step opens an explanation. Escape closes it.
Both versions face the same tasks. The tasks are locked in before the run starts, so neither side gets an easier set.
Each scenario is sealed with a SHA-256 content hash.
After the build, one job in your existing CI runs the suite on both versions before the change merges.
One job runs both arms and can fail the check.
The agent customers already have is tried many times, so today's behavior is a stable picture instead of one lucky answer.
Repeated rollouts per arm. Agent timeouts score 0. Infrastructure is excluded.
The new version is tried on those same tasks, so you can see whether it still completes them.
Repeated rollouts per arm. Each scenario still counts once.
For each task, the harness compares how often the two versions pass, then checks whether the gap is real.
Pass rates are pooled within each arm: each arm's passes over its counted rollouts. The gap gets a 90% interval.
You get one suite answer: Pass, Block, Insufficient evidence, or Invalid run. Insufficient evidence can carry a Likely regression warning. Likely regression is a spec flag, not computed in v0.1 (deferred to v0.2).
Pass if the 90% interval's lower bound is above −5 pp, block if its upper bound is below −5 pp, otherwise insufficient evidence; an invalid run isn't scored.
Use cases
For founders and teams new to AI
An AI agent can change its behavior between versions even when the screens around it look the same. Moving from Gemini Flash-Lite to a newer Flash, a prompt edit, or a new tool can make yesterday's request fail today.
This check runs the version you are about to ship against the one customers already have, on the same tasks, and flags a drop larger than 5 points when the evidence is clear, and says when it can't tell yet. The check is provider-agnostic: Gemini comes first, and OpenAI and Anthropic are on the roadmap.
For ML and platform engineers
CI gate on the candidate versus the agent already in production.
Repeated rollouts, so one noisy try becomes a pass rate.
Non-inferiority, δ = 5 pp. Pass if the 90% interval's lower bound is above −5 pp, block if its upper bound is below −5 pp, otherwise insufficient evidence; an invalid run isn't scored.
Invalid-run detection when too many rollouts are missing or broken by infrastructure.
Specification
The decision rules.
Gate spec. The rules are fixed. Computing them on real runs lands with Milestone B (target November 19). Today harness run runs rollouts and writes run_summary.json plus a CLI summary, not a verdict.
A One execution of one scenario. A pass scores 1. A fail scores 0. is one execution. Pass is 1. Fail is 0. The status applies to the suite. Repeated rollouts per arm. Scenarios are SHA-256 hashes.
Compare a candidate agent with the one already in production, on the same scenarios. Anubys returns one suite status at 90% confidence: Pass, Block, Insufficient evidence, or Invalid run. Insufficient evidence can carry a A spec flag on insufficient evidence, not a separate status, and not computed in v0.1 (deferred to v0.2). Pass if the 90% interval's lower bound is above −5 pp. Block if its upper bound is below −5 pp. An invalid run isn't scored. Scenarios are diagnostics, not individual gates. warning.
90%
Confidence. Non-inferiority, δ = 5 pp. Pass when the lower bound is above −5 pp. Block when the upper bound is below −5 pp.
5%
Miss cap. Above this on either arm, the run is invalid. Exactly 5% still scores.
0.6
Coverage floor. Each scenario needs at least ceil(0.6 × scheduled) usable rollouts on both arms.
Pooled
Rollouts are pooled across scenarios within each arm, and the gap is candidate pass rate minus baseline pass rate.
Gate behavior
No verdict when the run cannot support one.
Pooled comparison
Rollouts are pooled across scenarios within each arm, and the gap is candidate pass rate minus baseline pass rate.
candidate pass rate minus baseline pass rate
Gap
candidate − baseline
Baseline armPooled
Candidate armPooled
one gap for the suite
Timeout policy
A loop or an exhausted step budget scores 0 and stays in the sample. Provider 5xx, rate limits, and a killed CI runner are excluded from the score and counted toward the miss cap. A rollout that goes over its dollar ceiling (spend_ceiling) counts as an error: a failed rollout in the pass rate, scored 0. A rollout that already ended as an infrastructure miss stays a miss.
More than 5% of scheduled rollouts missing or infrastructure-broken, on either arm, invalidates the run. Exactly 5% remains valid. Each scenario also has a coverage floor on both arms. A response model version that is missing or doesn't match the expected one invalidates the run. An arm with zero counted rollouts invalidates the run. Baseline and candidate that don't cover the same scenarios are Bad input, exit 2, and are not an Invalid run.
5 → 3 usable · 7 → 5 · 20 → 12 · 6% on one arm → invalid
Miss rate
Exactly 5%Valid
6% on one armInvalid
Content hashes
Each scenario is hashed. harness validate checks that hash before a run. A mismatch fails that step (exit 1). The gate reads outcome files and does not treat a hash mismatch as an Invalid run.
SHA-256, checked before a run
SHA-256
cbb85ce6…0ebed1
harness validateExit 1
Checked before a run
FAQ
Operational questions.
What does Anubys decide?
Whether a candidate agent regressed relative to the one already running, before the change ships. The output is one suite status: Pass, Block, Insufficient evidence, or Invalid run. Scenarios are diagnostics, not individual gates.
What is a rollout?
One execution of one scenario. Pass scores 1. Fail scores 0. Scenarios are repeated because a single execution is not a stable estimate.
Why repeated rollouts?
Repeated rollouts per arm. Rollouts are pooled across scenarios within each arm, and the gap is candidate pass rate minus baseline pass rate.
What does 90% confidence mean here?
Non-inferiority, δ = 5 pp. Pass if the 90% interval's lower bound is above −5 pp. Block if its upper bound is below −5 pp. Otherwise the result is insufficient evidence, which can carry a Likely regression warning. Likely regression is a spec flag, not computed in v0.1 (deferred to v0.2). An invalid run isn't scored.
When is a run invalid?
When more than 5% of scheduled rollouts on either arm are missing or broken by infrastructure. Exactly 5% is still scored. Each scenario also needs at least 60% of its scheduled rollouts usable, rounded up. A response model version that is missing or doesn't match the expected one invalidates the run. An arm with zero counted rollouts invalidates the run. Baseline and candidate that don't cover the same scenarios are Bad input, exit 2, and are not an Invalid run.
Does a timeout count as a failure?
A loop or an exhausted step budget scores 0. A provider error, a rate limit, or a killed CI runner is excluded and counts toward the 5% miss cap.
Exit codes.
Only Pass exits 0. Exit codes 1, 3, and 4 all fail the CI job by default. Block is the only verdict that says the candidate is clearly worse.
Pass
0
Block
1
Bad input
2
Insufficient evidence
3
Invalid run
4
Bad input is an exit code for bad flags, a missing run directory, or baseline and candidate that don't cover the same scenarios. A scenario mismatch exits 2 and is not an Invalid run. It is not a verdict.
Example rates and intervals on this site are illustrative, pending real A/A and Block results.