A benchmark that asks coding agents to recreate the Nord Stage 4 as an interactive browser instrument, plus a React gallery for comparing the results. The candidate-facing task lives in TASK.md; the protocol, harness, and scoring docs live in BENCHMARK.md.
TASK.md— the candidate-facing task: three phases, feature IDs, honesty contract (run workspaces get a phase-filtered copy).BENCHMARK.md— the protocol for operators and evaluators: running, sealing, scoring, interpreting.prompts/,specs/— per-phase instructions and machine-readable specs (the benchmark inputs).bench/— all tooling: thebenchCLI, run/eval libraries, rubric, schemas, and the candidate starter.runs/— one directory per run;runs/<id>/run.jsonis authoritative.src/— the gallery app;src/data/runs.jsonis generated.public/previews/,public/reports/— published playable builds and static evaluation reports.
pnpm install
pnpm devpnpm build for a production build, pnpm lint / pnpm typecheck for static checks, pnpm test for the suite (gallery, bench pipeline, specs, middleware). Node 24 (.nvmrc).
pnpm bench fetch # Nord manual PDF (+ photos if missing from the repo)
pnpm bench new --model <id> --target <1|2|3>
pnpm bench start <run-id> # per phase: isolated workspace for the implementation agent
pnpm bench exec <run-id> --command "pnpm test" # optional: run candidate commands inside Docker
pnpm bench seal <run-id> [--cost-usd N --input-tokens N --output-tokens N] # import, check, capture, verify, seal
pnpm bench score <run-id> # per phase: evaluator workspace first, then registers the filled assessment
pnpm bench thumbs <run-id> # after seal/score, before commit: gallery hover thumbnailpnpm bench thumbs writes public/previews/<run-id>/stage<N>/thumb.jpg beside the published preview. The gallery hover card uses that file (it swaps index.html for thumb.jpg on previewPath); without it the row still plays and simply shows no hover image. pnpm bench status <run-id> prints the next command and telemetry. Wall time is recorded automatically per phase; pass cost/token usage at seal time (or later via pnpm bench telemetry). The gallery Tokens column is full-run usage (input plus output, or a recorded total). Partial phase coverage is labeled incomplete instead of shown as the run total. Runs recorded before the current schema appear in the gallery as Legacy with their frozen scores and reports.
The Vercel deployment uses server-side authentication through middleware.js. The password is stored as the sensitive Vercel environment variable STAGEBENCH_PASSWORD for Preview and Production; it is never bundled into the React app or saved in browser storage. Successful login creates a signed, seven-day, HttpOnly, Secure cookie. The middleware fails closed with a 503 if the variable is missing, and failed logins are rate-limited (10 attempts per IP per hour).
Stagebench is an independent, non-commercial benchmark for studying browser UI/audio reconstruction. It is not affiliated with, authorized, or endorsed by Clavia DMI AB. "Nord" and "Nord Stage" are trademarks of Clavia DMI AB, used here only to identify the product being studied. The Nord Stage 4 user manual and product photography are copyrighted by Clavia DMI AB.
Product photos (reference/*.jpg and public/reference/*.jpg) are stored in this repository so the gallery overlay stays reliable when Nord's CDN paths change. The user manual PDF remains gitignored — fetch it locally with pnpm bench fetch and do not commit it. Photos remain Clavia's copyright; they are included here only for non-commercial benchmark evaluation.
Production builds run scripts/prepare-reference-photos.mjs (via prebuild) to ensure JPGs are present under public/reference/ (copying from committed reference/ files, fetching only if missing). Middleware serves local files first and falls back to Nord's CDN if a local file is missing.