//! Stufe 0 of the synthetic lab: print the exploitation gap over a drawn opponent population. //! //! Draws a micro-stakes field, plays the live engine heads-up against each opponent with NO oracle //! read — once blind, once inferring from session memory — and reports `memory - blind` in bb/100, //! pooled and per hidden archetype. This is the exploitation number the fixed-bot ladder hides. //! //! Run: `cargo run --release --bin exploit_gap`. use rechner::sim::exploit_pop::exploitation_gap; use rechner::sim::population::Population; const SEED: u64 = 0x5EED_0001; const OPPONENTS: usize = 48; const DEALS: u32 = 400; fn main() { let pop = Population::micro(); println!("=== Stufe 0: Exploitation-Lücke gegen eine gezogene Population ==="); println!("{OPPONENTS} Gegner x {DEALS} Austeilungen, heads-up, KEIN Oracle-Read (Engine muss erschließen).\n"); let r = exploitation_gap(&pop, OPPONENTS, DEALS, SEED); println!("blind (kein Read) {:+8.2} bb/100", r.blind_bb_per_100); println!("memory (erschlossen) {:+8.2} bb/100", r.memory_bb_per_100); println!( "\nEXPLOITATION-LÜCKE {:+8.2} bb/100 (paired +-{:.2}, anytime +-{:.2})", r.gap_bb_per_100, r.ci95, r.anytime_ci95 ); let decisive = r.gap_bb_per_100 - r.ci95 > 0.0; println!( " {} bei 95 %\n", if decisive { "SIGNIFIKANT POSITIV" } else { "noch nicht von 0 trennbar" } ); println!("nach verdecktem Archetyp (mittlere Lücke je Gegner):"); for (label, (sum, n)) in &r.by_label { println!(" {label:8} {:+7.2} bb/100 ({n} Gegner)", sum / *n as f64); } }