A results standard for benchmark repos, with JSON Schemas, a renderer, small-sample stats, a linter and an Every Eval Ever exporter (STANDARD.md is the source of truth).
Updated 2026-10-26. State: active, v0.6.2. Next: see NEXT.md.
bench-kit is tooling, not a bench, so it has no runs. The standard it enforces is in STANDARD.md.
Every bench repo keeps its own runner. After a run it writes runs/<id>/manifest.json
(schema bench-manifest/1) and runs/<id>/samples.jsonl (schema bench-sample/1), one row
per task x subject x repeat. bench-kit then:
bench-kit stats: computes means, 95% intervals (t, or Wilson for 0/1), paired per-task comparisons with wins/ties/losses and a sign test, error counts and token totals from samples.jsonl into the manifest. The task is the unit; repeats are averaged within a task first. Optional: cluster-robust intervals (stats.cluster_by), per-subject task and repeat counts, and per-metric task subsets (task_filter, e.g. recall over positive tasks only).bench-kit render: regenerates the README latest block (between thebench:latestmarkers), RESULTS.md and runs/INDEX.md from all manifests.bench-kit lint: checks the repo against the standard, rules BL001-BL013 (bench-kit rules).bench-kit export-eee <run> [--org NAME]: writes Every Eval Ever 0.3.0 aggregate + samples files and validates them against the vendored EEE schemas.
Sweep hygiene (STANDARD.md section 11), for the bench's runner to call:
bench-kit ledger <sweep-id> --run <run-id>: writes or updates the tracked sweep ledgerdata/sweeps/<sweep-id>.json(per-trial verdicts, schemabench-sweep/1). Raw transcripts may stay gitignored; the ledger is committed.bench-kit check-run <trial>...: flags trials that failed on provider auth (401, revoked or expired token, invalid API key), so they are recorded as errors instead of scored, and exits 3 after--stop-after Nin a row so the sweep stops.--require GLOBchecks the trial kept every file the bench needs.bench-kit scrub <path>... --env '*_API_KEY': replaces secret values (named by env var or a--values-file) in run files with<redacted:NAME>;--checkexits 1 if any value is left.
# from a bench repo checkout
uv tool install git+https://github.com/aeonfun/bench-kit@v0.6.2 # or: pipx install git+https://...
bench-kit stats && bench-kit render && bench-kit lint
bench-kit export-eee <run-id> --out eee-export --org "Your Org"
# inside a sweep loop, after each trial
bench-kit check-run runs/<run-id>/raw/<trial> --streak-file runs/.auth-streak.json # 2 = auth error row, 3 = stop
bench-kit scrub runs/<run-id> --env '*_API_KEY' --env '*_TOKEN'
bench-kit ledger <sweep-id> --run <run-id> --status running
# at sweep end
bench-kit scrub runs/<run-id> --env '*_API_KEY' --env '*_TOKEN' --check
bench-kit ledger <sweep-id> --run <run-id> --status finished && git add data/sweeps runs/<run-id>In any repo's GitHub Actions CI:
- uses: actions/checkout@v7
- uses: aeonfun/bench-kit@v0.6.2
with:
args: --warn-only # drop once the repo is migratedDevelop:
uv sync && uv run pytest && uv run ruff check . && uv run ruff format --check .STANDARD.md: the standard (files, README shape, manifest and samples fields, stats rules, lint rules)schema/:bench-manifest-1.schema.json,bench-sample-1.schema.json,bench-sweep-1.schema.json, andeee/(vendored Every Eval Ever 0.3.0 schemas, MIT, seeschema/eee/SOURCE.md)src/bench_kit/:stats.py,render.py,lint.py,export_eee.py,ledger.py,runcheck.py,scrub.py,cli.pyaction.yml: composite action that installs bench-kit from the action checkout and runsbench-kit linttests/: pytest, including hand-computed stats checks
MIT, see LICENSE. The vendored Every Eval Ever schemas in schema/eee/ keep their own MIT license (see schema/eee/SOURCE.md).