Skip to content

feat(benchmarks): family-gap decomposition — the gap is localization; family-framing arm killed by pre-registered gate - #534

Merged
drewstone merged 3 commits into
mainfrom
r3/family-gap
Aug 3, 2026
Merged

feat(benchmarks): family-gap decomposition — the gap is localization; family-framing arm killed by pre-registered gate#534
drewstone merged 3 commits into
mainfrom
r3/family-gap

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

What this is

The /evolve round on the cross-family gap (mini-SWE 0.63 vs OpenHands 0.29 / Terminus2 0.22 micro): a free decomposition that reframes the problem, plus one pre-registered arm that died honestly.

Finding 1 — the family gap is a LOCALIZATION problem ($0, recomputed from cert2 observations)

The "far" class (predictions >2 steps from any gold) holds 48.9% (OH) / 46.5% (T2) of gold mass vs 14.4% on mini-SWE; snapping far predictions to gold is worth +32.3pp / +25.4pp counterfactually — essentially the whole gap. The analyst investigates the wrong regions of unfamiliar session formats; it does not fail to detect. Full per-case tables: .evolve/family-gap-decomposition-2026-08-02.md; decompose-analyst-loss.mjs extended with family-aware taxonomy.

Finding 2 — the arm died by its own pre-registered gate

Family-framing coverage instructions (stock + enumeration/coverage section + family grammar notes), gates committed before any paid run: paired seeded OpenHands smoke (clean instrument, 0/12 + 1/12 failures) scored 0.2151 vs stock 0.3023 — no-harm gate violated (confound-checked), pad-ratio kill tripped (2.1×), paired recall CI excludes zero. Fourth consecutive hand-authored prompt arm to lose this campaign. The Terminus2 pair is recorded as an invalid instrument day (>10% failed runs from seat degradation; carries no evidential weight; directionally consistent).

Provenance

Override runs carry instructionsOverrideSha256 (re-hashed, matches the committed instructions file). Battery: lint/typecheck/4685 tests green; merge-tree clean. Spend $6.0 total.

Next arm, evidence-ranked and pre-seeded for the following round: family-GEPA on the tuning-legal OH/T2 dev pools — the only intervention class that has survived certification here.

Extend decompose-analyst-loss.mjs with the official positive-runs micro view,
gold classes by tool_type, blind reasons (blank vs duplicate), far-miss
direction, gold/predicted block shape distributions, a snapFar counterfactual,
and a labels-level constant-rule calibration sweep.

Decomposition of the cert2 stock runs (committed artifact): the 2x family gap
is localization + under-enumeration on 2x-longer trajectories — far holds
47-49% of gold mass vs 14% on mini-SWE, snapFar recovers +32.3pp (OH) /
+25.4pp (T2), predicted blocks halve (1.6 vs 3.0 gold blocks/case).
One arm from the family-gap decomposition: stock RLM instructions
(d3829fb8, byte-identical) plus a coverage-and-enumeration section and two
family grammar notes (ecb8a207). Smoke on 6 seeded long-trace cases per
family from the tuning-legal dev pools, paired against a fresh stock arm on
the same cases; gates fixed before any model run.

@tangletools tangletools left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Auto-approved drewstone PR — e963d9e7

This PR was opened by the trusted drewstone account.
The full PR reviewer audit still runs separately and will publish findings if it detects issues.

tangletools · auto-approval · reason: drewstone_author · 2026-08-03T07:28:18Z

@drewstone
drewstone merged commit 5ffb128 into main Aug 3, 2026
2 checks passed
@drewstone
drewstone deleted the r3/family-gap branch August 3, 2026 07:31
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.

2 participants