ProgramDistill: From Interactive Web Apps to Verifiable Reference-Guided SWE Tasks

Jeonghye Kim, Minseon Kim, Young Jin Kim, Matheus Pereira, Marc-Alexandre Côté, Alessandro Sordoni, Xingdi Yuan, Zhengyan Shi

arXiv:2609.18805 · 2026-09-17 공개 · arXiv · PDF

coding-agents curriculum-training reference-guided programdistill swe-tasks web-apps patch-mining replay-verified

Abstract

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.

한국어 요약

한 줄 요약

ProgramDistill은 실행 가능한 웹 애플리케이션에서 추출한 4,063개의 SWE 태스크로, GPT-6 Astra가 49.2% 성공률을 기록한 벤치마크이다.

핵심 기여도

핵심 아이디어

기존 코드 생성 에이전트는 주로 명시적인 지시나 이슈를 기반으로 평가되지만, 실제 웹 개발에서는 실행 가능한 참조 애플리케이션에서 행동을 추론해야 한다. ProgramDistill은 이 문제를 해결하기 위해 실행 가능한 행동(trace)를 기반으로 SWE 태스크를 생성한다. 이는 **application-to-task factorization**과 **reference-to-current distillation**의 두 축을 통해 정의된다.

기술적 접근법

주요 결과

의의 및 한계

ProgramDistill은 참조 애플리케이션 기반의 코드 생성 능력을 평가하는 첫 번째 대규모 벤치마크로, **behavior-to-code** 설정을 실용적 웹 개발 환경에 맞게 확장했다. 또한, **복원 깊이**라는 새로운 평가 축을 도입하여, 단일 행동 복원에서 전체 애플리케이션 복원까지의 성능 변화를 정량적으로 분석할 수 있다.

그러나 일부 애플리케이션(예: Baserow, Reactive Resume)은 복잡한 상태 관리와 다양한 UI 요소로 인해 성능이 저하되며, 이는 모델이 다양한 상호작용 패턴을 학습하는 데 한계가 있음을 시사한다. 또한, 일부 실패 사례는 **관찰되지 않았거나**, **잘못된 상태/결과로 구현된 경우**가 포함되어 있어, 모델의 관찰 및 검증 능력도 중요한 평가 요소임을 보여준다.

실용적 활용

ProgramDistill은 웹 개발 환경에서 참조 애플리케이션을 기반으로 코드를 생성하는 에이전트를 평가하고 훈련하는 데 활용할 수 있다. 특히, **curriculum-based training**에 적합하며, **trajectory distillation**이나 **강화 학습**을 통해 복잡한 워크플로우를 학습할 수 있다. 또한, 웹 개발자 도구나 CI/CD 플랫폼에 통합하여, 기존 애플리케이션의 기능을 자동으로 분석하고 코드를 생성하는 데 사용될 수 있다.