Files
pokerfreak/src/exploit/thresholds.rs
T
mmintelandClaude Opus 5.5 4fa0875765 Benchmark harness and mark detection: paired simulation, reader, benchmark binary
Secures work in progress so the rake branch and the shell repo can be merged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 10:36:11 +01:00

26 lines
946 B
Rust
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/// 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,
};
}