# 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.

- Category: Code
- Readiness level: III (Open source) on Science Underway's four-step scale, as proposed
- Published: 2026-12-01
- Editor: Stefan Perdal
- URL: https://scienceunderway.com/articles/claude-opus-5-5-builds-most-of-a-code-library-rarely-all-of-it

## The study

NL2Repo-Pro: Benchmarking Multilingual Production-Scale Library Development Feature by Feature (preprint, not peer reviewed). arXiv 2611.38050. https://arxiv.org/abs/2611.38050

## At a glance

- What it shows: Four leading AI coding systems tried to rebuild 150 real software libraries from written instructions. The best, Claude Opus 5.5, got about 62% of features fully working. It delivered a completely working library only 7 times out of 150.
- What it does not show: It does not show whether the rebuilt libraries would be secure, fast or easy to maintain. It also cannot separate each AI model from the agent software it ran in.
- Why it matters: Counting passed tests makes AI-written software look closer to finished than it is. Counting working features gives a more honest picture of how much still needs a human.

## What 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 the article (what it means, limits, what to watch) is free for members: https://scienceunderway.com/articles/claude-opus-5-5-builds-most-of-a-code-library-rarely-all-of-it

## 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.

---
Source: Science Underway, https://scienceunderway.com/. Please link to the article when you cite it.
