Tor 8 CFR-6max: Policy mit SHA256 an fremd6.py (sonst spielte still das Skript); fremd6.py bricht ohne SHA ab
Farm-Trockentest 05.12.: alle 60 Entscheidungen PREFLOP FOLD, 'fremd trainiert=None', loaded_weight_tables 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
b9544ba7ad
commit
95619e8ae8
@@ -117,7 +117,8 @@ def starte_cfr6(arm, k, exe, s, frist_datei, a):
|
||||
d = a.daten
|
||||
kern = f"cmd:{exe} dienst sechs100 {d} 2000-600-400 200 {d}/sechs100-v2.bin genau hu={d}/hu100-v1.bin,{d}/hu200-v2.bin"
|
||||
serve, k50, policy = a.cfr6
|
||||
fremd = f"py:{os.path.join(PRUEF, 'fremd6.py')} {serve} {k50} {policy}"
|
||||
# fremd6.py laedt die gelernte Policy nur mit ihrem SHA256 (sonst spielte nplayer_serve sein Skript: Farm 05.12. Trockentest)
|
||||
fremd = f"py:{os.path.join(PRUEF, 'fremd6.py')} {serve} {k50} {policy} {sha256(policy).lower()}"
|
||||
ordner = os.path.join(a.aus, "cfr6", arm)
|
||||
os.makedirs(ordner, exist_ok=True)
|
||||
aus = os.path.join(ordner, f"tisch-{k}.jsonl")
|
||||
@@ -280,6 +281,7 @@ def main():
|
||||
kopf = {"start": time.strftime("%Y-%m-%dT%H:%M:%S"), "arme": list(arme), "basis_sha256": sha256(a.basis[0]),
|
||||
"kandidat_sha256": sha256(a.kandidat[0]), "sitzungen": a.sitzungen, "frist_s": a.frist_s, "minuten": a.minuten,
|
||||
"frist_datei": a.frist_datei, "frist_datei_sha256": sha256(a.frist_datei) if a.frist_datei else None,
|
||||
"cfr6_policy_sha256": sha256(a.cfr6[2]).lower() if a.cfr6 else None,
|
||||
"schalter": {arm: s for arm, (_, s, _) in arme.items()}}
|
||||
bots = [b.strip() for b in a.bots.split(",") if b.strip()]
|
||||
if "cfr6" in bots and not a.cfr6:
|
||||
|
||||
@@ -19,6 +19,9 @@ class Serve:
|
||||
def __init__(self, a):
|
||||
cmd = [a[0], "serve"]
|
||||
self.agent = "script:tight-aggressive"
|
||||
if len(a) == 3:
|
||||
# Policy ohne SHA256: nplayer_serve spielte still sein Skript statt CFR-NLHE-6max (Farm 05.12.) - lieber abbrechen
|
||||
sys.exit("fremd6: Policy angegeben, aber ohne sha256 (Aufruf: fremd6.py <serve> <k50> <policy> <sha256>)")
|
||||
if len(a) > 3:
|
||||
cmd += ["--card-buckets", a[1], "--policy", "p", a[2], a[3]]
|
||||
self.agent = "policy:p"
|
||||
|
||||
Reference in New Issue
Block a user