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>
47 lines
2.3 KiB
Rust
47 lines
2.3 KiB
Rust
use super::fold_chance::fold_chance;
|
|
use super::made_ladder::rung;
|
|
use super::range_spec::Continuation;
|
|
use super::size_notch::size_notch;
|
|
use super::style_rung::style_rung;
|
|
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];
|
|
|
|
/// 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
|
|
/// call on flop and turn. This is the range the called branch of a bet is played against.
|
|
///
|
|
/// It is as wide as the villain calls: `continue_share` = 1 - their fold chance to this bet
|
|
/// (`fold_chance`, the same number the fold branch uses; `facing_raise` when hero raises a
|
|
/// bet). A calling station that calls 80 % calls with more than the hands above the floor.
|
|
pub fn call_continuation(villain: &Villain, street: Street, ratio: f64, facing_raise: bool) -> Continuation {
|
|
let slot = (street as usize).clamp(1, 3) - 1;
|
|
Continuation {
|
|
board_len: street.board_len(),
|
|
min_made: rung(CALL_RUNG[slot], size_notch(Some(ratio)) + style_rung(villain)),
|
|
draws_continue: street != Street::River,
|
|
min_draw: crate::read::draw::Draw::Gutshot,
|
|
bluff_share: 0.0,
|
|
continue_share: Some(1.0 - fold_chance(villain.profile.as_ref(), ratio, facing_raise)),
|
|
top_share: None,
|
|
}
|
|
}
|
|
|
|
/// `call_continuation` against a style-less fold read (`Profile::fold_only`, `ANGRIFF_FOLD`): whoever
|
|
/// calls holds the strongest `1 - fold` of the range (Bayes for a caller who continues by strength),
|
|
/// not the calling floor topped up with random hands - the multi-street cost of a called bluff into
|
|
/// a strong range (Befund Nit-Leck) is priced into the called branch.
|
|
pub fn top_call_continuation(villain: &Villain, street: Street, ratio: f64, facing_raise: bool) -> Continuation {
|
|
Continuation {
|
|
board_len: street.board_len(),
|
|
min_made: crate::read::made::Made::Air,
|
|
draws_continue: true,
|
|
min_draw: crate::read::draw::Draw::None,
|
|
bluff_share: 0.0,
|
|
continue_share: None,
|
|
top_share: Some(1.0 - fold_chance(villain.profile.as_ref(), ratio, facing_raise)),
|
|
}
|
|
}
|