Skip to content

I3385 — A registered suite's primary verdict can be held to a non-inferiority guard, so a speed-up counts only when accepted share is not worse by more than a registered margin

Let a registration declare a guard outcome (accepted share) with a non-inferiority margin and level. The calculator reports the primary verdict as favourable only when the primary test is favourable and the guard's one-sided bound shows the treatment's accepted share is not lower than the control's by more than the margin; otherwise it reports the guard's result and inconclusive or unfavourable. Use I3366's functions; add the guard's computation to stats.rs.

BLOCKED wave 6 · p1 · implementation profile · parallel safe

Part of the-mesh-is-measured-against-one-agent — Coordinated workers on the mesh are compared with a single agent on the same batch tasks, at quality held by a registered non-inferiority guard.

Blocked. This issue cannot start until I3371 is done. The status is derived from that, not declared.

Objective

Let a registration declare a guard outcome (accepted share) with a non-inferiority margin and level. The calculator reports the primary verdict as favourable only when the primary test is favourable and the guard's one-sided bound shows the treatment's accepted share is not lower than the control's by more than the margin; otherwise it reports the guard's result and inconclusive or unfavourable. Use I3366's functions; add the guard's computation to stats.rs.

Why

T4 of the owner's report of 2026-10-19 asks for a speed-up at controlled quality; a faster arm that accepts less is not a speed-up, so the guard is part of the decision and registered in advance.

Current state

No analysis composes outcomes. stats.rs holds no one-sided bound.

Desired state

A guarded verdict is computed and shown with the guard's bound.

Scope

  • apps/majordomus-cli/src/economics/stats.rs
  • apps/majordomus-cli/src/economics/mod.rs
  • apps/majordomus-cli/tests/economics.rs
  • docs/ECONOMICS.md

Out of scope

  • Running anything
  • A guard on any outcome other than accepted share

Dependencies

What waits on this

Acceptance criteria

  • A fixture where the treatment is faster but accepts less beyond the margin is not favourable
  • A fixture inside the margin and faster is favourable
  • The guard's bound and margin are printed beside the verdict

Validation

  • cargo test --manifest-path apps/majordomus-cli/Cargo.toml --test economics
  • cargo test --manifest-path apps/majordomus-cli/Cargo.toml --doc economics::stats

Evidence required

  • test_guarded_verdict

Evidence

None recorded. Every token above needs a command or an artifact behind it before this issue can be completed; narrative is refused.

Timeline

started
—
verified
—
completed
—

Those three fields, the evidence above and the state of the dependencies are all the status is made of. There is no status field to disagree with them.

Canonical record: .ai/repo/project/issues/I3385.yaml. Read it back with majordomus plan show I3385.

Searches the titles and descriptions of every page this site publishes.