26 lines
1.7 KiB
Markdown
26 lines
1.7 KiB
Markdown
# G8 offline hit-rate bench (M7, twin gun)
|
|
|
|
Replayed archived trajectories (`/tmp/chimera_g4_run`) + a synthesized Dodger; hit = bullet passes within 20. units of the realized enemy position. Aim slew/cadence abstracted. Generated by `tests/bench_g8.nim`.
|
|
|
|
| opponent | twin % | ELM % | head-on % | shots |
|
|
|---|---:|---:|---:|---:|
|
|
| Corners | 49.3 | 59.6 | 52.2 | 339 |
|
|
| Crazy | 50.3 | 31.5 | 15.0 | 1042 |
|
|
| Fire | 50.7 | 41.4 | 45.9 | 440 |
|
|
| RamFire | 90.5 | 92.7 | 89.9 | 328 |
|
|
| SpinBot | 88.3 | 20.1 | 20.1 | 715 |
|
|
| TrackFire | 84.2 | 87.3 | 87.3 | 221 |
|
|
| VelociBot | 38.7 | 23.3 | 28.4 | 786 |
|
|
| Walls | 43.8 | 22.1 | 1.8 | 825 |
|
|
| Dodger | 85.5 | 11.4 | 72.7 | 220 |
|
|
|
|
**G8 offline bar: twin >= ELM on >= 6/9 opponents AND twin >= head-on on the movers.** Result: twin >= ELM on 6/9; twin >= head-on on 5/5 movers. **Verdict: PASS.**
|
|
|
|
## Method / caveats
|
|
|
|
* `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.
|
|
* Power monotonicity: `selectPowerFromSpreads` returns the largest power whose required spread fits the enemy-silhouette tolerance `2*atan2(18, dist)`; the choice is non-increasing in spread (`test_aimer.nim`, aimer 4).
|
|
* The synthesized Dodger fires a wave every 12 ticks; a real battle would add shooter motion. Live results (`m7_g8_live.md`) are the reality check.
|