ZICQ
中 Log in / Sign up
Newsroom Agentic #coding agents #software engineering benchmarks #NL2Repo-Pro #feature-level acceptance #multilingual code generation

NL2Repo-Pro Shows Why Coding Agents Need Feature-Level Acceptance

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:NL2Repo-Pro reframes repository-scale code generation as a feature-acceptance problem. The benchmark contains 150 tasks drawn from real libraries with a median size of 74,000 lines of code, spanning five programming languages and 14 project types. Agents receive a dependency-layered library overview and per-feature specifications, then build each project from scratch without network access or visibility into the original tests. The paper introduces the Feature Acceptance Rate, or FAR: a feature


Core Finding

NL2Repo-Pro changes the unit of evaluation for repository-scale coding. Instead of asking only whether an agent completed a whole project, it asks whether each individual feature satisfies every test that directly exercises it. The abstract reports that Claude Opus 5.5 passes 87.2% of the hidden tests but achieves only a 61.7% Feature Acceptance Rate, with all features accepted in just 7 of 150 tasks. Coding agents can therefore generate substantial amounts of working code while still leaving systematic gaps in interfaces, dependency handling, or edge-case behavior.

How the Benchmark Works

The benchmark contains 150 tasks derived from real libraries, with a median size of 74,000 lines of code across five programming languages and 14 project types. Each task supplies a high-level overview that organizes features into dependency layers, followed by a separate specification for each feature. Agents must build the library from scratch, with no network access and no visibility into the original repository's tests.

The design addresses two weaknesses in existing repository-generation evaluation. First, production features depend on one another, so they cannot be treated as a bag of independent prompts. Second, a binary whole-task verdict discards information about partial delivery, while a conventional test-pass rate can overstate completeness when tests are unevenly distributed across features.

NL2Repo-Pro uses conjunctive feature acceptance:

accept(feature) = 1 if and only if every test directly exercising that feature passes

FAR = accepted features / total features

A feature therefore fails completely if even one directly relevant test fails. Test-pass rate effectively weights every test, whereas FAR gives each feature approximately equal weight and asks a more engineering-oriented question: is the requested behavior actually delivered?

Results: Similar Test Scores Hide Different Levels of Completeness

| System | Test pass rate | FAR | Tasks with every feature accepted | |---|---:|---:|---:| | Claude Opus 5.5 | 87.2% | 61.7% | 7/150 | | Three other frontier systems | Not disclosed | 22.5%—47.1% | Not disclosed |

The clearest comparison comes from 32 tasks on which Claude Opus 5.5 and GPT-6.1 Sol both passed at least 95% of the tests. Their test-pass rates differed by only 1.7 percentage points, but their FAR values differed by 16.2 points. A conventional pass-rate leaderboard would make the two systems look nearly equivalent; feature-level acceptance exposes a much larger delivery gap.

The abstract also examines the risk of test-name memorization. Across 44 repositories created in 2026, no system reproduced even 1% of the hidden test names. This does not rule out semantic contamination, but it reduces the likelihood that agents are merely identifying test identifiers and optimizing directly for them.

Why Test Pass Rate Can Overstate Completeness

A test-pass rate is effectively a weighted average over test cases. Features may contain very different numbers of tests. A simple feature backed by many shallow tests can raise the aggregate score substantially, while a feature with difficult boundary conditions fails completely if one important branch is missing.

Dependency layers magnify this effect. Upper-level features call multiple lower-level modules, so an incorrect signature, missing error path, or state synchronization defect can cause broad downstream failures. FAR exposes that dependency structure and distinguishes partial implementation from semantically complete delivery.

FAR also has clear costs. Its binary gate cannot show how much of a feature is correct, distinguish critical paths from secondary behavior, or measure code quality. A flaky test receives the same penalty as a fundamental logic error. Conversely, passing all direct tests does not guarantee acceptable performance, security, maintainability, packaging, or release readiness.

Engineering Cost and Scope

The main cost in repository-scale generation is not code completion itself. It is long-context management, cross-file modification, dependency ordering, repeated execution, and fault localization. With a median library size of 74,000 lines, agents must map specifications onto continuously changing code state; one early interface mistake can trigger extensive downstream rework.

The offline setup removes dependency retrieval, package lookup, documentation access, and code reuse, which reduces direct leakage. It also makes the task less representative of normal production development, where agents commonly consult external APIs, package registries, and project documentation. Results should therefore be interpreted as a measure of independent implementation ability rather than end-to-end engineering productivity.

The available abstract does not disclose repeated-run variance, confidence intervals, token consumption, wall-clock latency, tool-call cost, prompt budgets, test stability, or language-level results. Feature grading relies on the original repository's tests, while production delivery also requires packaging, CI configuration, security analysis, performance regression control, and long-term maintenance.

Evaluation Quality

NL2Repo-Pro has several credible design choices: real libraries, production-scale projects, multilingual coverage, strict feature-level grading, and a check for hidden-test-name leakage on repositories created in 2026. Comparing systems within the same task is also more informative than ranking them through unrelated leaderboards.

Nevertheless, this remains an author-run preprint. The abstract does not identify the author affiliations, full model configurations, external replication, or uncertainty estimates. The selection of the 150 libraries, hidden-test quality, feature-partition granularity, and difficulty balance across project types still require review of the full paper. Because FAR uses a strict conjunctive gate, test flakiness and ambiguous specifications can materially affect scores. Future reporting should include confidence intervals and breakdowns by language, project type, and dependency depth.

Practical Guidance for Developers

  • Report FAR alongside test-pass rate, static-analysis results, integration success, and defect density rather than treating one pass rate as repository completeness.
  • Convert feature specifications and dependencies into staged release gates so that failures are caught before downstream work begins.
  • Repair failed features with localized context instead of regenerating the entire repository.
  • Track tokens, tool calls, wall-clock time, human patches, and retries alongside quality metrics to measure real engineering cost.
  • Add security, performance, build, packaging, and maintainability checks before using benchmark results to justify production deployment.

The central conclusion is that coding agents can already complete most local work in a large repository, but most tests passing and every feature working are different claims. As coding tasks approach production-library scale, feature-level dependency testing provides a more meaningful signal than aggregate test-pass rates.


Source: ArXiv NLP/LLM (cs.CL) (2026-12-01)

— END —

Tags: #coding agents #software engineering benchmarks #NL2Repo-Pro #feature-level acceptance #multilingual code generation

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
Explore & Submit Works

Community Comments

Loading live comments and annotations…