ANGRIFF_FOLD=1 (Messschalter, aus = bitgleich): Fold-Reads nicht verdienter Stile kommen als stilloser Profil-Rest (fold_only) durch read_gate in den Angriff; Called-Zweig gegen die staerksten 1-fold der Range; Bluff-Groessen bis VALUE_BAND
Probe: C-Bet-Haeufigkeit bei Fold-Read >= 0,45 von 17,8 % auf 81-92 %; blind unveraendert. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ use crate::card::Card;
|
||||
use crate::equity::monte_carlo::estimate;
|
||||
use crate::equity::query::Query;
|
||||
use crate::equity::villain_range::VillainRange;
|
||||
use crate::exploit::call_floor::call_continuation;
|
||||
use crate::exploit::call_floor::{call_continuation, top_call_continuation};
|
||||
use crate::exploit::range_model::range_spec;
|
||||
use crate::exploit::size_notch::size_notch;
|
||||
use crate::exploit::table_fold::pressure_ratio;
|
||||
@@ -55,7 +55,9 @@ fn simulate(spot: &Spot, notch: i32, ratio: f64) -> Option<f64> {
|
||||
.live_villains()
|
||||
.map(|v| {
|
||||
let mut spec = range_spec(spot, v);
|
||||
spec.continues.push(call_continuation(v, spot.street, ratio, spot.to_call > 0.0));
|
||||
let fold_only = v.profile.is_some_and(|p| p.fold_only);
|
||||
let call = if fold_only { top_call_continuation } else { call_continuation };
|
||||
spec.continues.push(call(v, spot.street, ratio, spot.to_call > 0.0));
|
||||
range_filter(&spec, rules, spot.variant, &spot.board)
|
||||
})
|
||||
.collect();
|
||||
|
||||
+30
-1
@@ -11,6 +11,7 @@
|
||||
//! loose table, may never tip us into a worse decision.
|
||||
|
||||
use crate::exploit::style::{classify, Style};
|
||||
use crate::exploit::profile::Profile;
|
||||
use crate::game::{Spot, Villain};
|
||||
|
||||
/// How much of a read's adjustment each opponent style has EARNED on the ladder — the measured right
|
||||
@@ -64,9 +65,37 @@ pub fn gate_reads(spot: &Spot) -> Spot {
|
||||
.villains
|
||||
.iter()
|
||||
.map(|v| Villain {
|
||||
profile: v.profile.filter(|p| exploit_worthy(classify(p))),
|
||||
profile: v.profile.and_then(|p| if exploit_worthy(classify(&p)) { Some(p) } else { fold_reads(&p) }),
|
||||
..v.clone()
|
||||
})
|
||||
.collect();
|
||||
Spot { villains, ..spot.clone() }
|
||||
}
|
||||
|
||||
/// Messschalter (einmal gelesen): `ANGRIFF_FOLD=1` laesst von einem nicht verdienten Stil (Regular,
|
||||
/// Nit, LAG) die Fold-Reads durch - foldToBet (gepoolt und je Strasse) und foldToCbet - als
|
||||
/// stilloses Profil (`Profile::fold_only`, `classify` = Unknown): kein Stil-Shift, nur die
|
||||
/// Fold-Wahrscheinlichkeit von Heros Einsaetzen (`exploit::table_fold`). Gegen die Mehrstrassen-Kosten
|
||||
/// starker Caller (Befund Nit-Leck) spielt der Called-Zweig dann gegen die staerksten 1 - fold der
|
||||
/// Range (`exploit::call_floor`). Befund 15.11. (`diag_welt DIAG_READ=1`): jeder NL2-Read klassiert
|
||||
/// Regular und lief im Angriff blind (pool-nl2 Read − blind +1,4 bb/100, C-Bet bitgleich bei jedem
|
||||
/// Fold-Read). Vorgabe: aus (alt, bit-identisch).
|
||||
pub fn fold_attack_enabled() -> bool {
|
||||
use std::sync::OnceLock;
|
||||
static ON: OnceLock<bool> = OnceLock::new();
|
||||
*ON.get_or_init(|| std::env::var("ANGRIFF_FOLD").as_deref() == Ok("1"))
|
||||
}
|
||||
|
||||
/// The fold reads of an untrusted profile as a style-less profile, when `ANGRIFF_FOLD` is on and it
|
||||
/// carries one; otherwise `None` (blind, as before).
|
||||
fn fold_reads(p: &Profile) -> Option<Profile> {
|
||||
let any = p.fold_to_bet.is_some() || p.fold_to_cbet.is_some() || p.street_fold_to_bet.iter().any(Option::is_some);
|
||||
(fold_attack_enabled() && any).then(|| Profile {
|
||||
fold_to_bet: p.fold_to_bet,
|
||||
street_fold_to_bet: p.street_fold_to_bet,
|
||||
fold_to_cbet: p.fold_to_cbet,
|
||||
confidence: p.confidence,
|
||||
fold_only: true,
|
||||
..Profile::default()
|
||||
})
|
||||
}
|
||||
|
||||
@@ -110,7 +110,13 @@ pub fn extra_call_margin(spot: &Spot, read: &HandRead) -> f64 {
|
||||
fn band(spot: &Spot, kind: RaiseKind, share: f64, read: &HandRead) -> (f64, f64) {
|
||||
let t = tier(read.made);
|
||||
let late = spot.street != Street::Flop;
|
||||
// ANGRIFF_FOLD against a style-less fold read: bluffs and semibluffs may also take the value sizes,
|
||||
// where the read's fold chance applies in full (a small bet is folded less, `exploit::fold_chance`);
|
||||
// the EV picks the size.
|
||||
let fold_read = super::read_gate::fold_attack_enabled()
|
||||
&& spot.live_villains().any(|v| v.profile.is_some_and(|p| p.fold_only));
|
||||
let base = match kind {
|
||||
RaiseKind::Semibluff | RaiseKind::Bluff if fold_read => (BLUFF_BAND.0, VALUE_BAND.1),
|
||||
RaiseKind::Semibluff | RaiseKind::Bluff | RaiseKind::ThinValue => BLUFF_BAND,
|
||||
RaiseKind::Value if t == Tier::Medium => BLUFF_BAND,
|
||||
RaiseKind::Value if t == Tier::Monster && late && share >= NUT_SHARE => NUT_BAND,
|
||||
|
||||
Reference in New Issue
Block a user