From da9a66aab854257d0c2013fb126d4e87df9b39dc Mon Sep 17 00:00:00 2001 From: Davide Cappellini Date: Wed, 7 Oct 2026 00:24:55 +0200 Subject: [PATCH] docs: G5 re-spec (interventional) after M4 falsification; G4 median pass condition --- docs/chimera-spec.md | 42 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 8 deletions(-) diff --git a/docs/chimera-spec.md b/docs/chimera-spec.md index bcfa0cd..fe709ae 100644 --- a/docs/chimera-spec.md +++ b/docs/chimera-spec.md @@ -494,7 +494,11 @@ failure, not a code bug.* **G4 — LIVE IDENTIFICATION.** Against the official sample-bot primary suite, a set of **behavior-diverse targets** reach posterior ≥ 0.8 within **300 ticks** -(10 s @ TPS 30) in pinned-initial-position battles. Primary identification set +(10 s @ TPS 30) in pinned-initial-position battles. The pass condition is a +**median over ≥ 3 full runs**, not a single run: two earlier bench runs scored +6/8 on the same build (spawn-variance of the randomized sample bots), so a +one-run verdict is not stable enough to be a go/no-go gate. An opponent passes +when the **median** `idTick` across runs is ≤ 300. Primary identification set (**8 most behavior-diverse** from the verified table): **{Crazy, SpinBot, RamFire, Corners, Walls, TrackFire, Fire, MyFirstBot or VelociBot}**. **Corners is the mandatory stochastic case** (its `randomize()` start-corner must be handled as @@ -503,14 +507,36 @@ MyFirstTeam/Droid/Leader (team bots — no 1v1), `Target` (likely a static targe — verify at M3). *Failure with G1–G3 green ⇒ the idea is wrong: single-stream induction is insufficient.* -**G5 — COUNTERFACTUALS.** 5-tick ADE/FDE of twin rollouts ≤ persistence baseline -**and** ≤ statistical baseline (GF/DC-style), and fire Brier ≤ baseline, on -**≥ 90%** of the scenario set. *Failure with units green ⇒ the twin is not -decision-useful (idea-level).* +**G5' — INTERVENTIONAL COUNTERFACTUALS.** Measured on the ticks that FOLLOW an +executed probe (the *interventional* scenario set — the only ticks where our own +action was chosen to separate the hypotheses), the twin mixture's 5-tick +enemy-reaction prediction must beat the persistence baseline (constant-velocity +carry) on **≥ 70%** of probe-following scenarios. The bar is interventional on +purpose: the twin's claim is "*if I do X, the enemy does Y*", and that claim is +only testable where X was actually chosen to separate the hypotheses. A **≥ 90%** +agreement is reported as a separate **stretch** row, never as the gate. + +**Observational sanity floor.** Independently of the interventional bar, the +twin's 5-tick ADE must stay **≤ 2× the persistence ADE per opponent** on the full +observational set — a regression guard, not a superiority claim. + +**M4 falsification (recorded verbatim).** The M4 observational eval (twin 5-tick +rollout vs persistence over ALL recorded origin ticks) had twin ADE ≤ persistence +ADE on only **20.1%** of scenarios, against the original **≥ 90%** bar — a plain +falsification of G5 *as originally stated*. Diagnosis: the observational protocol +is persistence-favourable. Over a short 5-tick horizon a constant-velocity carry +tracks the realized enemy path closely, while the twin pays for a mixture that +must re-commit after each regime change; and on an observation-only run our own +movement is itself a reaction to the enemy, so the "counterfactual" is not +intervened on at all. The result indicts the *observation-only measurement*, not +the interventional claim, which M5 tests directly. **G6 — ABLATION LADDER.** `full CHIMERA ≥ (−probe) ≥ (−residual) ≥ fallback` in -identification speed; probes must cut median identification ticks by **≥ 20%**. -*Failure ⇒ a component-value claim is wrong.* +identification speed; probes must cut **median** identification ticks by **≥ 20%** +(median over ≥ 3 full runs, to survive the G4 spawn-variance). M5 runs the +**two-way** `full` vs `−probe` rung now (the compile-time `-d:chimeraNoProbes` +kill switch); the `−residual` and `fallback` rungs arrive at M6. *Failure ⇒ a +component-value claim is wrong.* **G7 — NO-REGRESSION FLOOR.** ChimeraBot ≥ exact-copy DevControlBot behavior in head-to-head and against the primary benchmark suite (official sample bots) as @@ -525,7 +551,7 @@ bounds), i.e. learning never makes it worse when the twin is uncertain. | G2 | DSL/none | **library design insufficient** (idea-level) | | G3 | data path | **observability problem** | | G4 | go/no-go | **idea invalid** (single-stream induction insufficient) | -| G5 | usefulness | **twin not decision-useful** (idea-level) | +| G5' | interventional usefulness | **twin not decision-useful under its own actions** (idea-level) | | G6 | components | **component value claims wrong** | | G7 | safety floor | **fallback/fusion correctness bug** |