//! Stufe 3 of the synthetic lab: how much does an ADAPTING opponent change the engine's edge? //! //! For each drawn opponent, play the engine heads-up (inferring the opponent from session memory, its //! real exploitation path) over the SAME deals twice: once with the opponent held static (the Stufe-0 //! memory baseline), once with the opponent adapting its ruleset to the hero's observed aggression. //! The paired per-deal difference is the bb/100 the engine's *stationary* read is worth against a //! *moving* target — the first measurement of mind-game pressure in this work. //! //! Run: `cargo run --release --bin adaptive_gap`. use rechner::sim::adaptive::{adaptive_effect, Adapt, AdaptReport}; use rechner::sim::population::Population; const SEED: u64 = 0x5EED_0001; const OPPONENTS: usize = 48; const DEALS: u32 = 400; fn line(r: &AdaptReport) { let decisive = r.delta_bb_per_100.abs() - r.ci95 > 0.0; println!( " {:8} static {:+7.2} adaptiv {:+7.2} -> DELTA {:+7.2} bb/100 (paired +-{:.2}, anytime +-{:.2}) {}", r.style, r.static_bb_per_100, r.adaptive_bb_per_100, r.delta_bb_per_100, r.ci95, r.anytime_ci95, if decisive { "SIGNIFIKANT" } else { "n.s." }, ); } fn main() { let pop = Population::micro(); println!("=== Stufe 3: adaptive Gegner — was kostet der stationaere Read gegen ein bewegliches Ziel? ==="); println!("{OPPONENTS} Gegner x {DEALS} Austeilungen, heads-up, Engine erschliesst via Memory."); println!("DELTA = adaptiv - statisch (negativ = die Engine blutet gegen die Reaktion).\n"); line(&adaptive_effect(&pop, OPPONENTS, DEALS, SEED, Adapt::Tighten)); line(&adaptive_effect(&pop, OPPONENTS, DEALS, SEED, Adapt::Loosen)); line(&adaptive_effect(&pop, OPPONENTS, DEALS, SEED, Adapt::Model)); }