Farm: bitgleich - Arme einen Rang hinter dem Bau

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Marc Mintel
2026-12-05 21:24:02 +01:00
co-authored by Claude Opus 5.5
parent 341e6758ea
commit 228a53e35f
+2 -1
View File
@@ -43,7 +43,8 @@ if modus == "einreichen":
subprocess.run(["scp", "-q", zeile, f"{SSH}:{W}/zeile-{n}.txt".replace("\\", "/")], check=True)
exe = rf"C:\pf-arbeit\pokerbench-allinprobe-{k}.exe"
for t in range(teile):
j = {"id": f"bitgleich-{name}-{n}-{t}", "sitzung": "bitgleich", "prio": prio, "faeden": 4, "ram_gb": 12, "kurz": True, "ordner": W,
j = {"id": f"bitgleich-{name}-{n}-{t}", "sitzung": "bitgleich", "prio": prio + 1, # nach dem Bau (wartende Arme halten sonst die Faeden)
"faeden": 4, "ram_gb": 12, "kurz": True, "ordner": W,
"befehl": rf'powershell -NoProfile -Command "while (-not (Test-Path {exe})) {{ Start-Sleep 15 }}; & {PY} -X utf8 {W}\bg_lauf.py {exe} {W}\zeile-{n}.txt {EIN} {t} {teile} {DW}\{n}\teil{t}.jsonl"'}
if strasse: j["env"] = {"BG_STRASSE": strasse}
jobs.append(j)