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

Ibragim Badertdinov, Alexander Golubev, Maksim Nekrashevich, Anton Shevtsov, Simon Karasik, Andrei Andriushchenko, Maria Trofimova, Daria Litvintseva, Boris Yangel

arXiv:2505.20411 · 2026-09-12 공개 · arXiv · PDF

reinforcement-learning llm-agents benchmarking software-engineering python github-repositories swe-rebench task-collection

Abstract

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.

한국어 요약

한 줄 요약

SWE-rebench는 GitHub에서 자동으로 21,000개 이상의 Python 기반 SWE 작업을 추출하고, 오염되지 않은 평가를 제공하는 첫 번째 자동화된 파이프라인과 데이터셋이다.

핵심 기여도

핵심 아이디어

SWE-rebench는 기존의 수작업 또는 한 번성 코드 생성에 의존하는 데이터셋의 한계를 극복하기 위해, GitHub 저장소에서 자동으로 실행 가능한 SWE 작업을 추출하는 파이프라인을 제안한다. 이는 강화학습 기반 SWE 에이전트 학습에 적합한 대규모 인터랙티브 작업 데이터를 제공한다. 핵심 아이디어는 **자동화된 환경 구성**, **빌드 설정**, **테스트 검증** 단계를 통한 작업 추출이다. 예를 들어, Qwen2.5-72B-Instruct 모델을 사용하여 설치 지침을 생성하고, SWE-bench Verified 라벨을 기반으로 LLM을 미세조정하여 작업의 복잡도와 관련성을 예측한다.

기술적 접근법

주요 결과

의의 및 한계

SWE-rebench는 대규모, 인터랙티브 SWE 작업 데이터 부족 문제를 해결하고, 오염되지 않은 평가를 가능하게 하여 LLM 기반 SWE 에이전트 연구를 촉진한다. 특히, 강화학습 기반 학습에 적합한 데이터를 제공하며, 공개 리더보드를 통해 모델 간 공정한 비교를 지원한다. 그러나, **자동화된 작업 품질 평가**는 인간의 세부 판단을 대체할 수 없어 일부 작업이 불완전하거나 해결 불가능할 수 있다. 또한, 현재는 Python에만 국한되어 있으며, 다른 언어 확장이 필요하다.

실용적 활용

SWE-rebench는 오픈소스 LLM 기반 SWE 에이전트의 학습 및 평가에 활용될 수 있으며, 특히 강화학습 기반의 인터랙티브 작업 학습에 적합하다. 또한, 지속적인 데이터 업데이트를 통해 빠르게 발전하는 모델의 신뢰성 있는 평가를 지원할 수 있다.