NL2Repo-Pro: Why Feature Acceptance Rate Beats Test Pass Rate
NL2Repo-Pro is a 2026 benchmark that asks coding agents to build entire production-scale libraries from layered specifications. This guide reads the paper abstract and dataset page and explains the Feature Acceptance Rate, the 150 tasks across five languages, the head-to-head results for four frontier systems, and the antidote to memorisation provided by repositories created in 2026. It also notes the limits of the metric.
View 2 referencesAllow the functional cookie to save your likes. Privacy details
What is NL2Repo-Pro?
NL2Repo-Pro is a benchmark of 150 tasks that asks a coding agent to build a production-scale library from natural-language requirements. It was submitted to arXiv on 25 November 2026 by Heli Qi and fourteen co-authors. The benchmark is described in arXiv:2611.38050, submitted on 25 November 2026, with data and grading scripts published openly.
The tasks come from real, actively used open-source libraries with a median of 74,000 lines of code. They span five programming languages, Python, Go, Rust, Java and JavaScript, and fourteen project types.
The paper's central claim is about measurement. A whole-task pass or fail verdict gives almost every attempt a zero, while a raw test pass rate makes a badly broken library look nearly finished. NL2Repo-Pro grades delivery feature by feature instead.
How is a task specified?
Each task supplies an overview document and one specification per feature. The overview arranges features in dependency layers, so later features build on earlier ones rather than arriving as one flat prompt. The layered format mirrors how real software is planned, where a high-level design precedes detailed feature requirements.
A typical task has a median of 51 features across nine layers, with specifications totalling roughly 180,000 tokens. The agent must work from those documents without network access and without seeing the original repository's tests.
A third-party methodology write-up describes a four-phase construction pipeline using planning, specification and judge agents, checked by human engineers at five review gates. That detail is useful context but comes from the analysis, not the paper abstract.
What is Feature Acceptance Rate?
Feature Acceptance Rate, or FAR, is the share of features whose directly attributed tests all pass. A feature is accepted only when every test that calls its code passes, so a single failing test can reject an otherwise working feature.
The verifier attributes each test to the specific features whose code it calls directly, using call-graph tracking. FAR therefore measures how much of the delivery actually works, rather than what fraction of tests happened to pass.
This matters because test suites are unevenly distributed. If a basic utility has a thousand tests and a core algorithm has five, passing the easy tests can produce a 99% pass rate on a library that does not perform its main function.
How the scoring works
| Step | What happens |
|---|---|
| 1 | Agent builds the library offline from layered specs |
| 2 | Hidden tests from the original repository are run |
| 3 | Each test is attributed to the features it calls |
| 4 | A feature is accepted only if all attributed tests pass |
| 5 | FAR is the percentage of accepted features |
What did the four systems score?
Claude Opus 5.5 in Claude Code is the strongest system reported. It passes 87.2% of tests but achieves a FAR of 61.7, and only seven of its 150 libraries have every feature accepted. The headline result is that no system completes more than a small minority of libraries end to end.
GPT-6.1 Sol in Codex reaches a FAR of 47.1, DeepSeek V4.1 Flash in Claude Code reaches 37.7, and Grok 4.7 in Claude Code reaches 22.5. Across 600 runs, just seven deliveries are fully accepted, all by Claude Opus 5.5.
The result is a clean answer to the question the benchmark asks. Even the best system builds most of a production library but rarely all of it, and complete delivery is still an open problem for coding agents.
How do we know the models did not memorise the code?
The benchmark includes 44 repositories created in 2026, pinned to recent commits. In those repositories, no system writes even one percent of the hidden test names, which would be a strong signal of recall from training data. Freshness and feature-level grading work together: recall of public tests cannot help on a repository the model has never seen.
More than that, the FAR ranking holds on that recent subset. The paper also notes that 145 of the 150 tasks are pinned to 2026 commits, so the dataset is deliberately fresh.
This is the benchmark's most important design choice after FAR itself. Without it, a high score on a public library could reflect training exposure rather than the ability to build from a specification.
Why is test pass rate misleading?
The paper gives a direct head-to-head example. On 32 tasks where Claude Opus 5.5 and GPT-6.1 Sol both pass at least 95% of tests, the two systems' test pass rates differ by only 1.7 points while their FAR differs by 16.2 points.
That gap means the failing tests concentrate in different features. A team that reports only pass rate would conclude the two agents are nearly equivalent, when one delivers substantially more working functionality.
FAR is not perfect either. It depends on how tests are attributed to features, and a feature with no direct test cannot be accepted or rejected. The metric answers "how much of the specified library works", not "is this code production ready".
Do agent management styles matter?
The third-party analysis of the paper reports a striking difference in how the agents organised themselves, despite all being told to use subagents. Claude Opus 5.5 behaved like a coordinator, writing a shared plan file, spawning a median of 25 subagents and writing code itself in only 14% of runs.
GPT-6.1 Sol worked alongside three subagents and wrote code itself in 100% of runs. The paper also observes that agents rarely read all documentation up front and often started a later dependency layer before finishing the previous one, with overlap in more than 80% of adjacent layers.
These are reported observations from the analysis, and they should not be read as a proven causal explanation for the score difference.
How do you use NL2Repo-Pro?
The dataset, original tests and grading scripts are published on Hugging Face, listed at about 87.3 GB with a mixed licence. A paper link and BibTeX entry were added to the dataset card on 1 December 2026. Treat the metric as a measure of delivered functionality, not as a substitute for a security or maintainability review.
A practical evaluation workflow is to run an agent on a small subset with the same offline constraints, apply the published grader, and compare FAR rather than test pass rate. Because the specification files are large, the harness and time budget matter as much as the model.
Frequently asked questions
The questions below clarify the language coverage, the relationship to an older benchmark and the availability of a human baseline. Answers come from the paper and dataset card checked on 2 December 2026. The metric definition comes from the paper abstract itself.
What languages does NL2Repo-Pro cover?
Python, Go, Rust, Java and JavaScript, across fourteen project types. That range matters because repository-level generation benchmarks have historically been dominated by Python.
Is NL2Repo-Pro the same as NL2Repo?
No. NL2Repo-Pro is a distinct 2026 benchmark described in arXiv:2611.38050. Other leaderboards track an NL2Repo entry with different models and scores, so check the paper identifier before comparing numbers.
Can a human complete these tasks?
The paper's construction pipeline includes human engineers at review gates, but it does not report a human baseline on the full tasks. The benchmark is intended for agents operating within a set time budget in an offline container.
Bottom line: NL2Repo-Pro's lasting contribution is the Feature Acceptance Rate and the 2026-fresh repository set. Together they expose the gap between passing tests and delivering a working library, which is the question that matters for real code generation.