# E274 — Final report: model-backed adversarial repair at scale

**AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL**

## Question
Can frontier models repair **90 held-out single-mutation bugs** across five algorithmic families, with hidden tests deciding and no hidden-test access? How do haiku-5-5, sonnet-5-5 and opus-5-5 compare?

## Design
- Correct E175 solutions were mutated with one AST change each. A variant is kept only if the correct module passes public+hidden and the mutant **fails public and hidden**.
- Preregistered before the run: **90 sealed** variants (S06–S10), 20 dev variants (S01–S05), 3 trials per model; opus on a pinned 30-task subset.
- Actor sees the buggy module and failing public tests only. Hidden tests decide. AST guard; subprocess sandbox; 5 s timeout.
- **720 model calls** total, **$3.7771** settled of a **$4.00** cap (rows sum $3.6368).

## Results (sealed, 90 tasks × 3 trials)

| Model | Tasks | Pass@1 | Pass@3 | Solved trials | Estimated cost |
|---|---|---|---|---|---|
| claude-haiku-5-5 | 90 | **0.9963** | 1.0000 | 269/270 | $0.0961 |
| claude-sonnet-5-5 | 90 | **0.9926** | 1.0000 | 268/270 | $1.6860 |
| claude-opus-5-5 (30 subset) | 30 | **1.0000** | 1.0000 | 90/90 | $1.0340 |
| claude-opus-5-5 (other 60, exploratory) | 60 | **1.0000** | — | 60/60 | $0.6780 |

Original 10 E175 tasks: **10/10** for every model.

## Hypotheses

| Hypothesis | Verdict | Evidence |
|---|---|---|
| H1 sonnet sealed pass@1 ≥0.75 | **SUPPORTED** | 0.9926 |
| H2 sonnet > haiku | **NOT_SUPPORTED** | task-level 90 vs 90, 0 discordant, p 1.0; trial-level sonnet 268 vs haiku 269 |
| H3 pass@3 − pass@1 ≥0.05 | **NOT_SUPPORTED** | haiku +0.0037, sonnet +0.0074 |
| H4 opus non-inferior on subset | **SUPPORTED** | opus 1.0000, sonnet 1.0000 |
| H5 0 AST-guard failures | **NOT_SUPPORTED** | 3: one MAX_TOKENS/no code, two SYNTAX:1; **0 unsafe imports, 0 unsafe calls** |
| H6 cost per solved sealed task ≤$0.05 | **SUPPORTED** | **$0.005086** |
| H7 original ten | **SUPPORTED** | 10/10 each |
| H8 external reviewer | **BLOCKED** | NOT OBTAINED |

## Verdict: **PARTIAL**

The suite is **saturated**: both haiku and sonnet repair ~99% of single-mutation bugs, and the difference is not significant. The result is not a model ranking; it is a **ceiling**. The next experiment must raise difficulty (double mutations, multi-file reasoning, unfamiliar families), not add more calls to this suite.

## Deviations and limits
- Harness fixes before the sealed set was complete: task-key handling for originals, and a hidden-test leak check that false-positived on public/hidden overlap. No hypothesis or threshold changed; all rows are from the same task set and prompt.
- Opus on the other 60 tasks is **exploratory**, not preregistered.
- Variants are AST mutations of the same 10 E175 families; the same team wrote correct solutions, mutations and tests.
- Model-written source **and the variant source** are withheld; the variant manifest is bound by the SHA-256 commitment in the preregistration. Public verification is record-level (per-task hashes and hidden-test transcript).
- No external reviewer; one host; subprocess sandbox, not a hardened VM; cost is estimated from token counts, not provider billing.
