Die Lobby ist eine Webseite und kann leer bleiben ('No games available yet') oder im Login haengen
('Logging you in...') - live 30.10. blieb sie stehen und der Laeufer lief in den Abbruch. Jetzt
eine Leiter, mild zuerst: Retry -> Reiter anklicken (live belegt: 0 -> 60 Zeilen, wirkte wo Retry
nichts tat) -> Reiterwechsel -> Reload -> App-Neustart. Der Laeufer ruft sie bei 'keine
Tischzeilen', Ereignis lobby_geweckt. Dazu: die Sicht fragt Bildschirm/Fenster nur noch alle 10 s
ab - JEDE System-Events-Abfrage holt den Client nach vorn (Fokusmessung 0 statt 20-25 pro 25 s).
Bisher war alles nur gelesen und im Cockpit angezeigt. Vier Stuecke, jedes mit Spec.
1. Geld wirkt: annehmen()/preis_anteil()/chops() im EV-Chop (gezahlter Anteil aus dem Ergebnis
rueckgerechnet - es gibt keine Angebotszeile im Log), netto_zeile/netto_satz in der Geld-Ansicht
(brutto, Rake, Rakeback, netto, Haende), OHNE_RAKEBACK/MIT_RAKEBACK in der Tischwahl samt
Grund, Vorteile aus dem Log im Lobby-Adapter.
2. Ein Raum gilt: uebernahme() nimmt das offene Fenster eines anderen Raums (nur eindeutig, nur
benannte Fenster, erst nach der Gnade); geheilt wird auch ein Raum aus einem frueheren Lauf,
wenn gar kein Tischfenster mehr offen ist; Ereignis raum_uebernommen. Beleg live 30.10. 16:13:
fuenfmal raum_ohne_fenster auf "Big Ben 1678151" und nach 78 s Abbruch, waehrend ein Fenster
fuer 1677370 offen war.
3. tisch_stelle(name): MCP-Werkzeug plus Namensregister (hand/stellen.py) - ein Klick auf Namen
statt getippter Fensteranteile, mit Beleg oder ehrlichem "ohne Beleg". settings_panel und
zeitbank sind markierte Vorgaben, bis wir sie am Tisch messen.
4. Spielart PLO5/PLO6 aus der Zahl der eigenen Karten (der Raumname nennt nur "PLO"), beide
Pot-Limit - vorher fiel ein Sechser durch die Tabelle. Der Kern kennt PLO6 jetzt selbst
(pokerfreak 8c2039c).
Die Sicht legt die Kennzeichen als fertige Anzeigezeilen in kopf.konto
(felder, warn) - Verdacht, Sperre, Ruhezeit, Rake, Rakeback, Tischregeln,
EV-Chop, Marken, eigene Einstellungen. Das Cockpit zeigt sie als farbige
Leiste unter der Statuszeile und als Karte in der Uebersicht.
Live 30.10.: ESC at 11:03:09 set all stop files, yet the runner clicked
"max" and "buyin" at 11:03:12 - stellen_klicken checked only before a
sequence, the mouse path never, and cleanup clicked sitout/cross
"trotz_stopp". hand/notaus.py is now the one source for the stop files
(act, click, stopp); click.click checks before start, on every movement
step and before pressing (KlickNotAus), pid_klick too, sequences check
before each click, trotz_stopp no longer overrides Not-Aus, dialog.esc
sends no key and the live pointer stops. The runner logs "nicht geklickt
(Not-Aus)" instead of a sitout it did not do. The header counted every
window of a table process (table + dialog = 2); it now counts rooms from
the process list. Tests get their own stop folder (POKERFREAK_STOPP_ORDNER)
so they never see or touch the machine's Not-Aus.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Live 30.10. 10:47: starting Practice showed "Big Ben 1676813" as a table
although none was open - `jetzt` kept the last decision (10:09) whose
table was long closed. It now follows the same rule as seats: only while
the table is open. The runner then failed to open a practice table: it
read the rows 0.5 s after the tab click (measured: they appear after
~2.5 s) and fell back to a blind "Join". It now polls up to ZEILEN_FRIST
and says so instead of joining blind. Lobby tabs measured read-only in
mock/vorlage/lobby-reiter.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
The web page (sicht/seite.html) and the floating web bar (sicht/leiste.py,
leiste_mac.js) duplicated what the Swift app already does: panel, ESC
Not-Aus (EscRegel, tested in RegelnSpec), click protection via
cockpit.json. The server keeps /ws, /api/steuern and /foto; "/" is now 404.
start.py always runs server-only, so the app no longer passes --nur-server.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gegnerprofile kamen bei mehreren Tischen vom falschen Platz: spot_from_log
ordnet die hud_stats jetzt ueber die Sitzliste des eigenen Raums zu
(profil.aus_sitzliste). Die Vorschau zeigt alle Plaetze mit Rolle, Stack,
Aktion, Typ und VPIP/PFR/F2B, auch ohne laufenden Laeufer, und keine alten
Karten an Tischen, an denen du nicht sitzt.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The tournament lobby was already parsed but never reached the core. Each
tournament table is now linked to its lobby (tourneyLobbyName or
tournamentId) and the request carries `tournament`; a missing price or
rank list makes the turn unclear instead of guessing. K-Poker tables
(roomProperties.isKPoker) abstain until the key table is measured
(mock/vorlage/kpoker-tasten.md). The clone writes the rank list with each
lobby update and the tournament ids where the real log has them; the
view shows level, field and bubble, or menu and clock.
klonmaus appends mock/ to sys.path so mock/turnier.py no longer shadows
lesen/turnier.py.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- hand/dialog.py: Wache auf bad_beat_counter im Log (offenes Profil), Kopfzeilen-Signatur im Bild,
schliessen per ESC (falls gemessen) sonst Kreuz, --messen/--zeigen
- runner: Dialog vor jedem Klick zu; unbestaetigter Klick -> schliessen, nachsehen, zweiter Klick
- Zeiger meidet Sitzschilder (sitzen.SCHILDER)
- Klon: /api/profil, /api/einstellung esc_schliesst, Hover oeffnet Profil, echte Logzeilen
- Cockpit als Leiste (immer oben), Tische nach vorn/anordnen, ESC und Strg+Alt+Umschalt+S als
Not-Aus, Klickschutz unter der Leiste, neue Seite mit Navigation
- Kette im Klon: Log-Weg, stiller Dialog mit zweitem Klick, Messung (ESC schliesst nicht, Kreuz ja),
Bild-Weg vor dem Klick - alle gruen
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- sicht/quellen.py: liest Schatten, Strom, Zustand, Statistik, Log-Schwanz, Not-Aus, Fenster;
nur bei Änderung, abgeschnittene Zeilen fallen weg und werden gezählt, fehlt etwas: leer
- sicht/ansicht.py: rein, wirft nie - acht Bereiche (Kopf, Jetzt mit Countdown und Klick-Beleg,
Wachstum mit bb/100 und 95-%-Intervall, Entscheidungen mit Filterregel, Geld, Sitzen, Stil,
Ticker), Grund des Kerns im deutschen Klartext; Format in sicht/ANSICHT.md
- sicht/ws.py, server.py, start.py: nur 127.0.0.1, eine WebSocket-Verbindung, schickt nur
geänderte Bereiche; Host/Origin geprüft
- sicht/steuern.py: Not-Aus, Läufer starten/stoppen (eigene Prozessgruppe, PID-Datei),
Tische schließen, Übungstisch öffnen, Screenshot je Tisch - mit Rückmeldung
- sicht/seite.html: eine Seite, SVG-Diagramme von Hand, leere Zustände, ?demo
- betrieb/runner.py: Entscheidungen tragen Raum und Hinweis im Schattenlog
- tests/sicht_ansicht_spec.py (23), tests/sicht_ws_spec.py (10)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>