atlas

Research map / Multi-agent systems and games / LLM agents

Automated Benchmark Generation for Repository-Level Coding Tasks

ICML 2025 · Multi-agent systems and games › LLM agents · approach: Robust and efficient agent execution · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Introduces SetupAgent, an LLM-driven system that automatically sets up historically accurate Python environments and parses test results, and uses it to build SWEE-Bench and SWA-Bench for repository-level coding evaluation.

Problem

Repository-level coding benchmarks like SWE-Bench require heavy manual effort to set up historically accurate execution environments, which limits the number of repositories and makes benchmarks prone to overfitting and contamination.

Approach

An LLM-driven setup agent extracts installation and test commands from repo files and CI configs, iteratively repairs them in clean Docker containers, validates them via test pass rates, and enforces historical dependency versions via uv, enabling automatic creation of SWE-Bench-style datasets over many repositories.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SetupAgent for automated historically accurate setupRepository benchmark generation · SWA-Benchinstance setup successHelped
Use GPT-4o instead of GPT-4o-miniAutoCodeRover v2 · SWEE-Benchaccuracy: 9.0% -> 15.1%Helped
Use GPT-4o instead of GPT-4o-miniAutoCodeRover v2 · SWE-Benchaccuracy: 8.2% -> 16.6%Helped
Use GPT-4o instead of GPT-4o-miniAutoCodeRover v2 · SWA-Benchaccuracy: 8.4% -> 10.2%Helped
Use Haiku-3.5 instead of GPT-4o-miniAutoCodeRover v2 · SWEE-Benchaccuracy: 9.0% -> 12.9%Helped
Use Haiku-3.5 instead of GPT-4o-miniAutoCodeRover v2 · SWE-Benchaccuracy: 8.2% -> 13.6%Helped
Use Haiku-3.5 instead of GPT-4o-miniAutoCodeRover v2 · SWA-Benchaccuracy: 8.4% -> 10.8%Helped
Add CI/CD configuration files to the setup context rather than use only text files (ablation)SetupAgent · SWA-Benchsuccessfully extracted environments: 15 -> 44Helped
Add iterative improvement (ablation)SetupAgent · SWA-Benchsuccessfully extracted environments: 11 -> 44Helped
Evaluate on SWA-Bench rather than SWE-BenchAutoCodeRover v2 with GPT-4o · SWA-Bench vs SWE-Benchaccuracy after knowledge cutoff: 12.2% -> 7.2%Hurt
Evaluate on SWEE-Bench rather than SWE-BenchAutoCodeRover v2 with GPT-4o-mini · SWEE-Benchaccuracy: 8.2% -> 10.0%No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: SWE-Bench PyPI top projects GitHub PRs from SWA and SWEE repositories

Benchmarks: SWE-Bench SWA-Bench SWEE-Bench

Metrics: resolution rate (accuracy) setup success rate Spearman correlation p-value

Baselines: OpenHands AutoCodeRover v2 ZeroShot (Oracle) ExecutionAgent

Builds on: SWE-Bench R2E OpenHands AutoCodeRover

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy