docs: unify idTicks metric (per-round median/p90/id-fraction) + G4 pass = median<=300 AND id-fraction>=80%

This commit is contained in:
2026-10-07 00:41:17 +02:00
parent 6a3ba390ee
commit f9f3cd7576
+54 -9
View File
@@ -282,6 +282,18 @@ The twin predicts with the **weighted mixture**, never the argmax — the margin
distribution is what the counterfactual query needs, and it also smooths the
early-match phase where no kernel dominates.
### Round carry-over (M5.5 amendment)
The enemy bot is the **same program across the rounds of a match**, so the
posterior (and the kernel memories' internal state) is **carried across rounds**
instead of reset to uniform each round: identification compounds across rounds.
**"Round carry-over adopted at M5.5 (user-delegated decision): identification
compounds across rounds; ablation flag kept."** The ablation flag
`-d:chimeraFreshRound` restores the per-round uniform reset (G6 arm).
RNG-derived kernel-memory state is re-sampled at each round start, because a
per-round sampled parameter (e.g. Corners' `randomize()` start corner) must not
be carried.
---
## 8. Twin Rollout (Counterfactual Core)
@@ -321,6 +333,15 @@ frozen danger field.
**Camouflage.** Probe actions must be plausible as ordinary movement noise, so a
kernel-based opponent cannot detect the probe and switch policy.
**Probe set v2 (M5.5).** The candidate set covers **six probe types**: four
movement probes (sudden stop, reversal, speed modulation, direction flip), a
**GUN probe** (a low-power shot at the enemy — the probe *is* the shot, aimed to
trigger dodging/hit-response branches such as Fire's reverse-on-hit; never
issued with low energy, a hot/unaligned gun, or an enemy positioned to punish)
and a **DISTANCE probe** (approach/retreat burst — a strong target-speed step
that changes our bearing/range trajectory and triggers RamFire/Corners-like
geometry branches). Entropy-drop selection is extended to all six types.
**Information gain.** Rank candidate probes by **estimated posterior entropy
reduction** — expected drop of `H(posterior)` from the predicted separation of
hypotheses (§12, G2 uses the same notion offline).
@@ -494,11 +515,17 @@ 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. 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
(10 s @ TPS 30) in pinned-initial-position battles.
**Metric unification (M5.5, binding).** `idTicks` is defined ONE way everywhere:
per round, the **round-relative** tick at which `max_kernel posterior > 0.8`
first holds — the posterior has committed to *some* kernel. Correctness of that
kernel (does the argmax equal the expected kernel?) is reported as a separate
diagnostic column, never absorbed into the metric. Per opponent the bench reports
**median**, **p90** and **id-fraction** (% of rounds identified) over ALL rounds
in the protocol. The old M3.5 "best round / total ticks" aggregation is retired.
**G4 pass condition: median ≤ 300 ticks AND id-fraction ≥ 80% over ≥ 3 full
8×5 runs** (24 rounds/opponent), not a single run. 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
@@ -516,6 +543,15 @@ 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.
**G5' v2 protocol (M5.5, binding).** Results are reported separately for
**(a) the MOVING subset {Crazy, SpinBot, VelociBot, Walls}** — where
constant-velocity persistence is *not* optimal by construction — and **(b) the
full suite**. Per opponent: twin vs persistence interventional 5-tick ADE after an
executed probe, plus reaction-direction agreement. **Bar: twin ≥ persistence on
≥ 70% of MOVING-subset scenarios.** The **STATIC subset {RamFire, Corners,
TrackFire, Fire}** is reported with a **saturation analysis** (one line per static
opponent: why twin ≈ persistence by construction).
**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.
@@ -531,12 +567,21 @@ 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.
**M3.5-vs-G6 aggregation discrepancy (recorded verbatim, M5.5).** M3.5 reported
"8/8 ≤ 300 ticks" using a **different aggregation** than G6's per-round medians:
per-opponent total/best-round ticks versus per-round medians. Under the G6
per-round aggregation the same bots show Corners 445, Crazy 2439, and an
identification fraction of only 13–40% of rounds. The "8/8" claim therefore did
not survive re-aggregation; M5.5 unifies the metric so the discrepancy cannot
recur.
**G6 — ABLATION LADDER.** `full CHIMERA ≥ (−probe) ≥ (−residual) ≥ fallback` in
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.*
(median over ≥ 3 full runs, to survive the G4 spawn-variance), under the unified
idTicks metric and measured on the **MOVING subset** as the primary read. M5.5
runs the four-way probe × carry-over arms (`full`, `−probe`, `+freshRound`,
`−probe+freshRound`); the `−residual` and `fallback` rungs arrive at M6.
*Failure (still null after probe v2) ⇒ 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