NeurIPS 2026QuestionsPapersAreasAboutMarkdown

SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgrades

Man Ho Lam, Chaozheng Wang, Hange Liu, Jingyu Xiao, Haau-Sing Li, Jen-Tse Huang, Terry Yue Zhuo, Michael R Lyu

NeurIPS page · Open on the map

Category: LLM Agents, Evals & Benchmarks › Verified Code Synthesis and Testing · Type: benchmark or dataset · Keywords: coding agents, software maintenance, package upgrade, benchmark, evaluation

Areas: Code & Coding Agents › Code Verification › Coding agent benchmarks; AI Agents › Agent Benchmarking › Coding agent benchmarks; Evaluation & Benchmarks › Language Model and Agent Benchmarks › Software Engineering Benchmarks; Benchmarks for LLMs & Agents › Cross-Domain Agent Evaluation › Coding Agent Benchmarks

Summary

SWE-Chain is a benchmark for evaluating coding agents on chained release-level package upgrades, featuring 12 upgrade chains across 9 Python packages and 155 version transitions.

Explained to a 5-year-old

Some computer programs use helpers called coding agents to fix problems in software. These helpers are often tested by asking them to fix one small issue at a time. But real software often needs many upgrades that build on each other, like updating a library many times. The paper creates a new test that gives agents many upgrade steps from real Python packages to try. The test shows that the helpers can do some upgrades but still sometimes break the code.

Explained to a 5-year-old, longer

People write computer programs that help fix bugs automatically. These helpers are called coding agents and are often tested by giving them a single problem to solve. In real life, software often needs many updates that depend on each other, like updating a library many times in a row. The paper describes a new way to test these helpers on many chained upgrades, where each upgrade builds on the previous one. They used real Python packages, which are collections of code that programmers use. The test includes twelve different upgrade chains across nine packages, making a total of 155 version changes. Each upgrade step is based on real release notes and actual code changes, so it looks like real work. The helpers are asked to read the upgrade description and then modify the code to make the upgrade work. After trying, the researchers measured how often the helpers solved the upgrade, how accurate they were, and how well their answers matched the correct solution. On average, the helpers solved about 45% of the upgrades, were about 65% accurate, and had an overall score of about 50%. One particular helper called Claude-Opus-4.7 (Claude Code) performed the best, solving about 61% of the upgrades. The results show that while helpers can handle many upgrades, they still sometimes break the existing code, indicating room for improvement.

For a technical reader

The paper introduces a benchmark that evaluates large language model-based coding agents on realistic, chained package upgrades. It uses a synthesis pipeline to create upgrade specifications from release notes and code diffs, then measures agent performance on 155 version transitions across real Python packages. Results show moderate success rates (≈45% resolving) with the best agent achieving ~61% resolving, highlighting both the feasibility of the benchmark and the current limitations of agents in maintaining code integrity.

Problem

Coding agents need to handle continuous software maintenance tasks that involve upgrading packages across chained releases, where each upgrade builds on previous changes, but existing benchmarks do not capture this granularity.

Method

The authors generate upgrade specifications by aligning release notes with code diffs for each version transition using a divide-and-conquer synthesis pipeline, then evaluate agents on chained upgrade tasks.

Results

Agents achieve an average of 44.8% resolving, 65.4% precision, and 50.2% F1, with Claude-Opus-4.7 (Claude Code) reaching 60.8% resolving, 80.6% precision, and 68.5% F1. The benchmark is feasible and discriminative, yet agents still struggle to avoid breaking functionality.

Contributions

The paper introduces a benchmark for chained release-level package upgrades, a synthesis pipeline to generate grounded upgrade specifications, and an empirical evaluation across multiple agent models.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction