Files
Robert KarlandClaude Fable 5.1 3a37ac6315 step 13: tool-call arguments in any order (llama.cpp patch), harness watchdog and HTTP-served judge, DeepSeek/GLM rows, record draft
patches/llama.cpp-any-argument-order.patch (common/chat-auto-parser-generator.cpp, common/parsers/deepseek.cpp):
the generated tool-call grammars accept required arguments in any order. Upstream takes them in schema order,
which holds when its own sampler is grammar-constrained; this engine samples unconstrained, and DeepSeek V4
Flash and GLM 5.3 Flash both wrote content before path for pi's write tool, so finished calls came back as
parse errors (USTRAT-7). Same fix the fork already carries for the Qwen3-Coder parser. GLM's md-toc run passes
with it; DeepSeek rerun in progress.

tools/acceptance: 300 s per-tool-call watchdog inside the container; the minesweeper judge serves the work tree
over HTTP (the headless browser refuses file: URLs) and counts errors correctly; rejudge.sh, summarize.py;
pi max output 24576 tokens. tools/pod/bringup.sh copies data/expert-profile.bin into the Flash-Next pack (the
engine exits without it). docs/MODEL-FILES.md: DeepSeek V4 Flash UD-IQ2_XXS and GLM 5.3 Flash 3.0bit rows
with hashes and first-start results on the 2x B200 pod. bench/unbiased/2026-10-19-step13-acceptance/: record
in progress (server lines, engine info, findings; result tables to follow).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-18 19:46:54 -07:00

23 lines
1.6 KiB
Python
Executable File

#!/usr/bin/env python3
"""summarize.py [runs-dir] -> a Markdown table of every run's meta.json (one row per run, newest last), and a per-model
pass count. Used for the step-13 write-up."""
import json, sys, pathlib
runs = pathlib.Path(sys.argv[1] if len(sys.argv) > 1 else pathlib.Path(__file__).parent / "runs")
rows = []
for d in sorted(runs.iterdir()):
m = d / "meta.json"
if not m.exists(): continue
j = json.loads(m.read_text()); j["run"] = d.name; j["notes"] = (d / "harness-notes.txt").read_text().strip().replace("\n", "; ") if (d / "harness-notes.txt").exists() else ""
rows.append(j)
print("| Run | Model | Task | T | Pass | Wall s | Turns | Tool calls | In tok | Out tok | Errors | Judge | Harness notes |")
print("| --- | --- | --- | ---: | --- | ---: | ---: | ---: | ---: | ---: | ---: | --- | --- |")
for j in rows:
judge = {k: v for k, v in j["judge"].items() if k != "pass"}
print(f"| `{j['run']}` | {j['model']} | {j['task']} | {j['temperature']} | {'**pass**' if j['judge'].get('pass') else 'fail'} | {j['wall_s']} | {j['assistant_turns']} | {j['tool_calls']} | {j['input_tokens']} | {j['output_tokens']} | {len(j['errors'])} | {json.dumps(judge)[:120].replace('|', '/')} | {j['notes'][:160]} |")
print()
by = {}
for j in rows: by.setdefault(j["model"], []).append(j)
print("| Model | Runs | Passed | Tasks passed |"); print("| --- | ---: | ---: | --- |")
for m, js in by.items():
print(f"| {m} | {len(js)} | {sum(1 for j in js if j['judge'].get('pass'))} | {', '.join(sorted({j['task'] + ('@' + str(j['temperature']) if j['temperature'] != 0.6 else '') for j in js if j['judge'].get('pass')}))} |")