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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Lam, Man Ho, Wang, Chaozheng, Liu, Hange, Xiao, Jingyu, Li, Haau-sing, Huang, Jen-tse, Zhuo, Terry Yue, Lyu, Michael R.
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913127177650176
author Lam, Man Ho
Wang, Chaozheng
Liu, Hange
Xiao, Jingyu
Li, Haau-sing
Huang, Jen-tse
Zhuo, Terry Yue
Lyu, Michael R.
author_facet Lam, Man Ho
Wang, Chaozheng
Liu, Hange
Xiao, Jingyu
Li, Haau-sing
Huang, Jen-tse
Zhuo, Terry Yue
Lyu, Michael R.
contents Coding agents powered by large language models are increasingly expected to perform realistic software maintenance tasks beyond isolated issue resolution. Existing benchmarks have shifted toward realistic software evolution, but they rarely capture continuous maintenance at the granularity of package releases, where changes are bundled, shipped, and inherited by subsequent versions. We present SWE-Chain, a benchmark for evaluating agents on chained release-level package upgrades, where each transition builds on the agent's prior codebase. To produce upgrade specifications, we design a divide-and-conquer synthesis pipeline that aligns release notes with code diffs for each version transition, ensuring the requirements are grounded in actual code changes, informative to agents, and feasible to implement. SWE-Chain contains 12 upgrade chains across 9 real Python packages, with 155 version transitions and 1,660 grounded upgrade requirements. Across nine frontier agent-model configurations, agents achieve an average of 44.8% resolving, 65.4% precision, and 50.2% F1 under the Build+Fix regime, with Claude-Opus-4.7 (Claude Code) leading at 60.8% resolving, 80.6% precision, and 68.5% F1. These results show that SWE-Chain is both feasible and discriminative, and reveal that current agents still struggle to make correct upgrades across chained package releases without breaking existing functionality.
format Preprint
id arxiv_https___arxiv_org_abs_2605_14415
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgrades
Lam, Man Ho
Wang, Chaozheng
Liu, Hange
Xiao, Jingyu
Li, Haau-sing
Huang, Jen-tse
Zhuo, Terry Yue
Lyu, Michael R.
Software Engineering
Artificial Intelligence
Computation and Language
Coding agents powered by large language models are increasingly expected to perform realistic software maintenance tasks beyond isolated issue resolution. Existing benchmarks have shifted toward realistic software evolution, but they rarely capture continuous maintenance at the granularity of package releases, where changes are bundled, shipped, and inherited by subsequent versions. We present SWE-Chain, a benchmark for evaluating agents on chained release-level package upgrades, where each transition builds on the agent's prior codebase. To produce upgrade specifications, we design a divide-and-conquer synthesis pipeline that aligns release notes with code diffs for each version transition, ensuring the requirements are grounded in actual code changes, informative to agents, and feasible to implement. SWE-Chain contains 12 upgrade chains across 9 real Python packages, with 155 version transitions and 1,660 grounded upgrade requirements. Across nine frontier agent-model configurations, agents achieve an average of 44.8% resolving, 65.4% precision, and 50.2% F1 under the Build+Fix regime, with Claude-Opus-4.7 (Claude Code) leading at 60.8% resolving, 80.6% precision, and 68.5% F1. These results show that SWE-Chain is both feasible and discriminative, and reveal that current agents still struggle to make correct upgrades across chained package releases without breaking existing functionality.
title SWE-Chain: Benchmarking Coding Agents on Chained Release-Level Package Upgrades
topic Software Engineering
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2605.14415