A coding benchmark generated from a company’s own repository needs its own quality checks. An agent can fail because a task is difficult, because its instructions omit a requirement, because the grader rewards the wrong thing, or because the evaluation system never ran properly. A pass rate alone cannot distinguish those explanations.

Benchmark Factory, a 13 November 2026 preprint by Meta researchers, proposes checking generated benchmarks against expected model ordering and a useful difficulty range. If supposedly stronger models lose, or every model passes, the system investigates and repairs the candidate benchmark.

The authors report encouraging results across five internal developer cohorts at one organization. They also document a substantial limit: the checks missed tasks whose instructions lacked details that the grader expected. Their work offers a way to diagnose selected benchmark failures, with evidence still needed beyond a plausible ranking.

How production changes become benchmark tasks

In the construction process, each task starts with a merged production change. The coding agent receives the change’s title and summary and works from the parent commit, the repository state before that change landed. The landed patch becomes the reference solution.

Those pieces serve different purposes. The task description tells the agent what to do. The reference patch records what the original developer changed. If the patch contains a requirement missing from the description, comparing against it can punish an agent for information it never received.

A benchmark combines a sourcing query that selects changes, a task prompt, a grader and a pass threshold. The surrounding execution system, or harness, determines how the model interacts with the repository and tools. Results therefore describe a model running under particular conditions.

The general system can grade with tests when changes include them. In the five-cohort demonstration, no fail-to-pass tests were recorded. A GPT-5.5 grader compared generated patches with the landed patch, assigned scores from 0 to 100, and a threshold converted each score into a pass or fail.

A coordinating agent explores the production data, launches coding-agent runs, analyzes results and revises unsuccessful candidates. Intended repairs proceed through sourcing, task presentation, pipeline problems and defective tasks before changing the threshold. Task removal must address a defect and become an explicit sourcing rule. The grader and expected model order are supposed to remain fixed unless outside evidence justifies a change.

This is a supervised process. The reported policy rejects a candidate after five unsuccessful repair rounds, requires approval for a second consecutive threshold reduction, and puts every acceptance through a human checkpoint. The first cohort exceeded the round limit under supervision while the authors revised the procedure.

What the two quality anchors require

The authors call the checks “label-free” because they need no per-task human labels. They still rely on reference patches, human-chosen capability tiers, assumptions about relative model strength, and human review.

The five-cohort implementation used two anchors:

  • Ordering: every model in a higher tier must exceed every model in a lower tier by at least five percentage points in pass rate. Models within the same tier need no particular order.
  • Difficulty: every model’s pass rate must fall between 10% and 85%, inclusive.

The five-point margin is an acceptance policy, rather than a statistical estimate of uncertainty. The paper reports statistical tests elsewhere, but they are not this construction gate. Although the general framework allows a run-to-run variance anchor, the five-cohort construction did not use one because construction rounds were not repeated.

The difficulty band catches benchmarks that are too easy or too hard to separate the selected models. Ordering asks whether results agree with an external expectation. Both depend on choices: which models belong in which tiers, what gap matters, and which difficulty range is useful.

Four accepted benchmarks needed repairs. For example, one cohort’s sourcing query changed to require three to six files and at least 50 changed lines, replacing 81 of its 96 construction tasks. That produced a more separated ranking. It also changed the work being measured; improved separation alone cannot show that the new population better represents the organization’s needs.

The authors sometimes revised the expectation instead. In the first cohort, Sonnet matched or exceeded Opus 4.6 under three graders and an execution-based check, so the two were placed in one tier. That is an important human judgment: an unexpected ranking can expose a mistaken assumption as well as a defective benchmark.

What the diagnostic failures actually show

The negative controls test whether the anchors notice deliberately uninformative evaluations. A trivial benchmark of one-file changes containing one to five lines produced pass rates of 91–95%, failing both difficulty and ordering checks.

A separate replay compared a real grader with five broken alternatives, including shuffled reference patches, grading only an agent’s self-report, and scoring by patch length.

Construction had not retained patches, so the authors reran a cohort using a new task pool, a newer top model and a newer harness. Only 52 tasks had complete four-model results, with 51 available for two controls. Under the original five-percentage-point ordering rule, the real grader would also have been rejected: two required gaps were only about 1.9 points.

For this replay, the authors used a relaxed rule they say was fixed before re-scoring. It rejected a grader if the difficulty band failed, or if the ordering anchor failed and no more than three of five cross-tier pairs were correctly ordered by mean score. The real grader passed that rule; the five broken controls failed it. This demonstrates discrimination in that replay, without establishing that the original gate always accepts a sound grader.

Threshold freedom also matters. The self-report-only grader could pass at a threshold of exactly 94. Actual construction thresholds were 60–80, with threshold changes placed last in the repair process and subject to human oversight. Those safeguards constrain tuning; they cannot mathematically prevent a misleading grader from satisfying the anchors.

An infrastructure incident illustrates a different diagnostic limit. An invalid model identifier caused Opus 4.5 to score zero. The difficulty check detected a symptom, but the coordinating agent interpreted it as weak capability and lowered the pass threshold from 80 to 60. An early acceptance was later retracted.

The authors consequently added execution health checks, including turns, tool calls and token use, before interpreting scores. Detecting an implausible result and finding its cause are separate jobs.

Visible holdouts and unseen configurations answer different questions

The construction process reserved a nominal 20% of tasks by hash split. These holdouts ran each round, and the coordinating agent could see their results, although the rules prohibited using them to drive repairs or acceptance. Re-sourcing could redraw the split.

These were therefore visible construction holdouts. Two cohorts kept their original holdouts; others redrew them. The first cohort’s final holdout results were not recorded, and the fifth had no holdout. Recorded graded holdouts were small, and did not uniformly meet every anchor: one top-model rate exceeded the difficulty band, while another cohort narrowly missed the required ordering margin.

The paper’s later transfer tests provide a different challenge. After freezing the accepted query, prompt, grader and threshold, the authors drew new task pools and evaluated configurations absent from construction. These included GPT-5.4 and GPT-5.5 through another harness, and low- versus high-effort Opus 4.7. Some tasks overlapped construction, so these were unseen configurations rather than wholly unseen task sets.

The authors report an aggregate 5.3-percentage-point advantage for GPT-5.5 over GPT-5.4 across 552 tasks, with a 95% confidence interval of 1.6–8.9 points. High effort exceeded low effort by 6.2 points across 551 tasks, with an interval of 2.2–10.2 points. Nine of ten individual cohort comparisons pointed in the expected direction; that does not mean nine were individually statistically significant. Extra-high effort did not significantly improve on high effort.

These results support transfer beyond the configurations used to construct the benchmarks, within the studied organization and grading setup. They do not establish a general model ranking or a relationship with developer productivity.

Human review found missing instructions that ordering could not detect

The expert audit examined six randomly selected tasks per cohort, 30 in total. Three internal engineering experts participated, with one rater assigned to each task.

Average task quality was 2.3 on a three-point scale: 15 tasks were rated good, nine acceptable and six poor. Of 58 gradable verdicts, raters judged 40 correct, 13 arguable and five wrong. The mean verdict score of 2.6 out of three should not be converted into an accuracy percentage.

All five wrong verdicts were failures on descriptions that omitted details present in the reference patch, such as enum values or priorities. Most arguable verdicts followed the same pattern. Four poor tasks were unclear or underspecified; two were overspecified.

This is an observed failure the anchors missed. Missing instructions can lower several models’ scores together while preserving their aggregate order. A benchmark can separate models and still grade some of their work unfairly. Filtering or rewriting underspecified tasks remains future work in the paper.

The audit also has limits: raters saw model names and grader reasoning, each task received only one rating, and only accepted benchmarks were sampled. It cannot establish inter-rater agreement or compare the process with independently curated tasks.

What remains uncertain before using the scores

GPT-5.5 served as both grader and evaluated agent in the transfer comparison, leaving a possible same-family preference. The Opus effort comparison avoids that particular confound. In separate companion benchmarks, changing grader family preserved ranks but shifted absolute pass rates by about 11.5 percentage points. That suggests a threshold may need recalibration when the judge changes.

Expected ordering creates another unresolved tension. Repairing tasks until familiar models line up can fit their particular strengths and weaknesses. Explicit sourcing rules, frozen graders and outside evidence help constrain that process, but a plausible order cannot establish that the selected tasks cover the work a team cares about.

All five main cohorts came from one organization. Their private benchmarks contain internal code and cannot be released, limiting outside inspection and reproduction. These are preprint findings reported by the authors, without independent replication established here.

For a team assessing a generated benchmark, the study makes several concrete questions worth asking: Can someone solve each task from its instructions without seeing the reference patch? Were unsuccessful runs healthy? Who chose the model tiers and margin? Could threshold tuning rescue a broken grader? Were holdouts visible or redrawn? And does a human audit inspect failures that affect all models similarly?