Series A result: local Qwen 3 of 20 accepted, failures are loops and search loops; dashboard public copy

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Kral
2026-10-06 05:45:24 +02:00
parent 01f3372e2c
commit 1ddb9a7c65
2 changed files with 72 additions and 0 deletions

View File

@@ -459,6 +459,10 @@ def write_once():
tmp = OUT + ".tmp"
open(tmp, "w").write(page)
os.replace(tmp, OUT)
pub = os.path.join(OUT_DIR, "public") # the only folder that is served on the local network
os.makedirs(pub, exist_ok=True)
open(os.path.join(pub, "index.html.tmp"), "w").write(page)
os.replace(os.path.join(pub, "index.html.tmp"), os.path.join(pub, "index.html"))
last = d["hist"][-1]
with open(HISTORY, "a") as f:
f.write(json.dumps(last) + "\n")