Commit Graph
47 Commits
Author SHA1 Message Date
mmintel 04d5251acf Welt ohne fremden Namen: Pruefordner vollstaendig mitkopieren, Engine nur im eigenen Baum
Die Welt nannte 'pokerfreak' nur noch in zwei Harness-Zeilen - der Rest waren veraltete
Rust-Pruefungen im Pruefordner, die der Aufbau nie auffrischte.
2026-11-01 23:37:11 +01:00
mmintel a543293f05 Letzte Prosa-Reste (Zeilenkommentare, Dokstrings) geradegezogen 2026-11-01 22:22:12 +01:00
mmintel 836c16c9a4 Sprechweise geputzt: kein echt/live/Mensch mehr in Kommentaren und Texten
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.
2026-11-01 22:11:05 +01:00
mmintel d16e0330df Losgeloest: kein "echt" mehr in Werten, Pfaden und auf dem Schirm
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.
2026-11-01 12:42:00 +01:00
mmintel be35acc908 Der Hof wird still: nur was drin ist, keine Begruendungen
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.
2026-11-01 01:01:30 +01:00
mmintelandClaude Opus 5.5 b2002e186c Merge rake into main state: rake-aware charts with benchmark harness
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>
2026-10-31 10:48:56 +01:00
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
mmintelandClaude Opus 5.5 3d65e856f6 Rake-aware CFR and charts: rake rule, ante situation, regenerated preflop charts
Secures the worktree's uncommitted state before merging into main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 10:36:11 +01:00
mmintel 8c2039cdc4 PLO6 als eigene Spielart: sechs Handkarten, Pot-Limit, Prozentrang ueber das beste Fuenfer-Fenster 2026-10-30 17:50:21 +01:00
mmintelandClaude Opus 5.5 9c318660c2 Stichprobe je Gegner und reads: der Kern vertraut duennen Werten weniger und sagt, wie er sieht
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>
2026-10-30 12:00:35 +01:00
mmintelandClaude Opus 5.5 643fed5f0a Tournament field on the wire: ICM-lite priced from the request, sampled above 10 players
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>
2026-10-30 09:49:49 +01:00
mmintelandClaude Opus 5.5 12b5f67175 Staerke und Geld am Tisch: Check-Realisierung, Wert-Raises bleiben Raises, Groessenband und Commitment-Leiter, Stapelbaender, ICM-lite
- 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>
2026-10-29 12:22:36 +01:00
mmintelandClaude Opus 5.5 ea50afd4f5 PLO4: Pot-Limit-Omaha mit vier Karten (Wire-Name "PLO4")
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>
2026-10-29 00:41:28 +01:00
mmintelandClaude Opus 5.5 e41110f507 Vorflop-Rat an kürzeren Tischen: Mehrgegner-Tabellen auch unter sechs Plätzen
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>
2026-10-28 23:39:29 +01:00
mmintel e596e39bfd POKERFREAK_DEBUG: die Gegnerlinie im Vorflop-Rat ausgeben
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.
2026-10-28 21:54:55 +01:00
mmintelandClaude Opus 5.5 ceb1b4e267 Vorflop-Rat wählt die Tabelle nach der Zahl der Gegner hinter dem Angreifer
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>
2026-10-28 21:41:43 +01:00
mmintelandClaude Opus 5.5 fbb3c1312a Vorflop-CFR mit einem bis vier Verteidigern, Short-Deck-Charts belegt
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>
2026-10-28 21:05:55 +01:00
mmintelandClaude Opus 5.5 5efa6858f9 Spielstärke-Test: ganze Hände mit Seed gegen feste Gegner, bb/100 mit Intervall
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>
2026-10-28 18:21:00 +01:00
mmintelandClaude Opus 5.5 7a5357523b Doppel-Board und Run it twice als optionale Felder
- 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>
2026-10-28 17:30:01 +01:00
mmintel e6e12ecdf4 Merge remote-tracking branch 'origin/main' 2026-10-28 15:03:04 +01:00
mmintelandClaude Opus 5.5 7f40fa49a0 CFR charts with both blinds as defenders, short deck tables
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>
2026-10-28 15:02:45 +01:00
mmintel 07ce46490a Merge origin/main: CFR charts, bluffing, short deck
# Conflicts:
#	src/engine/decide.rs
#	src/engine/postflop.rs
2026-10-28 13:33:39 +01:00
mmintel c84d91eff3 Response carries equity and category for external checks 2026-10-28 13:32:26 +01:00
mmintelandClaude Opus 5.5 6ea2209eed Merge feat/cfr: CFR preflop charts as the NLHE/AOF 6-max baseline
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>
2026-10-28 13:24:05 +01:00
mmintelandClaude Opus 5.5 1ad6f76088 Bluffing and bluff catching driven by opponent frequencies
- 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>
2026-10-28 13:11:38 +01:00
mmintelandClaude Opus 5.5 a7b32cf425 Add CFR preflop chart generator, frozen charts and lookup
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>
2026-10-28 13:05:07 +01:00
mmintelandClaude Opus 5.5 5c41600946 Merge feat/shortdeck
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:44:23 +01:00
mmintelandClaude Opus 5.5 2c56109a98 Merge feat/engine2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:44:03 +01:00
mmintelandClaude Opus 5.5 0302fb4012 Merge feat/ranges
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:44:03 +01:00
mmintelandClaude Opus 5.5 6af23288af Merge feat/read
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:44:03 +01:00
mmintelandClaude Opus 5.5 1db1395481 Short deck: deck rule, variant-aware showdown, equity capacity, validation, preflop ranking
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:43:51 +01:00
mmintelandClaude Opus 5.5 6614cf926b read: board texture, hand read (made class, draws, outs, nut draw) and fast glance
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:43:39 +01:00
mmintelandClaude Opus 5.5 9a9c6c946d Range narrowing from action history, position from inferred button
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>
2026-10-28 12:41:03 +01:00
mmintelandClaude Opus 5.5 4c7fecebb0 Engine: texture-aware thresholds, semibluffs with fold equity, multiway, uncertainty band, range filter glue
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:33:52 +01:00
mmintelandClaude Opus 5.5 30aaee6e1b Reserve cfr module for the preflop chart generator
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:27:56 +01:00
mmintelandClaude Opus 5.5 bdf3e0d27c Contract: read::glance fast path
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:25:33 +01:00
mmintelandClaude Opus 5.5 16a96f40ba Contracts for postflop read, action history, range spec and short deck rules
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:24:55 +01:00
mmintelandClaude Opus 5.5 7dafbbb993 Clippy cleanup under green tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:03:26 +01:00
mmintelandClaude Opus 5.5 12b1efbe1a Allow short all-in below minRaiseTo; tests updated first
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:02:39 +01:00
mmintelandClaude Opus 5.5 9371161d33 Merge feat/preflop
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 12:00:37 +01:00
mmintelandClaude Opus 5.5 ec800a1672 Preflop charts and exploitation layer
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>
2026-10-28 12:00:21 +01:00
mmintelandClaude Opus 5.5 a21dcf747e Merge feat/engine
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:51:42 +01:00
mmintelandClaude Opus 5.5 1d95c8d3c8 Merge feat/wire
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:51:42 +01:00
mmintelandClaude Opus 5.5 62db6df752 Add odds, sizing, guard and engine glue with tests
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:51:24 +01:00
mmintelandClaude Opus 5.5 a50afc2d40 Add JSON parser/renderer, wire decode/encode, respond pipeline, CLI
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:48:53 +01:00
mmintelandClaude Opus 5.5 97d685af60 Add hand evaluation and Monte Carlo equity
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:48:44 +01:00
mmintelandClaude Opus 5.5 7e0ee9199e Skeleton: shared types, variant rules table, module contracts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 11:40:58 +01:00