Files
pokerfreak-shell/plans/2026-10-30_formate.md
mmintelandClaude Opus 5.5 9f67abbd64 Formate: Tische je Format im Spielplan, Format je Hand, Vergleich je Format
The user wants to choose what the bot plays (several formats at once) and
learn which works best. Each table now knows its format from roomProperties
(lesen/formate.py: cash, aof, bombpot, turnier, kpoker), every hand records
it, and the stats compare formats with a 95 % span; a "best" verdict only
when one span lies above all others. The plan holds tables per format; the
runner fills per format and never sits at an unchosen one. Lobby tabs other
than Cash/Practice are unmeasured, so those formats are selectable but the
runner says why it opens nothing. All-In or Fold hands now count as AOF in
the stats (they were dropped); the runner still abstains there until the
AoF buttons are measured - spielart_spec's exact reason text is updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 10:43:23 +01:00

4.0 KiB

Formate: wählen, was gespielt wird, und vergleichen, was am besten läuft

Auftrag (2026-10-30): Im Cockpit eintragen, welche Formate der Bot spielt - mehrere gleichzeitig, Tischzahl je Format. Am Ende wissen, welches Format am besten läuft. Alle Formate, auch die noch ungemessenen (Turnier, K-Poker, VIP Arena, Freerolls).

Begriffe: Modus bleibt Übung/Echt (Spielgeld oder echtes Geld, spielplan.modus). Format ist neu: was am Tisch gespielt wird. Ein Plan hat einen Modus und je Format eine Tischzahl.

Formate und was wir darüber wissen

Format Lobby-Reiter Erkennung im Log (game_alldata.roomProperties) Kern Stand
cash Cash Games gameType "Ring", isBombpot false, isKPoker false NLHE/PLO4 spielt
aof All-In Or Fold gameType "Allinfold" (Raum 224829 im Bestand) AOF setzt aus
bombpot Bomb Pot isBombpot true (Raum mit handsInBombpot 16) NLHE spielt
turnier Tournaments Lobby Comm_Tournament_<id> + tourneyTableProperties NLHE + ICM Lage gelesen
kpoker (tab-k-poker) isKPoker true K_POKER setzt aus
vip VIP Arena ungemessen ? ungemessen
freeroll Freerolls Turnier mit Preisgeld ohne Buy-in (isFreeGame?) NLHE + ICM ungemessen

Übung: nur der Reiter "Practice Games" - welche Formate es dort gibt, ist ungemessen.

Regeln (Spezifikation)

  1. Format je Tisch (lesen): aus roomProperties beim Betreten. Reihenfolge: Turnier-Lobby verknüpft -> turnier (freeroll, wenn ohne Buy-in gemessen); isKPoker -> kpoker; gameType Allinfold -> aof; isBombpot -> bombpot; gameType Ring -> cash; sonst unbekannt.
  2. Format je Hand (statistik): jede eigene Hand trägt format. Alte Hände ohne Feld zählen als "unbekannt", nie still als cash.
  3. Vergleich je Format: Hände, bb/100 mit 95-%-Spanne, Netto in bb, VPIP/PFR. Turnier und Freeroll zusätzlich je Turnier: Buy-in, Preis, ROI, im Geld (ITM). Ein Format gilt erst ab genug Händen als vergleichbar (Spanne schmaler als der Abstand) - sonst "zu wenig Hände".
  4. Spielplan: formate: {format: tische}; Summe <= HOECHSTENS. Alter Plan ohne formate (nur tische) = cash mit dieser Zahl. Der Läufer füllt je Format bis zu dessen Zahl über den Reiter des Formats; ein Tisch eines nicht gewählten Formats wird nicht besetzt.
  5. Ungemessene Formate sind wählbar, aber der Läufer öffnet dort nichts, solange der Reiter nicht gemessen ist, und sagt warum ("VIP Arena: Lobby ungemessen") - nie raten.
  6. AoF spielen: Allinfold-Tisch -> variant AOF (Kern: binäre Entscheidung, Push/Fold).

Reihenfolge

  1. Format je Tisch + je Hand, Statistik je Format (ohne Messung machbar).
  2. AoF in der Übersetzung.
  3. Spielplan je Format (Python), Läufer füllt je Format.
  4. App: Formate im Spielplan-Editor, Vergleich je Format.
  5. Messen (CoinPoker mit Debug-Port, nur lesen): Reiter AoF, Bomb Pot, VIP Arena, Freerolls, Tournaments (Zeilen, Anmelden), Practice Games. Danach Turnier-Anmeldung bauen.
  6. K-Poker-Tasten: wartet auf mock/vorlage/kpoker-tasten.md.

Stand 2026-10-30

Erledigt (Branch modi, nicht eingecheckt): 1 (Format je Tisch/Hand, Statistik je Format mit Spanne und Urteil, STATS.md), 2 (Allinfold -> AOF für die Statistik; der Läufer setzt dort aus, bis die AoF-Knöpfe gemessen sind), 3 (Spielplan je Format, Läufer füllt je Format, nie an einem nicht gewählten Format), 4 (App: "Was spielen" mit Tischen je Format, "Formate im Vergleich"). Offen: 5 Messen (Reiter-Zeilen, AoF-Knöpfe, Turnier-Anmeldung), 6 K-Poker-Tasten; Turnier-ROI/ITM braucht Buy-in und Preis je Turnier aus der Lobby - kommt mit der Turnier-Anmeldung.