Benchmark Factory: Meta turns merged code into coding evals

A Meta paper describes an agent loop that builds coding-agent benchmarks from a team's merged changes and checks them without per-task human labels.

If you want to know which coding agent works best on your own codebase, public suites don't cover your code, and a homemade benchmark that's too easy or too noisy can mislead you without any sign that it's wrong. A Meta paper posted to arXiv on Nov 13, 2026 describes Benchmark Factory, a loop that turns landed code changes into a benchmark and checks it with no per-task human labels.

Each task is a merged change. The agent gets the change's title and summary, works from the parent commit, and is graded by the change's tests or by a large language model (LLM) grader that compares its patch with the one that landed. A meta-agent writes the query that picks tasks, then runs a ladder of models of known relative strength. It accepts a candidate only if stronger models beat weaker ones by a margin and pass rates stay inside a difficulty band. When a check fails, the agent repairs the candidate, starting with the task query and changing the pass threshold last. The grader and expected ordering stay frozen, so the loop can't pass by tuning the measurement. As @omarsar0 put it, good benchmarks are hard to create, and this method looks promising.

The paper reports these results across five Meta developer cohorts. On configurations never used to build the benchmarks, they ranked Claude Opus 4.7 at high effort above low effort (60.6% vs 54.4% of tasks passed) and GPT-5.5 above GPT-5.4 (65.8% vs 60.5%). Deliberately broken benchmarks and graders failed the checks. One loop round ran about 480 agent runs and could finish within a few hours.

The most useful finding for a small team may be the failure mode. All five grader verdicts that experts rated wrong were fails on tasks whose descriptions left out details the landed patch contained. The authors list several limits. The checks are necessary, not sufficient. All cohorts come from one organization. Each of the 30 audited tasks was scored by a single rater who could see model names. GPT-5.5 did the grading, so it may have favored its own model family. The benchmarks can't be released. The paper also says benchmarks of about 100 tasks rarely pass a significance test, and it's unclear how far the approach scales down for a solo developer with a short change history.

Try it: one cheap check before you build any eval from your history (our example): take two or three recently merged PRs, check out each parent commit, and give your coding agent only the PR title and description. Compare its diff with what landed. Where it missed details the description never mentioned, that task is under-specified, which is the paper's main failure mode, so rewrite the description before you score anything against it.

Sources