POSTERIOR S1 (engine::glaube): P(Fold) aus der Band-Masse unter dem call_floor, Board-Term in Logit; Varianten fold:<w>, nurfold. Aus bitgleich; Pilot w=1 verliert (STAND §19)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@ use crate::game::{Street, Villain};
|
||||
|
||||
/// Rung of the weakest hand that calls a bet, per street (flop, turn, river) on
|
||||
/// `made_ladder`: bottom pair on flop and turn, middle pair on the river.
|
||||
const CALL_RUNG: [i32; 3] = [1, 1, 2];
|
||||
pub const CALL_RUNG: [i32; 3] = [1, 1, 2];
|
||||
|
||||
/// What a villain continues with when hero bets `ratio` pots on `street`: the calling
|
||||
/// floor moved by the size (`size_notch`) and the villain's style (`style_rung`); draws
|
||||
|
||||
@@ -23,7 +23,12 @@ pub fn table_fold(spot: &Spot, to: f64, scale: f64) -> f64 {
|
||||
}
|
||||
// Hero's continuation bet is priced by the fold-to-c-bet read (`fold_base_cbet`).
|
||||
let cbet = line::cbet_spot(&spot.history, spot.hero_seat, spot.street);
|
||||
let glaube = crate::engine::glaube::fold_on();
|
||||
live.map(|v| {
|
||||
if glaube {
|
||||
// POSTERIOR=fold: the same number the called branch plays against (`engine::glaube`).
|
||||
return (crate::engine::glaube::table_fold_of(spot, v, ratio, facing_raise) * scale).clamp(0.0, MAX_FOLD);
|
||||
}
|
||||
let p = v.profile.as_ref();
|
||||
let f = if cbet {
|
||||
sized_fold(fold_base_cbet(p), ratio, facing_raise)
|
||||
|
||||
Reference in New Issue
Block a user