cd /news/ai-agents/nl2repo-pro-coding-agents-vs-product… · home › topics › ai-agents › article
[ARTICLE · art-179904] src=explainx.ai ↗ pub= topic=ai-agents verified=true sentiment=· neutral

NL2Repo-Pro: Coding Agents vs Production Libraries

Tokenwave.AI published NL2Repo-Pro in December 2026 (arXiv 2611.38050), a benchmark of 150 whole-library synthesis tasks that grades coding agents by Feature Acceptance Rate (FAR) rather than aggregate test pass rate. Claude Opus 5.5 in Claude Code led with 61.7% FAR while passing 87.2% of tests, ahead of GPT-6.1 Sol in Codex at 47.1%, DeepSeek V4.1 Flash at 37.7% and Grok 4.7 at 22.5% across 600 total runs, and only seven runs—all Opus 5.5—accepted every feature on a library. On 32 tasks where Opus 5.5 and GPT-6.1 Sol both passed at least 95% of tests, their pass rates differed by 1.7 points but FAR differed by 16.2 points, showing that top-line test greenness can mask broken public APIs.

recommendation

Grade coding-agent output feature by feature, accepting a feature only when every test that calls its code passes, since whole-task pass rates hid a 16.2-point FAR gap between two agents.

more in playbook: Evals and testing for LLM apps
by read8 min views12 publishedDec 2, 2026
NL2Repo-Pro: Coding Agents vs Production Libraries
Image: Explainx (auto-discovered)

NL2Repo-Pro asks whether a coding agent can build a production library from specifications alone—and scores the answer feature by feature, not with a single pass-fail bit. Tokenwave.AI published the benchmark in December 2026 on Hugging Face papers (arXiv 2611.38050) with dataset Tokenwave-AI/NL2Repo-Pro and code on GitHub. Claude Opus 5.5 in Claude Code leads with 61.7% Feature Acceptance Rate (FAR) while passing 87.2% of tests—gaps that matter for anyone selling “autonomous repo creation.”

Why whole-repo benchmarks needed an upgrade #

SWE-bench popularized issue fixing in existing repos. DeepSWE and vendor tables pushed toward larger changes. NL2Repo-Pro targets the next claim: synthesize an entire library from natural-language requirements at production scale (median ~74K LOC, ~51 features in nine dependency layers).

Two failure modes motivated FAR:

  1. Dependent requirements — features unlock other features; agents must plan order.
  2. Whole-task grades lie — a hightest pass rate can mask broken public APIs if tests are shallow.

FAR accepts a feature only when every test that directly calls its code passes. The headline number is the share of features accepted, not aggregate test greenness.

In practice, this means a vendor claim of "most tests pass" tells you little about whether each public feature works. When you read any agent benchmark, ask which unit is graded: the whole task, the test file, or the individual feature. FAR grades the feature, so it is the strictest of the three views.

Task design #

Each of 150 tasks mirrors a real library:

Element Detail
Languages Python, Go, Rust, Java, JavaScript
Spec Overview doc plus per-feature specs in dependency layers
Agent constraints No network; no peek at original tests
Grading Original repo tests, feature-by-feature
Median scale ~74K lines of code, 51 features, 9 layers

Agents must implement from scratch from the spec pack. That is harder than patching a failing test in a checkout—closer to how startups describe “build v1 from a PRD” workflows, and closer to risks we flagged in Obvious Autobuild liability coverage.

Results on four frontier stacks #

From the Hugging Face paper summary:

System Harness FAR Notes
Claude Opus 5.5 Claude Code 61.7% 87.2% tests pass; 7/150 full libraries
GPT-6.1 Sol Codex 47.1% Second place on FAR
DeepSeek V4.1 Flash Claude Code 37.7%
Grok 4.7 Claude Code 22.5%

600 runs total across systems. Only seven runs—all Opus 5.5—accepted every feature on a library. Even the leader rarely ships a complete library under NL2Repo-Pro’s strict feature definition.

Pass rate versus FAR

On 32 tasks where Opus 5.5 and GPT-6.1 Sol both pass ≥95% of tests:

  • Test pass rates differ by 1.7 points.
  • FAR differs by 16.2 points.

That is the benchmark’s thesis in one table: dashboard pass rate ≈ marketing; FAR ≈ product completeness. Teams comparing Naive N0.5 Flash or Qwen SWE numbers should ask vendors for feature-level grades, not only top-line SWE or NL2Repo rows without FAR.

NL2Repo-Pro human eval style tests pass versus feature acceptance for coding agents

Anti-leakage checks #

Authors highlight 44 libraries created in 2026 where no system writes even 1% of hidden test names during generation. Ranking stability on that subset is their argument that NL2Repo-Pro is not a memorization leaderboard.

That matters as frontier labs train on more public code: benchmarks need held-out naming and feature isolation, not only private forks.

How builders should use NL2Repo-Pro #

  1. Baseline your agent — pick one language slice (e.g., Python-only tasks) before burning GPU on all 150.
  2. Report FAR and pass rate together — if FAR lags pass rate by double digits, you have stub features.
  3. Wire CI to feature layers — mirror NL2Repo’s dependency layers in your own epic graph; graders become acceptance tests per epic.
  4. Pair with security — whole-repo agents needClaude Security scans and human review; FAR does not measure vulnerabilities.
  5. Train teams — explain FAR to PMs so they do not interpret87% tests green as87% features shippable .

For structured team training on agent evaluation, see Claude Code workshops and our coding agent harness guides.

What NL2Repo-Pro does not measure #

  • Runtime performance ormemory of generated libraries.
  • Security orlicense compliance of synthesized code.
  • Cost per feature (token dollars to reach 61.7% FAR).
  • Human UX of the library API—only automated tests tied to features.

Those gaps are where internal evals still win. UK AISI cheating evaluations and Gray Swan reward hacking show why one public leaderboard never sufficed; NL2Repo-Pro is another necessary ruler, not the only one.

Language and project-type coverage #

The benchmark spans five languages and fourteen project types on real repositories—not synthetic micro-apps. That matters because agents behave differently when idioms, packaging, and test harnesses change. A team strong on Python FastAPI libraries may collapse on Rust async crates when feature wiring crosses modules with strict visibility rules.

Tokenwave’s project page (tokenwave-ai.github.io/NL2Repo-Pro/) is the place to watch for per-language FAR tables beyond the Hugging Face summary excerpt. When you vendor-shop coding agents, ask for language-stratified FAR, not a single leaderboard cell copied from marketing decks.

Failure modes FAR catches #

Stub exports: A feature’s public API exists but returns NotImplementedError; tests that mock internals may still pass while direct-call tests fail—FAR rejects the feature. Partial error handling: Happy-path tests green; edge-case callers in later layers break—FAR rejects because a downstream feature’s direct tests exercise those paths. Dependency inversion mistakes: Feature B ships before Feature A’s contracts stabilize; layered specs force order but agents often “skip ahead” when pass rate optimizers reward any green CI.

These patterns show up in internal pilots long before NL2Repo-Pro names them. If your org measures only PR merge rate, you are optimizing the wrong proxy.

Running a fair internal replay #

  1. Freeze harness version — TokenWave GitHub tags matter; do not compare November and December graders mixed.
  2. Log dollars per accepted feature — divide token spend by accepted feature count, not by job wall time.
  3. Blind human review on 5% of features — academics are not your UX bar; a staff engineer should mark “would ship.”
  4. Track regression when models update — Opus 5.5 at 61.7% FAR is not a guarantee the next point release holds.
  5. Publish negatives — If FAR drops on your private fork, document why; NL2Repo’s value is honest failure visibility.

Enterprise procurement questions #

Ask vendors:

  • Do you report feature-level acceptance on customer repos, or only issue-close rate?
  • Can we run your harness on air-gapped mirrors of our SDK?
  • What happens when FAR andpass rate diverge by more than ten points on our pilot?

If answers stay vague, pilot with Claude Code workshop skills inside your own sandbox before signing annual agent contracts.

Connecting FAR to your existing CI #

Most enterprises already run unit tests and lint on pull requests. FAR-like thinking means adding feature tags in test metadata—@feature_checkout, @feature_auth—so CI can report acceptance per feature epic, not only aggregate green. Agents then optimize against the same graph NL2Repo-Pro uses, reducing surprise when 87% pass rate still ships a broken checkout path.

Start with one internal library that mirrors NL2Repo’s layered spec style: write an overview.md with dependency layers, split acceptance tests per layer, and measure human vs agent FAR monthly. That internal chart becomes the slide that survives vendor benchmark debates.

Worked example: reading one FAR gap #

Imagine Feature 7 – authentication middleware fails while Features 1–6 pass. NL2Repo’s grader rejects Feature 7 and any feature whose tests directly call middleware hooks—even if aggregate pass rate stays above ninety percent because unrelated unit tests never touch auth. That is how 16.2 FAR points can separate models with nearly identical pass rates on the Hugging Face summary table.

In production, the same failure looks like “the agent finished the sprint” with login broken. FAR naming makes the failure auditable instead of discoverable in prod.

Paper metadata for citations #

When you cite NL2Repo-Pro in internal docs, use arXiv 2611.38050, Tokenwave-AI org on Hugging Face, and the dataset card for versioning. Paper upvotes on Hugging Face are community signal, not peer review. For procurement, prefer reproduced FAR on a private fork over screenshot leaderboard cells.

Historical context: from functions to libraries #

HumanEval tested functions; SWE-bench tested patches; NL2Repo-Pro tests synthetic product delivery. Each step raised dollar cost per eval run and honesty of metrics. Teams that skip straight to “we automate your entire codebase” without feature-layer grading repeat the pass-rate overstatement cycle NL2Repo was built to puncture.

Token economics (what the paper does not price) #

NL2Repo-Pro does not standardize token dollars per accepted feature. Internally, multiply agent spend per task by (1 / FAR) for a rough cost to ship a full library. If Opus 5.5 accepts 61.7% of features, the tail 38.3% often consumes disproportionate retry tokens—the hidden tax in autonomous codegen RFPs. Finance and engineering should co-own that math before headcount reduction plans cite SWE-bench alone. Leadership reviews should cite FAR alongside velocity in the same slide footer.

── more in #ai-agents 4 stories · sorted by recency
── more on @tokenwave.ai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/nl2repo-pro-coding-a…] indexed:0 read:8min 2026-12-02 · —