Not on main: 7 tests fail, as they do on rake alone (generated_charts_plausibility,
pipeline_bluff, preflop_multi_advice). The rake charts contradict those specs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
One project had four root folders. The shell's history is kept, paths now point inside this
repo, and the boundary stays: src/ imports nothing from the shell, which only speaks the contract.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shell can now send the optional `tournament` field (payouts, stacks,
heroIndex, ante, level). The core read none of it, and the exact Harville
expansion could not price the real bubble (15-18 players). Fields above
MAX_PLAYERS are now priced by an exponential race sample with a fixed seed,
so the same request always gets the same answer; beyond MAX_FIELD the core
abstains. Malformed fields are an invalid request, unpriceable ones abstain.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Variant::Plo4 mit vier Lochkarten, Omaha-Regel (genau zwei aus der Hand) und
Pot-Limit-Größen wie PLO5; Doppel-Board und Bomb Pot laufen über denselben Weg.
Vorflop eine eigene Vier-Karten-Handwertung (plo4_score, Perzentil-Tabelle aus
allen 270 725 Händen) statt der PLO5-Tabelle; Tests für Annahme/Ablehnung,
Omaha-Regel, Doppel-Board, Pot-Limit und die Kalibrierung gegen Equity.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cfr_advice liest die Mehrgegner-Tabelle (NLHE, 20-100 bb) für das erste
Open, den Verteidiger gegen ein Open ohne Caller und den Opener gegen eine
3-Bet. Ein Gegner liest das Ein-Verteidiger-Spiel, der Grund nennt die
Gegnerzahl. Sonst bleibt alles beim Bisherigen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mehrere Verteidiger: Opener gegen die letzten k Plätze (k = 1..4), gleiche
Abstraktion, Chance-Sampling-CFR+ mit exaktem Card Removal, jede Annahme im
Kopf von generated_charts_multi.rs. Beleg: Abweichung gegen die
Ein-Verteidiger-Charts je Spot, Gegenprobe exakt (k <= 2) und gesampelt
(k = 3, 4), alle unter 0,01 bb.
Short Deck: Vollständigkeit aller Positionen und Randhände, alle
All-in-Entscheidungen gegen direkte Showdowns mit echten Karten geprüft
(0 falsch in 69 Knoten).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Neues Modul `sim` (nicht Teil der Pipeline): NLHE-Tisch mit 2-10 Plätzen,
Side Pots und History, die Engine bekommt dieselbe Anfrage wie aus der Hülle.
Gegner: Calling Station, Folder, Zufall-legal. Duplicate-Messung über alle
Plätze, unverzerrte Luck-Korrektur je Boardkarte (exakt bis zwei fehlende
Karten), 95-%-Intervall.
tests/sim_strength.rs: Mechanik, Chip-Bilanz, Determinismus, kurzer Lauf
heads-up (< 20 s); langer Lauf mit 6-max hinter --ignored. Zahlen und
Schwellen in MODULES.md. 790 Tests grün, clippy sauber.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- boardDouble (Form wie board): je Board entschieden, die bessere Bewertung
(höhere Equity) gewinnt; Näherung offen dokumentiert (Topf geteilt, exakt
wäre der Mittelwert). Ungleiche Länge, doppelte Karte -> ABSTAIN
- ritOffered -> rit (ACCEPT/DECLINE/ABSTAIN) und ritReason: annehmen über dem
Bruchpunkt, ohne offenen Call fairer Anteil, ohne Equity ABSTAIN
- keine bestehenden Felder oder Typen geändert; Zusatzfelder werden nach der
Spot-Prüfung gelesen
- Tests: benannte Referenzwerte, ein Board verbessert/das andere nicht,
pipeline_extras_neutral zeigt bitgleiche Antworten ohne die Felder (779)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
EP, MP, CO and BTN now play three-player games against small and big
blind (push/fold and open/call/3-bet trees, CFR+ for three players,
exploitability summed over all three best responses). Deal weights and
three-way shares are documented approximations. Short deck gets its own
equity table and charts from the same generator (--deck short).
Open width shrinks in EP/MP (e.g. EP 100bb 0.291 -> 0.249, MP 40bb
0.357 -> 0.293); frozen exploitability stays at 0-4 micro-bb (full) and
0-9 micro-bb (short). Lookup and advice cover SB vs open/jam, BB after
an SB call and the opener vs an SB 3-bet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- exploit::fold_chance: documented foldToBet -> P(fold) map by bet size, per villain
- engine: two-branch EV for every raise (fold branch, called branch vs calling range)
- semibluffs first, pure bluffs heads-up above a fold and EV threshold
- betting ranges keep a bluff share (size, street, style or new profile.aggression)
- guards: no bluffs vs never-folders, no bluff catch vs ranges without bluffs
- steal width in unopened pots from how often the blinds fold
- combo-list sampling for narrow two-card ranges
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>