Files
pokerfreak/src/icm/mod.rs
T
mmintelandClaude Opus 5.5 79cb24e279 Turnier live: Erkennung aus dem Log, ICM-Push/Fold-Solver, Chip-EV-Rückfall in decide.py
- lesen/spot_from_log: Turnierlage aus Beitrittszeile ODER Tisch-Rahmen (tournamentlobby.*);
  fehlt etwas, spielt der Tisch Chip-EV mit Grund in _turnier
- entscheiden/decide.py: Modus in Antwort/Begründung; unbepreisbare Lage -> einmal als Chip-EV
- src/icm/push_fold.rs: ICM-Nash Push/Fold (<=15bb first-in, Call gegen lone Jam <=25bb),
  fiktives Spiel über 169 Klassen, Antes im Pot; exploit_border ohne ICM-Doppelzählung
- turnier_leiter ab: gepaarter A/B Solver vs kalibriert
- tests/turnier_spots_spec: 8 Spots + Rückfall; Cash unberührt

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 22:09:46 +01:00

25 lines
1.4 KiB
Rust

//! ICM-lite: chip EV converted to money EV for tournament spots.
//!
//! An APPROXIMATION, like the multiway equity. Assumptions:
//! * Malmuth-Harville: a player finishes next with probability `stack / sum of stacks`
//! among those still unplaced (`harville`). Only the paid places are expanded; fields
//! above `harville::MAX_PLAYERS` are sampled (deterministically) instead of expanded.
//! * A call is a heads-up showdown for the whole `min(to_call, stacks)`; the pot is won or
//! lost as one piece, the rest of the field does not act (`risk`).
//! * The opponent is the last aggressor of the hand (largest stack when unknown),
//! found in the field by its stack. Everything else in the field stays as given.
//! * Only calls (hero faces a bet) are tightened. Opening and jamming ranges are not yet
//! moved by the pay structure; chip EV stays in force there.
//! * Without a `Turnierlage` nothing changes: cash is bit-identical.
//! * A `Turnierlage` that does not make sense (no stacks, no payouts, hero not in the field,
//! non-positive stacks, more than `harville::MAX_FIELD` players) is not guessed at:
//! the engine answers ABSTAIN.
//!
//! Optional request field (an extension, not in VERTRAG.md; read in `wire::decode_tournament`):
//! `"tournament": {"payouts": [..], "stacks": [..], "heroIndex": n, "ante": a, "level": l}`.
pub mod harville;
pub mod lage;
pub mod push_fold;
pub mod risk;