Hand percentiles (169-class equity ranking, Omaha-5 structural score with empirical CDF), position/situation inference, position x situation charts, all-in-or-fold charts, pot-odds all-in calls, advise(); exploit style classification, threshold adjustment and villain range guess. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
544 B
Rust
19 lines
544 B
Rust
//! Picks the chart action for a hand percentile.
|
|
|
|
use super::chart_row::ChartRow;
|
|
use super::plan::ChartAction;
|
|
|
|
/// Jam beats raise beats call; a hand continues only when strictly inside a cut-off,
|
|
/// so a zero cut-off switches that column off.
|
|
pub fn decide(percentile: f64, row: &ChartRow) -> ChartAction {
|
|
if percentile < row.jam {
|
|
ChartAction::Jam
|
|
} else if percentile < row.raise {
|
|
ChartAction::Raise
|
|
} else if percentile < row.call {
|
|
ChartAction::Call
|
|
} else {
|
|
ChartAction::Fold
|
|
}
|
|
}
|