AI
New Benchmark Tests AI Coding Agents by Reverse-Engineering Working Web Applications
ProgramDistill challenges AI systems to learn software features from functional reference apps rather than explicit instructions, revealing significant gaps in agent performance.
Evaluating coding agents typically relies on explicit requirements—bug reports, feature descriptions, or direct specifications. But real-world web development often demands a different skill: understanding how existing applications work by studying them in action, then replicating that behavior in incomplete codebases. A new benchmark from arXiv addresses this gap.
A More Realistic Test#
Researchers have introduced ProgramDistill, a benchmark that tasks AI coding agents with learning software features through interaction with fully functional reference applications. Rather than receiving instructions describing what to build, agents must observe working systems and reverse-engineer their functionality to implement it in partially constructed applications.
The benchmark breaks down applications into features of varying complexity, each paired with replayable behaviors that can be verified against a gold-standard patch. This setup mimics how developers often inherit legacy code or incomplete projects and must infer intended behavior from similar working systems.
Scale and Methodology#
The team deployed an automated pipeline called mine-craft-patch that discovered 1,975 verified behaviors spanning 26 real-world applications. The system then constructed 4,063 distinct tasks—all without manual labeling. This scale enables statistically robust evaluation while keeping benchmark construction efficient.
The tasks come in two variants:
- Full-application reconstruction: agents rebuild an entire application from a reference
- Partial-application reconstruction: agents restore missing functionality at varying depths, from simple single-layer restoration to complex eight-layer restoration
Performance Results#
Testing across nine frontier coding agents revealed significant performance spreads:
- On full-application tasks, GPT-6 Astra achieved 49.2% success, while Claude Opus 5 reached 28.8%
- Performance on partial-application tasks showed steep degradation: as restoration depth increased from 1 to 8 layers, Astra's success fell from 100% to 64.0%, and Claude Opus 5's dropped from 96% to 32%
The sharp decline illustrates how agents struggle as task complexity scales—a finding relevant for diagnosing their limitations and designing improvements.

