Merge origin/main (Warnschwelle) in den Live-Stand der Turnier-Session

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-26 19:58:03 +01:00
co-authored by Claude Opus 5.5
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ import math
import time
FEED_HAENDE = 10
ABWEICHUNG_GELD = 0.05 # $: ab so viel Unterschied zwischen Kontostand und Handsumme ein Hinweis
ABWEICHUNG_GELD = 0.25 # $: ab so viel Unterschied Kontostand gegen Handsumme ein Hinweis (0,05 $ warnte
# dauernd: Rake-Cents und die Hand im Gang verschieben das immer ein wenig, Owner 26.11.)
SITZUNGSPAUSE_S = 30 * 60.0
STRICHE_MAX = 40
BESETZT = ("gesessen", "ausgesetzt", "wartend", "Dialog offen")
+2 -2
View File
@@ -73,9 +73,9 @@ class Sitzungsleiste(unittest.TestCase):
def test_kleine_abweichung_ohne_hinweis(self):
t = lauf()
t["geld"]["stand"].update(netto=-3.43, echt=-3.45, echt_status="stabil", abweichung=-0.02)
t["geld"]["stand"].update(netto=-3.43, echt=-3.48, echt_status="stabil", abweichung=-0.05)
l = ab.sitzungsleiste(t, JETZT)
self.assertEqual((l["geld"], l["abweichung"], l["warn"], l["ende"]), ("−3,45 $", "", False, ""))
self.assertEqual((l["geld"], l["abweichung"], l["warn"], l["ende"]), ("−3,48 $", "", False, ""))
def test_echtgeld_ohne_kontostand_sagt_es(self):
t = lauf()