arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.25694cs.SEcs.AIcs.CL
收藏

面向软件工程智能体环境配置的过程级轨迹评估

Process-Level Trajectory Evaluation for Environment Configuration in Software Engineering Agents

Youtu-LLM Team, Tencent Youtu Lab(腾讯优设实验室);Sun Yat-sen University(中山大学);The Hong Kong Polytechnic University(香港理工大学)

Jiayi Kuang, Yinghui Li, Xin Zhang, Yangning Li, Di Yin, Xing Sun, Ying Shen, Philip S. Yu

AI总结:

针对软件工程智能体环境配置评估仅看端到端结果、难定位问题的现状,提出Enconda-bench基准,通过自动构建带真实README错误的任务,从过程级评估智能体多维度能力,发现智能体定位错误易但修正反馈难的问题。

摘要:

基于大语言模型的智能体在软件工程领域展现出应用潜力,但环境配置仍是瓶颈,原因在于人工投入大,且大规模高质量数据集稀缺。现有基准仅评估端到端的构建/测试成功率,无法明确智能体成败的环节与原因。我们提出环境配置诊断基准Enconda-bench,可对智能体在环境配置过程中的细粒度能力进行过程级轨迹评估,涵盖规划、感知驱动的错误诊断、反馈驱动的修复以及最终环境配置执行动作。我们的任务实例通过注入真实的README错误自动构建,并在Docker中验证,以实现可扩展的高质量评估。Enconda-bench将过程级分析与端到端可执行性相结合,能够开展超越总体成功率的能力评估。针对前沿大语言模型和智能体框架的评估显示,尽管智能体能够定位错误,但难以将反馈转化为有效修正,这限制了其端到端性能。据我们所知,Enconda-bench是首个为环境配置提供过程级内部能力评估的框架,可为改进软件工程智能体提供可落地的洞见。

英文摘要:

Large language model-based agents show promise for software engineering, but environment configuration remains a bottleneck due to heavy manual effort and scarce large-scale, high-quality datasets. Existing benchmarks assess only end-to-end build/test success, obscuring where and why agents succeed or fail. We introduce the Environment Configuration Diagnosis Benchmark, Enconda-bench, which provides process-level trajectory assessment of fine-grained agent capabilities during environment setup-planning, perception-driven error diagnosis, feedback-driven repair, and action to execute final environment configuration. Our task instances are automatically constructed by injecting realistic README errors and are validated in Docker for scalable, high-quality evaluation. Enconda-bench combines process-level analysis with end-to-end executability to enable capability assessments beyond aggregate success rates. Evaluations across state-of-the-art LLMs and agent frameworks show that while agents can localize errors, they struggle to translate feedback into effective corrections, limiting end-to-end performance. To our knowledge, Enconda-bench is the first framework to provide process-level internal capability assessment for environment configuration, offering actionable insights for improving software engineering agents.

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

↑