paper-with-me

Papers

Repo2Run: Automated Building Executable Environment for Code Repository at Scale

2025-02-19 · Ruida Hu, Chao Peng, Xinchen Wang, Junjielong Xu, Cuiyun Gao

Scaling up executable code data is significant for improving language models' software engineering capability. The intricate nature of the process makes it labor-intensive, time-consuming and expert-knowledge-dependent to build a large number of executable code repositories, limiting the scalability of existing work based on running tests. The primary bottleneck lies in the automated building of test environments for different repositories, which is an essential yet underexplored task. To mitigate the gap, we introduce Repo2Run, the first LLM-based agent aiming at automating the building of executable test environments for any repositories at scale. Specifically, given a code repository, Repo2Run iteratively builds the Docker image, runs unit tests based on the feedback of the building, and synthesizes the Dockerfile until the entire pipeline is executed successfully. The resulting Dockerfile can then be used to create Docker container environments for running code and tests. We created a benchmark containing 420 Python repositories with unit tests for evaluation. The results illustrate that Repo2Run achieves an 86.0% success rate, outperforming SWE-agent by 77.0%. The resources of Repo2Run are available at https://github.com/bytedance/Repo2Run.

📄 PDF Abstract BibTeX arXiv:2502.13681

Code (1)

bytedance/repo2run 공식 구현

Similar Papers 제목 키워드 기반

RAT: RunAnyThing via Fully Automated Environment Configuration

2026-04-25 · Renhong Huang, Dongdong Hua, Yifei Sun, Sitao Ding 외 arxiv

Automating repository-level software engineering tasks is a foundational challenge for autonomous code agents, largely due to the difficulty of configuring executable environments. However, manual configuration remains a…

Toward Executable Repository-Level Code Generation via Environment Alignment

2026-04-04 · Ruwei Pan, Junlei Shen, Linhao Wu, Yueheng Zhu 외 arxiv

Large language models (LLMs) have achieved strong performance on code generation, but existing methods still struggle with repository-level code generation under executable validation. Under this evaluation setting, succ…

Code Generation

AutoP2C: An LLM-Based Agent Framework for Code Repository Generation from Multimodal Content in Academic Papers

2025-04-28 · Zijie Lin, Yiqing Shen, Qilin Cai, He Sun 외

Machine Learning (ML) research is spread through academic papers featuring rich multimodal content, including text, diagrams, and tabular results. However, translating these multimodal elements into executable code remai…

Code Generation

Toward Scalable Automated Repository-Level Datasets for Software Vulnerability Detection

2026-03-18 · Amine Lbath arxiv

Software vulnerabilities continue to grow in volume and remain difficult to detect in practice. Although learning-based vulnerability detection has progressed, existing benchmarks are largely function-centric and fail to…

Vulnerability Detection

FeatureBench: Benchmarking Agentic Coding for Complex Feature Development

2026-02-11 · Qixing Zhou, Jiacheng Zhang, Haiyang Wang, Rui Hao 외 arxiv

Agents powered by large language models (LLMs) are increasingly adopted in the software industry, contributing code as collaborators or even autonomous developers. As their presence grows, it becomes important to assess …