Benchmarks for Orbi's delivery harness: the prompts, skills, tools and review rules wrapped around the models that turn a GitHub issue into a merged pull request.
Each run is the real Orbi runner doing its real job (claim the issue, implement, open a PR, review, fix, merge) against a private snapshot of an open-source repository. A hidden grader then scores the merged code. Nothing here is a synthetic prompt test.
The write-ups live at orbi.build/benchmark.
variants/ every harness version: prompt.md, prompt_review.md, engine.toml (models), PATH additions (v3 and v6 were defined but never run)
skills/ standalone skills some variants load
tasks/tuning/ the three issues Orbi originally got wrong (pyinfra, chainloop, fedify): tickets + hidden graders
tasks/heldout/ 20 upstream bug fixes the harness was never tuned on (17 merged after 2026-08-10, 3 in July–August)
scripts/ instance setup, run loop, queue, scoring, aggregation, charts
guard/ gh/git wrappers that keep an agent away from the upstream fix
results/ results.json, results_ho.json, stats.json, per-run score + regression report, charts
setup.sh turns this repository into a runnable bench directory
Tuning set (3). Issues where Orbi merged a fix that broke something else: a secret redactor that leaked the last characters of a password ending in \n, and a table-width fix that misaligned 👍🏽 and decomposed が. Their graders were written for this benchmark and calibrated three ways: fail the pre-fix code, fail Orbi's merged fork PR, pass a hand-verified fix. The harness was tuned on these, so results here are a training score.
Held-out sets (20). Real upstream fixes: the 17 ordinary and narrow-example ones were merged after 2026-08-10; the 3 regression-prone ones between July and mid-August 2026. The hidden grader is the maintainer's own test from the fix. We don't vendor those tests: hidden.list names the files and tasks/heldout/fetch_hidden.sh fetches them from the fix commit. Each task's calib.txt shows the grader failing before the fix and passing after it. The ticket (issue.md) was rewritten with no links, numbers or hints at the fix.
- 9 ordinary bugs (
gojq,urfave-cli,pflag,magic-string,recast,cron-parser,python-dotenv,markdown-it-py,pyjwt) - 3 regression-prone bugs, where the first upstream fix introduced a regression that a second fix repaired (
numpy,opentelemetry-collector-contrib,aiohttp); the grader also fails that first fix - 8 narrow-example bugs, where the Issue shows one or two examples and the maintainer's tests cover a wider class; a fix written only for the example passes it and fails those tests (
loguru,dateparser,gocsv,goja,doublestar,picomatch,markdown-it,marked)
v0-baseline is Orbi's original prompts. Each later variant changes one or two things; the ones that matter:
| Variant | What it changes |
|---|---|
| v1 | ask both roles to compare behaviour before and after the fix |
| v5 | generate inputs programmatically across whole classes, compare with a reference |
| v11 | the oracle must not be derived from the change; repository tooling on PATH |
| v13 | characters a change strips are data (a secret that itself ends in \n) |
| v14 | cross-check reference implementations |
| v15 | collision checks when search/replace text changes (the "always-on guard") |
| v19 | v15's guard only when a change touches text handling ("gated guard") |
| v19b | v19 with the gate decision recorded in .orbi/plan.md |
| v20 | v0, plus a cheap model reproduces the bug and enriches the ticket first |
| v21 | v0 implementer prompt, v15 reviewer prompt (with the contribution skill and tools on PATH) |
Model variants: v2 (luna implements, sol reviews), v7, v8 and v12 (Opus 5.5 via a Claude Code bridge), v9 (sol in both roles), v16 (GLM 5.3 flash via a zcode bridge) and v18 (deepseek implements, sol reviews); see each engine.toml. The two bridges ignored --skill during these runs.
Passes / runs, deepseek-flash implementing and reviewing; tokens are the median per run in millions and include cache reads (about 97% of the total). 14 runs were discarded (memory kills, a snapshot bug, name collisions); see results/invalid.txt.
| Set | v0 original | v15 always-on | v19 gated | v20 enrich | v21 reviewer only |
|---|---|---|---|---|---|
| tuning (3) | 6/15 · 5.7M | 9/9 · 13.4M | 3/3 · 10.8M | 2/3 · 7.7M | 1/3 · 7.9M |
| narrow-example (8) | 8/12 · 3.6M | 9/10 · 8.3M | 7/8 · 5.2M | ||
| ordinary (9) | 9/9 · 2.8M | 9/9 · 5.8M | 9/9 · 5.2M | ||
| regression-prone (3) | 4/4 · 7.1M | 3/3 · 13.9M (no numpy run completed) |
v19b (the gate decision recorded in .orbi/plan.md) passed 3/3 on the tuning set, passed dateparser and failed picomatch.
results/stats.json has every run: variant, task, pass, minutes, token counts. scripts/compare.py prints this table.
Limits: most cells have one to three runs and no confidence intervals; every held-out result uses one implementation model; graders only catch what someone knew to test.
You need Orbi, pi, gh logged in to an account that can create private repositories, and whatever toolchains the tasks use (Python with uv, Go, Node, Deno).
./setup.sh ~/orbi-bench ~/orbi-deploy/orbi # writes scripts, variants, tasks; fetches hidden tests
cd ~/orbi-bench
./mkinst2.sh pflag-wrap-unbreakable-word ho-pflag-v19-a ~/orbi-bench/variants/v19-risk-gated
./run2.sh ho-pflag-v19-a 180 > runs/ho-pflag-v19-a/run.out
./score2.sh ho-pflag-v19-aFor batches, add lines like ho:<task> <instance> <variant> to queue.txt and run ./queue.sh queue.txt 1 with ./autoscore.sh and ./memguard.sh alongside. Each instance creates a private repository <you>/obench-<instance>.
Run one or two instances at a time. A single task can take several gigabytes of memory (numpy builds from source). memguard.sh kills benchmark processes when available memory or free swap runs low, and run2.sh points TMPDIR at the instance directory.
The tuning tasks need upstream clones at src/pyinfra, src/chainloop and src/fedify, and the fedify grader needs the generated packages/vocab/src/vocab.ts (set FEDIFY_VOCAB_TS). The Python helpers read results from ~/orbi-bench.
AGPL-3.0, same as Orbi.