ProgramDistill:从交互式 Web 应用到可验证的参考引导 SWE 任务
研究论文 · 2026/09/17
编码智能体通常通过问题或指令来指定期望行为进行评估。然而在实际网页开发中,智能体可能需要从可运行的软件中推断行为,并在不完整的应用中实现。我们提出 ProgramDistill,一个评估编码智能体的基准,其任务是通过与功能完整的参考应用交互来发现功能。我们通过将应用分解为不同粒度的功能来构建 ProgramDistill,每个功能关联可通过其黄金补丁执行的可重放行为。我们的流程 mine-craft-patch 在 26 个应用中发现了 1,975 个可重放验证的行为,并在无人工干预下构建了 4,063 个任务。在九个前沿编码智能体中,GPT-6 Astra 和 Claude Opus 5 在完整应用重建的累积工作流上分别达到 49.2% 和 28.8% 的成功率。在部分应用重建中,随着恢复深度从 1 增加到 8,成功率分别从 100% 降至 64.0% 和从 96% 降至 32%。因此,ProgramDistill 提供了一个可扩展、难度可控的基准,用于评估和诊断编码智能体,并为未来基于课程的学习提供了自然基础。
该工作提出了一个可扩展、难度可控的基准,用于评估编码智能体从交互式参考应用中推断行为的能力,并揭示了当前前沿模型在部分应用重建中的显著性能下降,为未来课程式训练提供了基础。
Coding agents are typically evaluated with desired behavior specified through issues or instructions. In practical web development, however, agents may need to infer behavior from working software and implement it in an incomplete application. We introduce ProgramDistill, a benchmark evaluating coding agents on features discovered through interaction with fully functional reference applications. We build ProgramDistill by factorizing applications into features of different granularities, each associated with replayable behaviors executable via its gold patch. Our pipeline, mine-craft-patch, discovers 1,975 replay-verified behaviors across 26 applications and constructs 4,063 tasks without human intervention. Across nine frontier coding agents, GPT-6 Astra and Claude Opus 5 achieve 49.2% and 28.8% success on cumulative workflows in full-application reconstruction. In partial-application reconstruction, success falls from 100% to 64.0% and from 96% to 32% as restoration depth increases from 1 to 8. ProgramDistill thus provides a scalable benchmark with controlled difficulty for evaluating and diagnosing coding agents, and a natural basis for future curriculum-based training.