Morning Edition · Sunday, June 28, 2026
In a New Benchmark, an AI Agent Rebuilds a 60,000-Line Program From Its Behavior Alone
Epoch AI and METR's MirrorCode measures whether models can reconstruct working software they cannot read, and the early scores are higher than program-synthesis researchers expected.
Epoch AI, working with METR, has released MirrorCode, a benchmark that tests whether a model can rebuild a complete application without seeing its source code. The agent receives a compiled binary it cannot read, along with documentation and a test suite, then must reproduce the program so that its output matches the original exactly, including on held-out tests. The framing, as the Russian-language channel AI ML Big Data put it, is direct: can large language models rewrite software from scratch?
The main result is that Claude Opus 4.7 scored 56 percent across 25 target programs spanning Unix utilities, serialization tools, bioinformatics, interpreters, and cryptography. On one task, reimplementing a 16,000-line bioinformatics toolkit, it passed 99.95 percent of tests, work the team estimates would take a human engineer between two and seventeen weeks. The model finished in roughly 14 hours for about $251. It also reconstructed pkl, a configuration language of roughly 60,000 lines, the largest autonomous coding result documented in a public evaluation.
The balanced reading lies in what the benchmark does and does not show. It confirms that agents can now sustain goal-directed work across task horizons measured in days, not minutes, on small-to-medium codebases with clear automated tests that define correct output (test oracles). It also confirms the ceiling. On large projects, success drops sharply, and MirrorCode's design favors programs with deterministic, fully specified behavior, the easiest case for copying a program's behavior. Real software, with ambiguous requirements and no exhaustive test suite, remains beyond current models.
What this means
A 56 percent score on week-scale coding tasks is evidence that the frontier of autonomous coding has moved from snippets to whole programs. The result is bounded by exactly the conditions that rarely hold in production: a complete test oracle and a clean specification. For engineering organizations, the near-term value is in reconstruction and migration tasks, where behavior is observable and testable, not in building new systems from scratch. The benchmark also gives the oversight debate a concrete number to track as models improve on it.
What to watch
- How successor models score on MirrorCode's large-project tier, since the binding limit is project size, not whether the approach works at all.
- Whether the exact-match-on-tests methodology is examined for behavioral-cloning shortcuts, which would show whether the scores reflect genuine reconstruction or test-suite overfitting.
Observations to monitor, not financial advice.
Synthesized from: Polylog editors · Epoch AI · METR
Part of a tracked trend
Agentic AI Moves Into Enterprise and Government Workflows
Over the next 3-9 months, AI agents move from demos into real enterprise and public-sector workflows, with deployment success tied to domain and task understanding more than raw model capability.
More from this edition
- AI Revenue Reaches $110 Billion and, for a Second Quarter, Outpaces the Cost of the Buildout
- Washington Orders Anthropic to Cut Off Two Models From All Foreign Nationals
- Open-Vocabulary Segmentation Reaches Production as Apps Build on Meta's SAM 3
- DeepSeek Open-Sources DSpark, Claiming Up to 4x Inference Throughput for V4
- Europe Picks an Italian Startup to Build a 400-Billion-Parameter Sovereign Model
- Alibaba Sues the Pentagon to Shed a 'Chinese Military Company' Label
- Anthropic Puts Claude Inside Slack as a Tagged Teammate
- Anthropic Asks Washington for Power to Block Dangerous AI Deployments
- Meta's Muse Spark Reaches Smart Glasses, Built on a Rebuilt Stack
- Hassabis Says AI Is Getting Good at Reconstructing What People See, and Imagine
- Chamath Accuses AI Leaders of Using Doom Warnings as a Fundraising Tactic