arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.23190cs.SEcs.AI
收藏

RAT: 通过完全自动化的环境配置实现RunAnyThing

RAT: RunAnyThing via Fully Automated Environment Configuration

Zhejiang University(浙江大学);Ant Group(蚂蚁集团)

Renhong Huang, Dongdong Hua, Yifei Sun, Sitao Ding, Hanyang Yuan, Daixin Wang, Yang Yang

AI总结:

本文提出RAT框架,用于在任意仓库上实现跨编程语言的全自动环境配置,通过多阶段流水线整合语言感知抽象、镜像初始化、专用配置工具集和稳健沙箱,并提出RATBench基准测试集,实验表明RAT在环境设置成功率上比强基线提升了36.1%。

摘要:

自动化仓库级别的软件工程任务是自主代码代理的基础挑战,主要由于可执行环境配置的难度。然而,手动配置仍然是劳动密集型的瓶颈,需要向完全自动化的环境配置过渡。现有方法往往依赖预定义的制品或局限于特定编程语言,限制了其在现实世界仓库中的适用性。在本文中,我们首先提出RAT(RunAnyThing),一个模块化且可扩展的代理框架,用于在任意仓库上实现跨编程语言的全自动配置。RAT采用多阶段流水线,整合语言感知抽象、镜像初始化、专用配置工具集和稳健沙箱。此外,为了实现严格评估,我们提出RATBench,一个反映现实世界仓库全面覆盖的基准测试集。大量实验表明,RAT实现了最先进的性能,比强基线在环境设置成功率(ESSR)上平均提高了36.1%。

英文摘要:

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 labor-intensive bottleneck, necessitating a transition toward fully automated environment configuration. Existing approaches often rely on pre-defined artifacts or are restricted to specific programming languages, limiting their applicability to diverse real-world repositories. In this paper, we first propose RAT (RunAnyThing), a modular and extensible agent framework for fully automated configuration across programming languages on arbitrary repositories. RAT adopts a multi-stage pipeline that integrates language-aware abstraction, image initialization, specialized configuration toolset, and robust sandbox. Furthermore, to enable rigorous evaluation, we propose RATBench, a benchmark reflects the comprehensive coverage of real-world repositories. Extensive experiments demonstrate that RAT achieves state-of-the-art performance, improving Environment Setup Success Rate (ESSR) by an average of 36.1% over strong baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑