Turning any GitHub Repository into a Programming Agent Environment
While Large Language Models’ coding capabilities have advanced rapidly, corresponding evaluation benchmarks on real-world programming setups are yet to catch up. Building a scalable and interactive testbed for evaluating general-purpose AI coding agents for real-world code has been challenging, particularly due to a lack of high-quality test suites available. In this work, we present Repository to Environment (R2E), a framework that can turn any GitHub repository into a test environment to evaluate the performance of code-generating systems, both static and interactive. We instantiate our framework to build the first large-scale benchmark, R2E-Eval, for building realistic environments for AI coding assistants. Our results demonstrate that even when SOTA models cannot generate correct solutions with advanced prompting techniques, they can effectively use environment feedback highlighting the need to move from static functional coding to an interactive programming paradigm. We hope our framework (and instantiated dataset) can motivate research directions by providing web-scale open-ended coding testbeds.
Contributors
Manish Shetty, Naman Jain, Tianjun Zhang, King Han, Koushik Sen, Ion Stoica
Publications
ICML 23 – R2E: Turning any Github Repository into a Programming Agent Environment