arXiv:2505.20411cs.SEcs.CL2025-05NeurIPS被引 98

构建自动化流水线,生成2.1万条真实代码交互任务,解决编程代理评估中的数据污染问题。

SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents

  • 通过自动化抓取GitHub仓库,持续生成真实场景下的交互式编程任务。
  • 构建包含21,000个Python交互任务的SWE-rebench数据集,支持大规模强化学习训练。
  • 提出去污染评估基准,发现部分模型性能可能因数据污染被高估,适合研究者和开发者使用。

基于大语言模型的智能体在软件工程(SWE)任务中展现出巨大潜力,但该领域面临两大挑战:一是高质量训练数据稀缺,现有数据多为单次代码生成或人工小规模收集的交互任务,缺乏规模与多样性;二是静态基准易受污染,导致对快速演进模型的评估失真。为此,我们提出一种新型自动化、可扩展的流水线,从多样化的GitHub仓库中持续提取真实世界的交互式SWE任务。基于此,我们构建了公开的SWE-rebench数据集,包含超过21,000个基于Python的交互式任务,适用于大规模强化学习训练。同时,利用该方法持续供给新鲜任务,建立无污染的评估基准。我们在该基准上对比多种LLM表现,发现其结果相比SWE-bench Verified存在性能虚高,暗示部分模型性能可能受数据污染影响。

原文摘要 · Abstract (English)

LLM-based agents have shown promising capabilities in a growing range of software engineering (SWE) tasks. However, advancing this field faces two critical challenges. First, high-quality training data is scarce, especially data that reflects real-world SWE scenarios, where agents must interact with development environments, execute code and adapt behavior based on the outcomes of their actions. Existing datasets are either limited to one-shot code generation or comprise small, manually curated collections of interactive tasks, lacking both scale and diversity. Second, the lack of fresh interactive SWE tasks affects evaluation of rapidly improving models, as static benchmarks quickly become outdated due to contamination issues. To address these limitations, we introduce a novel, automated, and scalable pipeline to continuously extract real-world interactive SWE tasks from diverse GitHub repositories. Using this pipeline, we construct SWE-rebench, a public dataset comprising over 21,000 interactive Python-based SWE tasks, suitable for reinforcement learning of SWE agents at scale. Additionally, we use continuous supply of fresh tasks collected using SWE-rebench methodology to build a contamination-free benchmark for agentic software engineering. We compare results of various LLMs on this benchmark to results on SWE-bench Verified and show that performance of some language models might be inflated due to contamination issues.

软件工程智能体评估数据污染自动化流水线

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。