ChimeraBot_garage: M7.5 — virtual-gun tournament, Dodger-v2, discriminating bench
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# G8.5 offline hit-rate bench (M7.5, virtual-gun tournament)
|
||||
|
||||
Replayed archived trajectories (`/tmp/chimera_g4_run`) + a synthesized Dodger-v2; hit = bullet passes within 20. units of the realized enemy position on its flight. Aim slew/cadence abstracted. Generated by `tests/bench_g8.nim`.
|
||||
|
||||
| opponent | twin % | ELM % | head-on % | vgun % | shots |
|
||||
|---|---:|---:|---:|---:|---:|
|
||||
| Corners | 49.3 | 59.6 | 52.2 | 57.2 | 339 |
|
||||
| Crazy | 50.3 | 31.5 | 15.0 | 50.3 | 1042 |
|
||||
| Fire | 50.7 | 41.4 | 45.9 | 50.7 | 440 |
|
||||
| RamFire | 90.5 | 92.7 | 89.9 | 90.5 | 328 |
|
||||
| SpinBot | 88.3 | 20.1 | 20.1 | 88.3 | 715 |
|
||||
| TrackFire | 84.2 | 87.3 | 87.3 | 84.2 | 221 |
|
||||
| VelociBot | 38.7 | 23.3 | 28.4 | 38.7 | 786 |
|
||||
| Walls | 43.8 | 22.1 | 1.8 | 43.8 | 825 |
|
||||
| Dodger | 82.7 | 46.4 | 10.9 | 82.7 | 220 |
|
||||
|
||||
**G8.5 offline bar: vgun >= max(twin, ELM-base, head-on) on >= 6/9 opponents AND vgun >= ELM-base on all movers (Crazy, SpinBot, VelociBot, Walls, Dodger).** Result: vgun >= best single gun on 6/9; vgun >= ELM-base on 5/5 movers. **Verdict: PASS.**
|
||||
|
||||
## Method / caveats
|
||||
|
||||
* `VGUN` = `chimera/virtual_guns.nim`: per-tick virtual bullets for {TWIN, ELM, HEAD-ON}, a per-shot hit-rate EMA (tau=100) plus a damage-weighted accumulator with tau=200 exponential forgetting, argmax fired under 0.1 hysteresis. Classic Robocode Virtual Guns pattern (https://robowiki.net/wiki/Virtual_Guns).
|
||||
* `TWIN` = `chimera/aimer.nim`: iterated flight time `h = dist/(20-3*power)`, horizon-bucketed predictor Hedge (mixture/residual/persistence), trained ONLINE per record (one aimer, score-then-aim each sampled tick), spread-selected power.
|
||||
* `ELM` = the ELM gun's **base** geometric intercept from the observed velocity (the learned correction is gated and small, and the online ELM state cannot be replayed offline). This is a proxy for the full ELM gun — a documented deviation.
|
||||
* The synthesized Dodger is Dodger-v2 (`tests/archetypes/Dodger`): wave-based perpendicular strafe, centre-pull, seeded reversals. It fires a wave every 12 ticks; a real battle adds shooter motion. Live results (`m7_5_g8_live.md`) are the reality check.
|
||||
@@ -0,0 +1,21 @@
|
||||
# G8.5 live bench (M7.5 virtual-gun tournament)
|
||||
|
||||
Four arms from the SAME tree: inert (`-d:chimeraInert`), elm (`-d:chimeraNoTwinGun`), twin (`-d:chimeraNoVguns`), vgun (default). 5 rounds per arm per opponent. Generated by `tests/bench_g8_live.nim`.
|
||||
|
||||
| opponent | elm W% | elm margin | twin W% | twin margin | vgun W% | vgun margin | inert W% | inert margin |
|
||||
|---|---:|---:|---:|---:|---:|---:|---:|---:|
|
||||
| Corners | 100.0 | 2488.0 | 100.0 | 2376.0 | 100.0 | 2469.0 | 100.0 | 2493.0 |
|
||||
| Crazy | 100.0 | 2016.0 | 100.0 | 1935.0 | 100.0 | 2025.0 | 100.0 | 1683.0 |
|
||||
| Fire | 100.0 | 2593.0 | 100.0 | 2526.0 | 100.0 | 2561.0 | 100.0 | 2564.0 |
|
||||
| RamFire | 100.0 | 2186.0 | 100.0 | 2460.0 | 100.0 | 2413.0 | 100.0 | 2520.0 |
|
||||
| SpinBot | 100.0 | 1924.0 | 100.0 | 1060.0 | 100.0 | 2001.0 | 100.0 | 1560.0 |
|
||||
| TrackFire | 100.0 | 2305.0 | 100.0 | 2371.0 | 100.0 | 2299.0 | 100.0 | 2216.0 |
|
||||
| VelociBot | 100.0 | 2065.0 | 100.0 | 1962.0 | 100.0 | 1378.0 | 100.0 | 1315.0 |
|
||||
| Walls | 100.0 | 1459.0 | 100.0 | 1651.0 | 100.0 | 1565.0 | 100.0 | 1934.0 |
|
||||
| Dodger | 100.0 | 1757.0 | 100.0 | 1949.0 | 100.0 | 1954.0 | 80.0 | 515.0 |
|
||||
|
||||
**Totals: inert 97.8% (m 16800.0) elm 100.0% (m 18793.0) twin 100.0% (m 18290.0) vgun 100.0% (m 18665.0) **
|
||||
|
||||
**Discrimination test (Dodger-v2 row).** Margins: inert 515.0 elm 1757.0 twin 1949.0 vgun 1954.0 spread 1439.0. The arms DIFFER materially against the upgraded Dodger.
|
||||
|
||||
**G7 no-regression (vgun >= inert win-rate on every opponent): PASS.**
|
||||
Reference in New Issue
Block a user