lab: Nix fleet benchmark suite + first low-vs-high reasoning run #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nix-fleet-lab"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
A lab layer on top of the fork that answers "does this model, at this effort, actually do our fleet's work?" with mechanical grading instead of keyword matching, plus the first low-vs-high run of
deepseek-v4.1-flash.suites/nix-fleet-lab.json— 17 tasks mined from nix-config history (activation restart semantics, stage-1 closures, wg-quick oneshot restarts, pipefail SIGPIPE, silent unit Conditions, deploy-gate exit 77, Python/Go coding tasks, CI fork secrets + base drift, module-system recursion). Each cites the commit that fixed it.backend/engine/graders.py—contains_all/contains_any/regex/exec/json_block, replacingpass_keywords.execwrites hidden tests and runs them, so a coding task grades the file the model wrote.lab/run.py— one suite × N efforts × R repeats → JSONL + Markdown report that quotes every failure verbatim; per-run reasoning tokens / API calls / tool calls read from the Hermes state DB.lab/selftest.py— for each task a reference answer that must PASS, a fluent-wrong one that must FAIL, and regressiongood2answers that quote the anti-pattern.lab/regrade.py— re-apply fixed graders to a finished run without spending a token.lab/ab_run.sh— strips the providerextra_body.reasoning_effortpins for the run and restores the config byte-identically under an EXIT trap (sha256 verified). Without it, "high" measures low twice.lab/RESULTS.md— the run, and what it does and does not show.Result
High: +68 % reasoning tokens, +49 % output, +17 % total, +21 % tool calls, no accuracy delta. The suite is saturated for this model, so it cannot yet show a quality gain — the honest read is recorded in RESULTS.md rather than dressed up.
Notes for review
go_bounded_poolis toolchain-gated: reported as skipped (not failed) whengois absent, excluded from the pass rate.backend/tests172 passed;lab/selftest.py16 tasks, 0 problems.The first full low-vs-high run reported low 88% / high 81%. Five of those six FAILs were grader bugs and four hit correct answers: - `none: ["\\${arr[@]}"]` failed both arms for quoting the wrong form while explaining it is wrong. A correct answer must be able to name the mistake. - Same pattern on lib.mkDefault: the model quoted `default = lib.mkDefault false` inside its own correction and was penalised for it. - any_of phrasing lists missed correct wording ("the initrd carries its own /nix/store tree", "a store path is a name, not a guarantee"). - The Condition task demanded findmnt; the model proposed Assert* + ExecStartPre. Negative constraints removed where a correct answer legitimately quotes the anti-pattern, any_of broadened, and the selftest gained `good2` regression answers that quote the wrong form (it now fails a grader that punishes a phrasing instead of a mistake). lab/regrade.py re-applies the current graders to a finished run's stored answers and its preserved work dirs, so a ruler fix costs zero model calls. After the regrade both efforts are 16/16. lab/RESULTS.md records what the run showed: high spends +68% reasoning tokens, +49% output, +17% total and +21% tool calls for no accuracy delta, because the suite is saturated. It also records that this model's own answer disputed the commit behind one task's premise (ConditionPathIsMountPoint=/ succeeds on systemd 261.2 on vpn) -- confirmed, so the task now grades the field and the replacement rather than the disputed cause.