Der Zwillings-Tor-Boden stand bei gto -36.25 bb/100 unter dem realistischen Memory-Read - ~12bb schlechter als die Oracle-Diagnose (-24.83), also lesegetrieben, nicht Cooler-Varianz. Wurzel: mdf_floor::over_bluffs feuerte auf classify==LooseAggressive, das auf Preflop-Breite (vpip>=0.35 & pfr>=0.20) stuft. Heads-up spielt ein balancierter Gegner eine weite Range (Button opent ~80%, BB verteidigt ~70%), sein Session-Read ist breit (vpip 0.70, pfr 0.46) bei Postflop-Aggression nur ~0.35 - also als Over-Bluffer fehlgelabelt. Der Boden force-callt seine Value-Bets: der -52bb Over-Call aus BEFUND-gto-ueberdefense, zurueck unter dem realistischen Read (das Oracle entkam nur ueber ein hand-gesetztes schmales vpip 0.32). Maniac (aggr 0.49) und balancierter gto (aggr 0.35) sind ueber vpip/pfr nicht unterscheidbar - nur die Postflop-Aggression trennt sie. Fix: over_bluffs = aggression >= 0.45 (war classify==LA || aggr>=0.60); 0.45 liegt zwischen balanciert (0.35/0.40) und Over-Bluffer (0.49/0.50). Das direkte Bluff-Signal, nicht die Range-Breite. Beweis: - Zwillings-Tor Baseline->Kandidat: Boden gto -36.25 -> -23.93, Offense +43.95 -> +44.16 (haelt), Exploitability 77.03 unveraendert (River-Batterie nutzt None-Profile, die der Fix nicht beruehrt) => Gate::passes. - Paired (floor_read, Memory, 4000 Austeilungen): gto +6.84+-6.74, gto-small +6.15+-4.50 Better, maniac Identisch (Over-Bluffer-Defense unberuehrt). - 93 Lib-Tests gruen (+1 Regressionstest a_wide_but_balanced_headsup...). Werkzeuge: src/bin/gto_read_probe.rs (zeigt die Fehlklassifikation), src/bin/floor_read.rs (Boden je Lese-Modus). Befund: docs/notizen/BEFUND-gto-ueberdefense-read.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
75 lines
3.1 KiB
Rust
75 lines
3.1 KiB
Rust
//! Does the session (Memory) read misclassify the balanced heads-up gto as LooseAggressive, tripping
|
|
//! the MDF floor's `over_bluffs`? Accumulates `SessionMemory` over a session against the gto exactly as
|
|
//! `session::deal_samples` does, and prints the evolving read + `classify` at checkpoints.
|
|
//!
|
|
//! Run: `cargo run --release --bin gto_read_probe [deals]`.
|
|
|
|
use rechner::exploit::style::classify;
|
|
use rechner::rng::Rng;
|
|
use rechner::sim::memory::SessionMemory;
|
|
use rechner::sim::opponent::Opponent;
|
|
use rechner::sim::reader::Style;
|
|
use rechner::sim::table::{deal, play_hand_tracked, HandRead, HandSetup, TableCost};
|
|
|
|
const SEED: u64 = 0x5EED_0001;
|
|
const STACK_BB: f64 = 100.0;
|
|
const PLAYERS: usize = 2;
|
|
|
|
fn mix(seed: u64, n: u64) -> u64 {
|
|
Rng::seeded(seed ^ n.wrapping_mul(0xD1B5_4A32_D192_ED03)).next_u64().0
|
|
}
|
|
|
|
/// The shipped `over_bluffs` predicate (mdf_floor): measured postflop aggression ≥ 0.45, NOT preflop
|
|
/// width. The old rule (`classify == LooseAggressive || aggr >= 0.60`) misfired on the balanced wide
|
|
/// heads-up read; this probe shows why (classify still says LooseAggressive, but aggr stays ~0.35).
|
|
fn over_bluffs_now(p: &rechner::exploit::profile::Profile) -> bool {
|
|
p.aggression.is_some_and(|a| a >= 0.45)
|
|
}
|
|
|
|
fn final_read(style: Style, deals: u32) {
|
|
let mut memory = SessionMemory::new();
|
|
for d in 0..deals {
|
|
let (cards, _) = deal(PLAYERS, Rng::seeded(mix(SEED, d as u64)));
|
|
for hero_seat in 1..=PLAYERS as u8 {
|
|
let hand = HandSetup {
|
|
deal: &cards,
|
|
hero_seat,
|
|
opponent: Opponent::Reader(style),
|
|
stack_bb: STACK_BB,
|
|
seed: mix(SEED ^ 0xA5A5, (d as u64) << 8 | hero_seat as u64),
|
|
read: HandRead::Given(memory.read()),
|
|
};
|
|
play_hand_tracked(&hand, TableCost::FREE, Some(&mut memory));
|
|
}
|
|
}
|
|
match memory.read() {
|
|
None => println!(" {:<10} kein Read", style.name()),
|
|
Some(p) => println!(
|
|
" {:<10} vpip {:>4.2} pfr {:>4.2} fold2bet {:>4.2} aggr {:>4.2} -> {:<16} over_bluffs={}",
|
|
style.name(),
|
|
p.vpip.unwrap_or(f64::NAN),
|
|
p.pfr.unwrap_or(f64::NAN),
|
|
p.fold_to_bet.unwrap_or(f64::NAN),
|
|
p.aggression.unwrap_or(f64::NAN),
|
|
format!("{:?}", classify(&p)),
|
|
over_bluffs_now(&p),
|
|
),
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
let deals: u32 = std::env::args().nth(1).and_then(|s| s.parse().ok()).unwrap_or(3000);
|
|
println!("=== Memory-Read je Archetyp (Endstand), {deals} Austeilungen ===");
|
|
println!("over_bluffs (geshippt) = aggression>=0.45 => MDF-Boden feuert (NICHT mehr Preflop-Breite).");
|
|
println!("Balanciert (gto/gto-small) sollte over_bluffs=false sein, Maniac=true.\n");
|
|
// Fast archetypes only here (no solver). `GTO_TOO=1` also runs gto/gto-small (slow solver).
|
|
let mut styles = vec![Style::Maniac, Style::Fish, Style::Reg, Style::Nit];
|
|
if std::env::var("GTO_TOO").is_ok() {
|
|
styles.push(Style::Gto);
|
|
styles.push(Style::GtoSmall);
|
|
}
|
|
for style in styles {
|
|
final_read(style, deals);
|
|
}
|
|
}
|