A benchmark suite that grows itself. Most model/harness benchmarks are static and hand-curated — someone writes a fixed set of tasks once, and every model gets graded against the same list forever. EvoBench closes a different loop: when your harness catches a real failure, it mines that exact failure into a permanent regression task autonomously — no one writes it by hand — and from then on, every model you ever benchmark gets tested against every failure your harness has actually hit, not a fixed academic set.
This isn't a claim that regression testing or benchmark curation are new ideas — they aren't. What's genuinely uncommon is wiring them together as one autonomous pipeline across an owned harness stack: a failure caught by VerifyLoop becomes a task stored durably and tamper-evidently in ReceiptLedger, runnable immediately through HarnessBench — with no human in the loop writing benchmark code.
- Observe a failure. Something produced a wrong output for a known prompt — caught by a VerifyLoop run, or flagged any other way.
- Mine it.
mine()turns(prompt, bad_output)into aVerifySpec— a declarative, JSON-serializable check (not_contains,contains,regex,not_regex) — and tags it with a failure category pulled from VerifyLoop's triage, if a run result is available. - Store it.
Suite.add()appends the mined task to areceiptledger.Ledger— hash-chained and append-only, so a task's content can't be silently edited after the fact — plus a small manifest tracking which task ids exist. - Benchmark against it, forever.
Suite.as_harnessbench_tasks()reconstructs realharnessbench.Taskobjects from the stored specs, so every subsequent benchmark run is graded against the full accumulated history of real failures, automatically.
pip install -e ".[dev]"
pytestfrom evobench import Suite, observe
from harnessbench import BenchmarkRunner, MockAdapter, summarize
suite = Suite("suite.jsonl", "manifest.json")
# Something failed: the model answered "5" to "what is 2 + 2?"
observe(suite, task_id="arithmetic-1", prompt="what is 2 + 2?", bad_output="5")
# Every model from now on gets checked against that exact failure.
models = [MockAdapter("m", lambda _: "4")]
results = BenchmarkRunner(models, suite.as_harnessbench_tasks()).run()
print(summarize(results))v0.1. The mined check is a literal/pattern match on the bad output, not a
full re-execution of whatever originally produced it — deliberately
scoped this way so the suite works for any harness that can report
(prompt, bad_output), not just ones that run Python tests. Richer
mining (re-running the original reproduction automatically) is a natural
next step, not yet built.
MIT