Claude Opus 5.5 builds most of a code library, rarely all of it
A new benchmark asks AI coding agents to rebuild real software libraries from written requirements alone. The best system passed 87% of hidden tests, yet more than a third of its features were still broken.
scienceunderway.com/articles/claude-opus-5-5-builds-most-of-a-code-library-rarely-all-of-it

AI illustrationWhat the study shows
The authors built a benchmark of 150 tasks. Each task is a real open-source library in Python, Go, Rust, Java or JavaScript. A typical library has about 74,000 lines of code. A coding agent, an AI system that writes and runs code on its own, must rebuild the library from scratch.
The agent gets an overview document and one specification per feature. The overview groups features into layers, so later features build on earlier ones. The agent works offline for up to ten hours. It never sees the original tests.
Those hidden tests then grade the result. The main score is the share of features whose tests all pass, which the authors call the Feature Acceptance Rate. Each feature counts once, however many tests it has.
The authors report that Claude Opus 5.5, running in Claude Code, did best at about 62%. GPT-6.1 Sol in Codex CLI reached 47%. DeepSeek V4.1 Flash and Grok 4.7, both in Claude Code, reached 38% and 23%. The ranking was the same in all five languages.
The usual test pass rate told a rosier story. Claude passed 87% of tests. On 32 tasks where Claude and GPT both passed nearly all tests, their pass rates were almost equal, but their feature scores differed by 16 points.
Features deep in the dependency chain failed more often. About 29% of features worked for none of the four systems. The work is a preprint and has not been peer reviewed.
Our reading
In our reading, the most useful result is the gap between tests passed and features working. A library where 87% of tests pass sounds nearly done. Yet in a typical task, more than a third of its features had at least one failing test. For anyone shipping software, a feature that half works is a feature that does not work.
The authors also check whether the top system simply remembered code it saw in training. On older repositories, Claude Opus 5.5 sometimes wrote names of tests it was never shown, and about half its code lines matched the original. On repositories created in 2026, these signs faded: no system wrote even 1% of the hidden test names. Claude still ranked first there, but its lead over GPT fell from about 22 points to about 7.
We think that shrinking lead is the second headline. Benchmarks built on old, popular code can reward memory as well as skill. The authors are careful here: they say task differences between age groups also play a part, and features Claude copied more were not accepted more often.
The rest of this story is for members. Membership is free: read it at scienceunderway.com/articles/claude-opus-5-5-builds-most-of-a-code-library-rarely-all-of-it
Read the rest of this story
Membership is free. You get every article in full, and can save stories and follow topics.
We send a sign-in link, no password needed. Already a member? Sign inReadiness assessment
| Level | Status | Evidence |
|---|---|---|
| I Lab only | Met | The benchmark is fully built and run on 150 tasks with 600 graded runs. |
| II Benchmarked | Met | Public benchmark results are reported for four frontier systems, with bootstrap confidence intervals and per-task scores (Table 8). |
| III Open source | Met | The dataset is released on Hugging Face (Tokenwave-AI/NL2Repo-Pro). Each task is a Harbor task directory with Docker images, hidden tests, the feature mapping and a verifier. |
| IV In production | Not yet | The paper documents no use by a named outside organisation, for example in model evaluations or leaderboards. |
What would move it up
Documented adoption by a named model developer or evaluation organisation, such as reporting NL2Repo-Pro FAR in official model evaluations or running a maintained public leaderboard.
The study
Heli Qi, Minghao Liu, Jiarui Liu et al.. NL2Repo-Pro: Benchmarking Multilingual Production-Scale Library Development Feature by Feature. arXiv, 25 November 2026. Read the paper
Notes
- The paper: Qi et al., NL2Repo-Pro: Benchmarking Multilingual Production-Scale Library Development Feature by Feature, arXiv preprint, November 2026. Source
- Released task data on Hugging Face. Source
- Project website. Source
- Exact figures (Table 3): Feature Acceptance Rate 61.7% (Claude Opus 5.5), 47.1% (GPT-6.1 Sol), 37.7% (DeepSeek V4.1 Flash), 22.5% (Grok 4.7). Test pass rates 87.2%, 81.8%, 73.5%, 51.4%.
- On 32 tasks where Claude Opus 5.5 and GPT-6.1 Sol both passed at least 95% of tests, pass rates differed by 1.7 points and feature scores by 16.2. Claude's lead over GPT was 22.2 points on repositories from 2020 or earlier and 7.3 on those created in 2026.
- GPT-6.1 Sol five-run study: mean score per run 47.0% to 49.1%; 36.9% of features passed in some runs only; best of five 57.5% against 47.7% for a single run on average.
Edited and signed by
Stefan PerdalFounder. Twenty-five years of building digital products.197 stories editedStefan read the study, set the readiness level and approved this story. An AI system found the paper and wrote the first draft.
How this was made
An AI model read the study and wrote this article in the structure Science Underway uses. An editor reviewed it and approved it for publication. Check the original study before you rely on the details.
How we workNo corrections


