Files
SirRoboGarage/tools/elm_bench/analysis_realistic.log
T
SirStone 6d0dd987ca tools/elm_bench: aim-error ELM benchmark suite + findings
Extractors, benchmarks and analysis for "can we predict an opponent's aim
error from our own belief state?". All labels come from BulletFiredEvents;
all features come only from the shooter's own state and its ScannedBotEvent
history (the target's true state is used for the label and never for a
feature, verified by a ground-truth-poisoning re-extraction).

  extract.py / extract_realistic.py   label + oracle features / realistic ones
  gen_analysis.py, analyse_realistic.py, audit_independent.py
  bench.nim, bench_realistic.nim, cross_opponent.nim, online.nim
  gen/*.ndjson                          the per-opponent sample tables
  README.md                             the write-up, ~1200 lines

Headline: DrussGT applies about 13% of the correct lead, and that 13% is
computable from one feature (beliefPredErr) as label ~ 0.8663*predErr +
0.0418. ELM ALL-21 pools to RMSE 0.4220 against a constant 1.1463 (-63%).
The network is not the finding; the single linear term is. Cross-opponent,
--prev leakage audit and an independent re-derivation are in the README.

The top-level samples_realistic*.ndjson are byte-identical to gen/DrussGT* and
are gitignored; gen/ is the authoritative copy.
2026-10-05 22:42:39 +02:00

19 lines
1.1 KiB
Plaintext

== 5-fold-by-round-group ridge, realistic features (pooled held-out RMSE) ==
constant mean 1.1462
predErr alone 0.4400 per-fold 0.3725 0.5045 0.4239 0.4544 0.4435
our-state only (dist,lat,closing,tof,spd) 0.9314 per-fold 0.9119 0.9621 0.9102 0.9121 0.9593
our-state + predErr 0.4376 per-fold 0.3676 0.5048 0.4223 0.4517 0.4393
ALL realistic (20) 0.4383 per-fold 0.3682 0.5050 0.4227 0.4540 0.4402
== LEAKAGE AUDIT: belief built ONLY from scans strictly before the fire tick ==
rows with a strictly-prior scan: 8676/8676
constant mean 1.1462
predErr alone 1.1392
our-state only 1.1413
our-state + predErr 1.1383
ALL realistic (20) 1.1388
== law check: label ~ a*predErr + b ==
slope 0.8663 intercept 0.0418 -> DrussGT aims at (current bearing + ~13% of the correct lead)
scan-age histogram (ticks since the shooter last scanned us): {0.0: 8444, 1.0: 232}