Ersetzt die irrefuehrende Oracle-Leiter durch eine ehrliche Messmethodik (Oracle aus, Read via Memory/Posterior gegen eine gezogene Gegner-Population). Stufen: - 0 Exploitation-Luecke: +18.98 bb/100 gegen die gezogene Population - 1 Kalibrierung an echte HUD-Daten (lesen/kalibrierung.py) - 2 Zwillings-Tor (EGTA + Exploitability-Waechter): Offense +43.95, Boden gto -36.25 (verliert gegen Balancierte - die Oracle-verdeckte Wurzel) - 3 Adaptive Liga L0-L3 (reaktiv / modellierend / Liga) - 4 Sim-to-Real: HUD-Gap (sim::simreal) + Outcome-Abgleich (lesen/liveabgleich.py): real -266.75 vs Sim +43.95 => Gap -311; A/B-Pipeline + Runbook fertig, nur der geldechte Live-Lauf unter beiden Armen bleibt offen - 5 Optimizer (Diagonal-CMA-ES, parallel): Nemesis -414.81 bb/100 Befunde und Architektur in docs/notizen/. Lab-Tests gruen (Rust lib 92/0, python liveabgleich/kalibrierung/gegnersignal gruen). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
34 lines
1.5 KiB
Rust
34 lines
1.5 KiB
Rust
//! Stufe 3 / L3 of the synthetic lab: score the engine across the whole LEAGUE.
|
|
//!
|
|
//! Static field draws + the L1 reactive opponents + the L2 modelling opponent + the Stufe-5 nemesis,
|
|
//! all at once. The league mean says how the engine does on average; the WORST member is the
|
|
//! robustness floor — the one a change must never cave against. A richer-pool sibling of the twin
|
|
//! gate's six-archetype floor.
|
|
//!
|
|
//! Run: `cargo run --release --bin league`.
|
|
|
|
use rechner::sim::league::evaluate;
|
|
use rechner::sim::population::Population;
|
|
|
|
const SEED: u64 = 0x5EED_0001;
|
|
const POP_MEMBERS: usize = 12;
|
|
const DEALS: u32 = 400;
|
|
|
|
fn main() {
|
|
let pop = Population::micro();
|
|
println!("=== Stufe 3 / L3: die Liga — Robustheit gegen einen Pool, kein Overfit ===");
|
|
println!("{POP_MEMBERS} Populationszieher + L1 (tighten/loosen) + L2 (model) + Nemesis, je {DEALS} Austeilungen.\n");
|
|
|
|
let r = evaluate(&pop, POP_MEMBERS, DEALS, SEED);
|
|
|
|
let mut members = r.members.clone();
|
|
members.sort_by(|a, b| a.ev_bb_per_100.partial_cmp(&b.ev_bb_per_100).unwrap());
|
|
for m in &members {
|
|
let mark = if m.name == r.worst_name { " <- BODEN" } else { "" };
|
|
println!(" {:22} {:+9.2} bb/100 ±{:.2}{}", m.name, m.ev_bb_per_100, m.ci95, mark);
|
|
}
|
|
println!("\nLiga-Mittel : {:+.2} bb/100", r.mean_bb_per_100);
|
|
println!("Liga-Boden : {} {:+.2} bb/100 ±{:.2}", r.worst_name, r.worst_bb_per_100, r.worst_ci95);
|
|
println!("\nRobust heisst: der Boden haelt. Der Mittelwert allein genuegt nicht.");
|
|
}
|