Files
UnbiasedStrata/tools/acceptance
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
..

Model acceptance runs (PLAN.md step 13)

A model family is accepted when a coding agent gets real work done through the fork's server with that model, under the sampling the model card asks for, and when the API-only checks (frontend/tests/acceptance-real-engine.sh) pass with decode and prompt-reading speed within 15 % of the step-6/9 figures for the same box.

What runs

The agent is pi 0.85.1 in a Docker container (Dockerfile, image us2-acceptance:0.85.1: node 22, pi, python3 + pytest, git, make, gcc; user node, no network but the model server). It gets one prompt (tasks/<task>/prompt.md), its tools on, a fresh work directory, and no extensions, skills or context files. The model server is outside the container, reached as host.docker.internal:<port>; models.tsv maps the model id to the port on this Mac (an ssh tunnel to the box that serves it).

Task Work Judge (judge.sh)
md-toc mdtoc.py, a Markdown table-of-contents CLI with GitHub anchors, fenced-block skipping, setext headings, depth filters, and its own pytest file 4 hidden pytest cases (tasks/md-toc/hidden/), run in the image
kvstore kvstore.py, an HTTP key-value store (PUT/GET/DELETE, list, /health, 1 MiB limit, persistence across restart) tasks/kvstore/blackbox.py: starts it, drives every route, restarts it, checks persistence
bugfix three planted bugs in a seeded package (tasks/bugfix/seed/: interval merge, slugify, duration parsing); tests are the spec the seed's tests plus hidden ones; tests/test_pkg.py must be byte-identical to the seed
minesweeper a single-file browser Minesweeper (9x9, 10 mines, flood fill, flags, counter, timer, new game) headless Chromium (lookingglass): 81 .cells, a click reveals cells, no console error; screenshot kept

run-task.sh <model> <task> [tag] does one run: writes a pi config dir (provider UnbiasedStrata 2, sampling temperature 0.6, top_k 20, top_p 0.95, seed 7; TEMP=, SEED=, THINKING= override), starts the container, opens a window in tmux session us2-acceptance that tails the agent's turns (tmux attach -t us2-acceptance), waits (TIMEOUT_S, default 90 min), judges, and writes runs/<utc>-<model>-<task>[-tag]/: pi.jsonl (pi's JSON event stream), pi.log, work/, judge.json, meta.json (exit code, wall time, turns, tool calls, token counts, errors), server-before/after.json (/props), and the pi config used. run-all.sh <model> runs the four tasks at the defaults and minesweeper again at temperature 1.0, then appends to runs/summary.tsv.

Reading a run

meta.json → judge.pass is the verdict. A failed judge with pi_exit 0 is the model's work falling short; pi_exit non-zero or errors non-empty points at the server (server-after.json, the server log on the box). The pretty tail in the tmux window is pretty.py over pi.jsonl.