2026-03-05 · 专家 · 计算机视觉 · 机器学习 · 数据科学

SWE-CI: Evaluating Agent Capabilities in Maintaining Codebases via Continuous Integration

SWE-CI通过构建一个基于持续集成循环的代码库级别基准,首次提出了一种新的评估方法,用于衡量代理在长期代码演进过程中维护代码质量的能力。

更新于 2026-08-06。作者:Jialong Chen、Xander Xu、Hu Wei、Chuan Chen、Bing Zhao。

中文摘要

大型语言模型(LLM)驱动的代理在自动化软件工程任务方面表现出强大的能力,例如静态错误修复,这由SWE-bench等基准测试所证明。然而,在现实世界中,成熟软件的开发通常依赖于复杂的需求变更和长期的功能迭代——这是一个静态、单次修复范式无法捕捉的过程。为了弥合这一差距,我们提出了SWE-CI,这是第一个基于持续集成循环的代码库级基准,旨在将代码生成的评估范式从静态、短期功能正确性转向动态、长期可维护性。该基准包含100个任务,每个任务平均对应于一个跨越233天和71次连续提交的现实世界代码库的演变历史。SWE-CI要求代理通过数十轮分析和编码迭代系统性地解决这些任务。SWE-CI为代理在整个长期演变过程中维持代码质量的能力提供了宝贵的见解。

英文摘要

Large language model (LLM)-powered agents have demonstrated strong capabilities in automating software engineering tasks such as static bug fixing, as evidenced by benchmarks like SWE-bench. However, in the real world, the development of mature software is typically predicated on complex requirement changes and long-term feature iterations -- a process that static, one-shot repair paradigms fail to capture. To bridge this gap, we propose SWE-CI, the first repository-level benchmark built upon the Continuous Integration loop, aiming to shift the evaluation paradigm for code generation from static, short-term functional correctness toward dynamic, long-term maintainability. The benchmark comprises 100 tasks, each corresponding on average to an evolution history spanning 233 days and 71 consecutive commits in a real-world code repository. SWE-CI requires agents to systematically resolve these tasks through dozens of rounds of analysis and coding iterations. SWE-CI provides valuable insights into how well agents can sustain code quality throughout long-term evolution.

解读

一句话总结

SWE-CI通过构建一个基于持续集成循环的代码库级别基准,首次提出了一种新的评估方法,用于衡量代理在长期代码演进过程中维护代码质量的能力。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源