SEAIMar 10, 2025

Automated Benchmark Generation for Repository-Level Coding Tasks

ETH Zurich
arXiv:2503.07701v124 citationsh-index: 64ICML
Originality Incremental advance
AI Analysis

This work addresses the problem of distributional mismatch in code agent evaluation for researchers and developers, though it is incremental as it builds upon existing benchmark frameworks.

The authors tackled the challenge of limited and potentially unrepresentative benchmarks for code agents by introducing SetUpAgent, an automated system for generating repository-level coding benchmarks, which revealed significant distributional differences and up to 40% lower agent success rates compared to existing benchmarks.

Code Agent development is an extremely active research area, where a reliable performance metric is critical for tracking progress and guiding new developments. This demand is underscored by the meteoric rise in popularity of SWE-Bench. This benchmark challenges code agents to generate patches addressing GitHub issues given the full repository as context. The correctness of generated patches is then evaluated by executing a human-written test suite extracted from the repository after the issue's resolution. However, constructing benchmarks like SWE-Bench requires substantial manual effort to set up historically accurate execution environments for testing. Crucially, this severely limits the number of considered repositories, e.g., just 12 for SWE-Bench. Considering so few repositories, selected for their popularity runs the risk of leading to a distributional mismatch, i.e., the measured performance may not be representative of real-world scenarios potentially misguiding development efforts. In this work, we address this challenge and introduce SetUpAgent, a fully automated system capable of historically accurate dependency setup, test execution, and result parsing. Using SetUpAgent, we generate two new datasets: (i) SWEE-Bench an extended version of SWE-Bench encompassing hundreds of repositories, and (ii) SWA-Bench a benchmark focusing on applications rather than libraries. Comparing these datasets to SWE-Bench with respect to their characteristics and code agent performance, we find significant distributional differences, including lower issue description quality and detail level, higher fix complexity, and most importantly up to 40% lower agent success rates.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes