Pruefstand fertig: Turn-Paket besteht, BETTOR gegen grosse River-Einsaetze geprueft, Bericht und Notizen
- Turn-Paket ENTHALTUNG=passiv;TURN_SPIEL_FOLD=heuristik BESTANDEN: echte Spots dev +3 017, holdout +4 108 (beide signifikant), 0 harte Kipps, +0,33 bb/100 eigener Haende - BETTOR gegen grosse River-Einsaetze: ML a = 0,07 [0,04, 0,09], grosse Einsaetze nicht bluffiger als die Tabelle; ohne BETTOR ab 0,8 Topf holdout -3 251 -> kein Kandidat, BETTOR_GROSS bleibt Messschalter (klasse, mix:a) - Werkzeuge in BelowNormal (neue Regel 18.11.) - messung/pruefstand/BERICHT.md; PLAN/STAND/STATUS nachgetragen - Nichts live geschaltet; alle neuen Schalter aus = bitgleich Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -308,23 +308,40 @@ fn bettor_node(spot: &Spot, villain: &Villain, ratios: &[Option<f64>], street: S
|
||||
} else {
|
||||
'x'
|
||||
};
|
||||
if bet && street == Street::River && matches!(answer, 'g' | 'u') && bettor_gross_aus() {
|
||||
let gross = bet && street == Street::River && matches!(answer, 'g' | 'u');
|
||||
if gross && bettor_gross_aus() {
|
||||
return None;
|
||||
}
|
||||
let pfa = spot.history.iter().rev().find(|r| r.street == Street::Preflop && r.action.is_aggressive()).is_some_and(|r| r.seat == villain.seat);
|
||||
let before = street != Street::Flop
|
||||
&& spot.history.iter().any(|r| r.seat == villain.seat && r.street as usize + 1 == street as usize && r.action.is_aggressive());
|
||||
super::bettor::likelihood(street, pfa, before, answer).map(|lk| (lk, bet))
|
||||
let mix = if gross { bettor_gross_mix() } else { 0.0 };
|
||||
super::bettor::likelihood(street, pfa, before, answer).map(|mut lk| {
|
||||
if mix > 0.0 {
|
||||
lk.iter_mut().for_each(|x| *x = (1.0 - mix) * *x + mix);
|
||||
}
|
||||
(lk, bet)
|
||||
})
|
||||
}
|
||||
|
||||
/// `BETTOR_GROSS=aus` (off = bit-identical): river bets above 0,8 pot (`g`, `u`) are read by the made-class
|
||||
/// `BETTOR_GROSS=klasse` (off = bit-identical): river bets above 0,8 pot (`g`, `u`) are read by the made-class
|
||||
/// floor again, not by the `BETTOR` curve. Pruefstand 18.11. (solver-kern): against big river bets
|
||||
/// "always call" beat the solver with BETTOR ranges by ~3000 bb on real dev spots, the curve gives big
|
||||
/// bets too little air (`messung/pruefstand/BERICHT.md`).
|
||||
fn bettor_gross_aus() -> bool {
|
||||
use std::sync::OnceLock;
|
||||
static AUS: OnceLock<bool> = OnceLock::new();
|
||||
*AUS.get_or_init(|| std::env::var("BETTOR_GROSS").as_deref() == Ok("aus"))
|
||||
*AUS.get_or_init(|| std::env::var("BETTOR_GROSS").as_deref() == Ok("klasse"))
|
||||
}
|
||||
|
||||
/// `BETTOR_GROSS=mix:<a>` (off = bit-identical): the BETTOR curve of a river bet above 0,8 pot is mixed
|
||||
/// with `a` of a flat acceptance, so weak holdings stay in the range (more air). Same measurement.
|
||||
fn bettor_gross_mix() -> f64 {
|
||||
use std::sync::OnceLock;
|
||||
static MIX: OnceLock<f64> = OnceLock::new();
|
||||
*MIX.get_or_init(|| {
|
||||
std::env::var("BETTOR_GROSS").ok().and_then(|v| v.strip_prefix("mix:").and_then(|a| a.parse::<f64>().ok())).filter(|a| a.is_finite()).map_or(0.0, |a| a.clamp(0.0, 1.0))
|
||||
})
|
||||
}
|
||||
|
||||
/// One continuation for the villain on `street`, if their actions there say anything.
|
||||
|
||||
Reference in New Issue
Block a user