Benchgen

NL2Repo-Bench — Results

RankModelScore
1glm-5-358
2kimi-k358
3qwen3-8-max55.9
4glm-5-248.9
5qwen3-8-flash-next48.1
N

NL2Repo-Bench

1 phaseActive

Long-horizon coding benchmark — agents build a complete, installable Python library from a single NL requirements doc, scored by test pass rate.

Overview

NL2Repo-Bench

Category Metric Tasks Saturation Created

Paper GitHub

Quick answer: NL2Repo-Bench evaluates whether a coding agent can build an entire, installable Python software repository from a single natural-language requirements document and an empty workspace — no scaffolding, no file structure, no starter code. Agents are scored by the average test pass rate their generated repository achieves against a held-out test suite. Even the strongest models average below 40%.

At a Glance

What it tests: Long-horizon, zero-scaffold repository construction — architecture design, dependency management, multi-module implementation, and producing a fully installable Python library from one spec document.

Why it matters: Most coding benchmarks give agents an existing repo or a narrow function stub to fill in. NL2Repo-Bench isolates the much harder "0-to-1" problem — sustaining coherent planning and cross-file consistency over hundreds of interaction steps with no human decomposition of the task.

Known limitations: 104 tasks, Python-only. Judged primarily via automated test suites (rule-based + LLM-based checks to block gaming via unauthorized pip/curl calls), which can still be gamed by narrow test-passing behavior that doesn't reflect real code quality.

What NL2Repo-Bench Measures

Given only a natural-language requirements document and an empty workspace, an agent must independently design the software architecture, manage its own dependencies, implement multi-module logic, and produce a fully installable Python library — end to end, with no human in the loop to decompose the problem or supervise intermediate steps.

The benchmark's authors found that long-horizon repository generation remains largely unsolved even for frontier agents: the strongest models average below 40% test pass rate and rarely complete an entire repository correctly. Common failure modes include premature termination, loss of global coherence across files, fragile cross-file dependencies, and breakdowns in planning once the interaction horizon stretches past a few hundred steps.

Benchmark Specifications

FieldValue
Task categoryCoding / Long-horizon agent
MetricAverage % test pass rate against held-out test suite
Number of tasks104
OutputComplete, installable Python library per task
SaturationLow (strongest agents average <40%)
Created byJingzhe Ding, Shengda Long, Changxin Pu, Huan Zhou et al.
PaperarXiv:2512.12730

Benchmarks on Benchgen

Scores are sourced from Zhipu AI's GLM-5.3 launch blog (August 2026), which evaluated four models under a consistent protocol (temperature=1.0, top_p=1.0, max_new_tokens=64K, 1M context, with rule-based and LLM-based anti-gaming checks).

ModelScoreSourceDate
Kimi K358.0%Zhipu AI GLM-5.3 launch blog2026-08
GLM-5.358.0%Zhipu AI GLM-5.3 launch blog2026-08
Qwen3.8 Max55.9%Zhipu AI GLM-5.3 launch blog2026-08
GLM-5.248.9%Zhipu AI GLM-5.3 launch blog2026-08

Frequently Asked Questions

What is NL2Repo-Bench? A benchmark that tests whether a coding agent can build a complete, installable Python software repository from a single natural-language requirements document and an empty workspace, measuring the average test pass rate of the result.
What does a good score look like? Even the strongest models score below 40% in the original paper's evaluation, and the best scores reported on Benchgen so far are in the high-50s — the benchmark is far from saturated.
Who created NL2Repo-Bench? Jingzhe Ding, Shengda Long, Changxin Pu and co-authors, published on arXiv in December 2025 with code on GitHub under multimodal-art-projection/NL2RepoBench.