/// Decision thresholds the engine applies on top of the break-even point. /// The exploit layer moves these; the engine only reads them. #[derive(Clone, Copy, Debug, PartialEq)] pub struct Thresholds { /// Equity share must exceed break-even by this much to continue (call). pub call_margin: f64, /// Minimum equity share for a value raise. pub value_raise: f64, /// If |equity − break-even| is inside this band, the answer is ABSTAIN. pub abstain_band: f64, /// Multiplier on the default fold-equity estimate for bets/raises (1.0 = neutral). pub fold_equity_scale: f64, /// Preflop: multiplier on the chart's opening/continuing width (1.0 = neutral). pub range_width_scale: f64, } impl Thresholds { pub const BASE: Thresholds = Thresholds { call_margin: 0.02, value_raise: 0.58, abstain_band: 0.015, fold_equity_scale: 1.0, range_width_scale: 1.0, }; }