{"slug": "nl2repo-pro-coding-agents-vs-production-libraries", "title": "NL2Repo-Pro: Coding Agents vs Production Libraries", "summary": "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.", "body_md": "**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](https://huggingface.co/papers/2611.38050?ref=explainx) published the benchmark in December 2026 on [Hugging Face papers](https://huggingface.co/papers/2611.38050?ref=explainx) (arXiv **2611.38050**) with dataset **[Tokenwave-AI/NL2Repo-Pro](https://huggingface.co/datasets/Tokenwave-AI/NL2Repo-Pro?ref=explainx)** and code on **[GitHub](https://github.com/TokenWave-AI/NL2Repo-Pro?ref=explainx)**. **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.”\n\n## Why whole-repo benchmarks needed an upgrade\n\n[SWE-bench](https://explainx.ai/blog/mobile-agent-testers-claude-code-github-actions-parallel-qa-november-2026) popularized **issue fixing** in existing repos. [DeepSWE](https://explainx.ai/blog/qwen38-27b-swe-bench-pro-63-pi-harness-claimed-vs-verified-2026) 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**).\n\nTwo failure modes motivated FAR:\n\n1. **Dependent requirements** — features unlock other features; agents must plan order.\n2. **Whole-task grades lie** — a high**test pass rate** can mask broken public APIs if tests are shallow.\n\nFAR 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.\n\nIn 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.\n\n## Task design\n\nEach of **150** tasks mirrors a real library:\n\n| Element | Detail | \n|---|---|\n| Languages | Python, Go, Rust, Java, JavaScript | \n| Spec | Overview doc plus per-feature specs in dependency layers | \n| Agent constraints | No network; no peek at original tests | \n| Grading | Original repo tests, feature-by-feature | \n| Median scale | ~74K lines of code, 51 features, 9 layers | \n\nAgents 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](https://explainx.ai/blog/obvious-autobuild-1m-liability-ai-code-merges-december-2026).\n\n## Results on four frontier stacks\n\nFrom the [Hugging Face paper summary](https://huggingface.co/papers/2611.38050?ref=explainx):\n\n| System | Harness | FAR | Notes | \n|---|---|---|---|\n| **Claude Opus 5.5** | Claude Code | **61.7%** | 87.2% tests pass; **7/150** full libraries | \n| **GPT-6.1 Sol** | Codex | **47.1%** | Second place on FAR | \n| **DeepSeek V4.1 Flash** | Claude Code | **37.7%** |  | \n| **Grok 4.7** | Claude Code | **22.5%** |  | \n\n**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.\n\n### Pass rate versus FAR\n\nOn **32 tasks** where Opus 5.5 and GPT-6.1 Sol both pass **≥95%** of tests:\n\n- Test pass rates differ by **1.7** points.\n- **FAR differs by 16.2** points.\n\nThat is the benchmark’s thesis in one table: **dashboard pass rate ≈ marketing**; **FAR ≈ product completeness**. Teams comparing [Naive N0.5 Flash](https://explainx.ai/blog/naive-n05-flash-naiveai-coding-speed-latent-space-test-2026) or [Qwen SWE numbers](https://explainx.ai/blog/qwen38-27b-swe-bench-pro-63-pi-harness-claimed-vs-verified-2026) should ask vendors for **feature-level** grades, not only top-line SWE or NL2Repo rows without FAR.\n\nNL2Repo-Pro human eval style tests pass versus feature acceptance for coding agents\n\n## Anti-leakage checks\n\nAuthors 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**.\n\nThat matters as [frontier labs](https://explainx.ai/blog/openai-codex-cloud-browser-desktop-computer-use-december-2026) train on more public code: benchmarks need **held-out naming** and **feature isolation**, not only private forks.\n\n## How builders should use NL2Repo-Pro\n\n1. **Baseline your agent** — pick one language slice (e.g., Python-only tasks) before burning GPU on all 150.\n2. **Report FAR and pass rate together** — if FAR lags pass rate by double digits, you have stub features.\n3. **Wire CI to feature layers** — mirror NL2Repo’s dependency layers in your own epic graph; graders become acceptance tests per epic.\n4. **Pair with security** — whole-repo agents need[Claude Security scans](https://explainx.ai/blog/claude-security-github-action-pull-request-scan-december-2026) and human review; FAR does not measure vulnerabilities.\n5. **Train teams** — explain FAR to PMs so they do not interpret**87% tests green** as**87% features shippable** .\n\nFor structured team training on agent evaluation, see [Claude Code workshops](https://explainx.ai/workshops/claude-for-work) and our [coding agent harness guides](https://explainx.ai/blog/learnharness-open-source-agent-harness-for-learning-knowledge-graph-2026).\n\n## What NL2Repo-Pro does not measure\n\n- **Runtime performance** or**memory** of generated libraries.\n- **Security** or**license compliance** of synthesized code.\n- **Cost per feature** (token dollars to reach 61.7% FAR).\n- **Human UX** of the library API—only automated tests tied to features.\n\nThose gaps are where internal evals still win. [UK AISI cheating evaluations](https://explainx.ai/blog/uk-aisi-frontier-models-cheating-evaluations-december-2026) and [Gray Swan reward hacking](https://explainx.ai/blog/gray-swan-frontier-hazard-tracker-reward-hacking-december-2026) show why **one public leaderboard** never sufficed; NL2Repo-Pro is another **necessary** ruler, not the only one.\n\n## Language and project-type coverage\n\nThe 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.\n\nTokenwave’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.\n\n## Failure modes FAR catches\n\n**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.\n\nThese 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.\n\n## Running a fair internal replay\n\n1. **Freeze harness version** — TokenWave GitHub tags matter; do not compare November and December graders mixed.\n2. **Log dollars per accepted feature** — divide token spend by accepted feature count, not by job wall time.\n3. **Blind human review on 5% of features** — academics are not your UX bar; a staff engineer should mark “would ship.”\n4. **Track regression when models update** — Opus 5.5 at 61.7% FAR is not a guarantee the next point release holds.\n5. **Publish negatives** — If FAR drops on your private fork, document why; NL2Repo’s value is honest failure visibility.\n\n## Enterprise procurement questions\n\nAsk vendors:\n\n- Do you report **feature-level** acceptance on customer repos, or only issue-close rate?\n- Can we run **your harness** on air-gapped mirrors of our SDK?\n- What happens when **FAR** and**pass rate** diverge by more than ten points on our pilot?\n\nIf answers stay vague, pilot with [Claude Code workshop](https://explainx.ai/workshops/claude-for-work) skills inside your own sandbox before signing annual agent contracts.\n\n## Connecting FAR to your existing CI\n\nMost 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.\n\nStart 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.\n\n## Worked example: reading one FAR gap\n\nImagine **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.\n\nIn 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**.\n\n## Paper metadata for citations\n\nWhen 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**.\n\n## Historical context: from functions to libraries\n\n**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.\n\n## Token economics (what the paper does not price)\n\nNL2Repo-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.", "url": "https://wpnews.pro/news/nl2repo-pro-coding-agents-vs-production-libraries", "canonical_source": "https://explainx.ai/blog/nl2repo-pro-agent-library-benchmark-far-december-2026?utm_source=rss&utm_medium=feed&utm_campaign=blog", "published_at": "2026-12-02 00:00:00+00:00", "updated_at": "2026-12-02 02:46:02.452749+00:00", "lang": "en", "topics": ["ai-agents", "ai-research", "large-language-models", "ai-tools"], "entities": ["Tokenwave.AI", "NL2Repo-Pro", "Claude Opus 5.5", "Claude Code", "GPT-6.1 Sol", "Codex", "DeepSeek V4.1 Flash", "Grok 4.7"], "also_reported_by": [], "takeaway": "Grade coding agents per feature, not per test suite: on 32 tasks where Claude Opus 5.5 and GPT-6.1 Sol both passed at least 95% of tests, their FAR differed by 16.2 points while pass rates differed by only 1.7.", "recommendation": {"advice": "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.", "playbook": "evals-testing", "playbook_url": "https://wpnews.pro/playbooks/evals-testing"}, "alternates": {"html": "https://wpnews.pro/news/nl2repo-pro-coding-agents-vs-production-libraries", "markdown": "https://wpnews.pro/news/nl2repo-pro-coding-agents-vs-production-libraries.md", "text": "https://wpnews.pro/news/nl2repo-pro-coding-agents-vs-production-libraries.txt", "jsonld": "https://wpnews.pro/news/nl2repo-pro-coding-agents-vs-production-libraries.jsonld"}}