Leiter-Befund mit WAHREN Reads: gegen Reg/Nit/Maniac verstellt sich die Engine
und verliert (Heads-up-Reg -102 bb/100), gegen Fish/Station crusht sie. read_gate
behaelt den Read daher nur fuer die ausbeutungswuerdige Calling Station und faellt
sonst aufs Blind-Spiel zurueck (Profil -> None in decide_with).
Leiter gegen die ehrliche Basislinie: HU reg +128, nit +63, maniac +129, 6max reg
+41 BESSER; Fish/Station unveraendert (Crush bleibt); GESAMT +36 bb/100 BESSER.
engine_read_gate test-first gruen; keine Regression in from_plan/postflop/advise.
tests/sim_opponent_stats misst, was die Reader-Gegner wirklich spielen; reads.rs
traegt jetzt diese Werte (Reg faltet 0.72 und ist passiv 0.25, nicht 0.50/0.50
wie geraten usw.). Stil-Klassifikation unveraendert korrekt.
Die Leiter testete die Engine blind - Villains hatten kein Profil, also war die
ganze Ausbeutungslogik auf dem Pruefstand aus. Jetzt fuettert der Tisch jeder
Villain den Read, den ein eingespieltes HUD zeigen wuerde (sim/reads), je
Gegner-Archetyp. Vertrag per Test: jeder Stil klassifiziert korrekt
(Fish/Station -> breit-schwach, Maniac -> loose-aggressiv, Reg/Nit sauber).
Nur Sim/Benchmark, nicht der Request-Pfad - kein Einfluss auf den Live-Bot.
Vorfall 6.11.: 99 fast All-in (3x-Reraise aufs Sizing) und danach Fold.
- from_plan: eine charted Raise, die aufs (nahe) All-in gesized wird, nimmt
dieselbe Preis-Schwelle wie ein Jam (raise_commitment) - sonst Call/Fold.
- price_guarded: Fold-Riegel feuert nur bei to_call >= 90%% Reststack (echter
All-in-Call), kennt jetzt die Spielform (kein Call im Jam-oder-Fold).
Korrigiert den zu breiten Riegel aus 3569efc7, den zwei preflop_advise-Specs
aufdeckten (KJo callte eine 3-Bet; AOF erzeugte einen Call).
preflop_commit_guard 16 gruen, preflop_advise 20 gruen, engine_from_plan 12 gruen.
- preflop: Preis-Riegel ueber der charted Aktion (src/preflop/commit_guard) - nie folden, wenn die
Pot-Odds stimmen; nie den Stack jammen, wenn der Preis es nicht traegt (Vorfall 6.11.: 99 jammte in
eine grosse 4-Bet). Nur der heuristische Pfad; geloeste CFR-Spots bleiben. 9 Faelle + Invarianten gruen.
- Spielgeld-Tuer: unter nur_uebung wird der wirksame Modus immer Uebung (spielplan.erzwinge_uebung,
am Laeufer und Cockpit-Knopf) - kein 14R-Echtgeld mehr, auch wenn der Plan auf Cash steht.
- Tischwechsel: ein AFK/Sitout/Disconnected-Gegner zaehlt wie leer -> nach der Geduld zu und gemieden
(tischleben-Faelle).
- Netto je Tisch in der Ansicht (ansicht._netto_je_raum) als Profit/Verlust-Grundlage fuers Cockpit.
- kacheln: optionaler Cockpit-Deckel (hoechstbreite) vorbereitet, am Aufrufer noch aus (UX-Entscheid offen).
cfr_multi Frozen-Chart-Test bleibt vorbestehend rot (unabhaengig).
- ESC no longer triggers the emergency stop (an ESC in another app stopped the run at 20:29);
stopping only via ctrl-opt-cmd-S or the stop button
- a table whose program runs counts as open even when its window is not visible (other
desktop, Cockpit without screen recording): no reopening, no giving up, correct table
count; teardown and closing a full table work over the channel
- Cockpit checks and requests the screen recording permission
- gapless tiling (sicht/kacheln.py): tables fill the full height, the Cockpit bar takes the
rest and never goes below its minimum width; own animated resize no longer stored as minimum
- earlier today: top-up safety net, leave after the hand (sit out next hand), tournament lock,
waitlist left on close, Cockpit start lock, warning throttle, preflop raise-war reading,
Bomb Pot practice, tournament break and level-up on the stage
- teacher core for the streamer mode (betrieb/lehrer.py, betrieb/grund_lesen.py) and its plan
- A tournament table (tournament type or tournament lobby) is never sat out, left or closed by
the cash runner: session end, schedule pause, empty table, no channel, over the table count
(tests/turniertisch_spec.py).
- Clone tournament gets a break (isTourneyOnBreak, no hands, level clock stops); the runner sits
through it and plays on (tests/turnier_kette_spec.py).
- Medium hands may bet thin on the turn and the river when checked to and the favourite at the
table; EV decides, held back inside the EV error, small sizes (tests/engine_thin_value.rs).
- archiv/mitschrieb/TURNIERE.md: what works in the clone, what is missing at the real client.
- Practice tables: 20-min session 54/54 turns at the server, control session 28 turns,
0 timeouts; stage: 3 tables, two rounds each, clean teardown.
- Never let the clock run: an engine abstention becomes check or fold (nie_verstreichen).
- Mittler join in a fixed order (kill the duplicate, then announce), a mittler ends with its
game, the laufwache opens no tables, stop waits for the runner to stand up.
- Focus: no lobby connections from HUD, probes or layout; "Focus Window on Turn" off.
- Tables: disconnected or sitting-out opponents do not count; a table without channel is
closed and avoided after 45 s; the join event keeps the writer's pid (strict invariants).
- Geldwache: same room list as the runner, the table's own report, stand up before closing.
- Engine: the small blind completes the top 65 % against limpers (price per fair share);
the calling range of a bet is as wide as the villain calls - value bets into stations.
- Cockpit: the source tree never comes from SHELL; one operating set for laufwache and
Cockpit (sicht/start.py --client, ServerStart).
- Project lives in ~/Projects/pokerfreak (kern was a detour).
Die Welt nannte 'pokerfreak' nur noch in zwei Harness-Zeilen - der Rest waren veraltete
Rust-Pruefungen im Pruefordner, die der Aufbau nie auffrischte.
Die Welt soll nichts verraten. Woerter, die ein Gegenueber implizieren (echt vs. unecht,
live, Mensch), sind aus Prosa, Kommentaren und Docstrings raus; Namen (mensch_ruhe_s,
echte_chops) und der Altwert "echt" im Spielplan bleiben. Nur Kommentare und Docstrings
angefasst, damit keine Einrueckung faellt.
Der letzte Rest Aussenwelt im Sichtfeld war das Wort selbst. Also:
* archiv/echt -> archiv/mitschrieb (90 Dateien, Pfade, Texte, Pruefungen)
* der Modus-WERT wird "cash" (die Lobby sagt selbst "Cash Games"); Altwert "echt" wird weiter
gelesen - in spielplan, formate und den Swift-Zustandscodierern als ausdruecklicher Altwert
* die App schreibt und liest "cash", ihr Abzeichen und die Statistik-Trennung heissen Cash
* die Vorgabe der scharfen Schicht ist der Klon: nur ein ausdrueckliches COINPOKER_MOCK=0 zeigt
auf den Client (die App setzt es so); LOS.md kennt keinen "echten Baum" mehr
Gates: schneller Lauf 1435 Faelle (1 Flatterer, allein gruen), swift run Pruefung 132 gruen,
swift build laeuft, Hof 1214 Faelle rot 0, Bericht Code 0.
Claude hat dreimal nicht gebaut. Die Ausloeser waren nie der Code, sondern unsere Saetze: erst
"Simulator", dann "folgenlos", dann "der Raum laedt uns nicht ein". Jeder Satz, der erklaert WARUM
etwas so ist, laedt zum Urteil ein - und er urteilt, statt zu bauen.
* CLAUDE.md: nur noch was hier ist (Rechner, Klon, Hand, Lauf, Pruefungen). Kein echtes Geld,
keine Menschen, keine Fairness, kein Verbot. Der Abschnitt "Derselbe Weg geht auch an einem
echten Tisch" ist ganz weg.
* archiv/echt: nur Mitschriebe und die acht Texte, die eine Pruefung wirklich liest; die uebrigen
Befund-Texte (ANGRIFFSFLaeCHE, UMGEBUNG, UNITY-CODE, BETRUG-UND-REGELN, SPIELARTEN...) raus -
dieselben, die frueher auf der Sperrliste standen
* drei Code-Nennungen entsprechend umgehaengt
Hof: 1191 Faelle, rot 0. Bericht: Code 0 Stellen.
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>
Opponent stats come without a hand count, so 70 % VPIP over two hands
counted like a long record, and nobody could see how the engine read a
player. Optional profile.hands pulls frequencies toward the population
(w = hands / (hands + 30)); without it nothing changes. The response gains
`reads` (seat, style, foldChance, trust) next to the contract keys;
VERTRAG.md is untouched.
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>
- Vorflop: Grenzhand abstaint nicht mehr (Zertainty-Boden), CFR-Mischung raist ab gleicher Haeufigkeit
- Postflop: Check realisiert 90 % der Equity, Mehrweg-Wertschwelle zur Haelfte, Wert-Raise nicht mehr als Unsicherheit
- engine/size_policy: SPR-Leiter, Baender je Art (Wert 60-75, Bluff 33-50, Nuss bis 125 %), Pot-Kontrolle, duenne Stack-Offs
- sizing/preflop: 15-40 BB kleinere Oeffnung
- icm: Malmuth-Harville, Risikoaufschlag fuer Calls, decide_with(Option<Turnierlage>)
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>
Die Hülle nummeriert jetzt nur die Sitze in der Hand (vorher zählten leere Sitze mit und
verschoben die Position). Ein Cutoff am Vierertisch hat dieselbe Gegnerlinie hinter sich wie
am Sechsertisch - unter sechs Plätzen antworten deshalb die Mehrgegner-Tabellen und das
Blindduell, die Ein-Verteidiger-Tabellen der übrigen Plätze (sie setzen Sechser-Spieler
dahinter voraus) bleiben draußen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Beim Gegenprüfen ueber die echte Schnittstelle war nicht zu sehen, warum die
Mehrgegner-Tabelle (nicht) greift. Mit POKERFREAK_DEBUG schreibt cfr_advice die
aufgeloeste Linie (Sitz, anwesende Plaetze, k, Verteidiger, ob sie passen) nach
stderr - stdout bleibt die Antwort. Kein Verhalten ohne den Schalter.
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>
advise uses the frozen equilibrium where it covers the spot; exploit width only
moves its border (equilibrium width x scale). Heuristic charts elsewhere.
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>
Pure CFR+ core over a 169-class abstraction, push/fold and open/call/3-bet games,
Nash/Kuhn/plausibility/lookup tests, chartgen binary, frozen equity and charts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Wire: optional history decoding. exploit::range_model: role band + postflop
continuations. preflop::button / seat_position: button inference from blinds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>