Metraipolis › archive › dc_62208ded8ff0
A Jagged Frontier: Evaluating Robustness of Code Agents to Semantics-Preserving Transformations — arXiv:2608.18389
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.18389
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T11:49:51.464Z
- SHA-256 of the archived text
59db8d3a9962b6c202f9ccf6203faafbf20578974c8b030f6e6720eed8014e8d- Stable URL of this page
https://metraipolis.com/documento/dc_62208ded8ff0
How to cite
A Jagged Frontier: Evaluating Robustness of Code Agents to Semantics-Preserving Transformations — arXiv:2608.18389 — arXiv (en), https://arxiv.org/abs/2608.18389 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_62208ded8ff0 (Metraipolis archive dc_62208ded8ff0, sha256 59db8d3a9962b6c202f9ccf6203faafbf20578974c8b030f6e6720eed8014e8d)
BibTeX
@misc{dc62208ded8ff0,
title = {A Jagged Frontier: Evaluating Robustness of Code Agents to Semantics-Preserving Transformations — arXiv:2608.18389},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.18389},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_62208ded8ff0; sha256 59db8d3a9962b6c202f9ccf6203faafbf20578974c8b030f6e6720eed8014e8d},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.18389. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
AI code agents are increasingly deployed to resolve real software issues, yet their reliability under superficial code variations remains poorly understood. We evaluate whether coding agents that repair repository-level issues remain reliable when the surrounding codebase is rewritten into a semantically equivalent form. We introduce a random variant sampler that applies common semantics-preserving transformations (SPTs) - spanning control-flow rewrites, dead-code injection, and identifier renaming - to produce perturbed variants. We evaluate two agentic scaffolds (mini-SWE agent and OpenCode) each backed by one of four frontier models (Claude Opus 4.5, Kimi K2.5, MiniMax M2.5, and Qwen 3.6-27B) across instances drawn from SWE-bench Verified and SWE-bench Pro. For each instance, the agent is run multiple times on the unperturbed and perturbed variants, yielding paired resolve-rate estimates that isolate the perturbation effect from intrinsic stochasticity. We find small degradation in most configurations: up to 6.7 percentage points mean resolve-rate drop in the most affected configurations with statistically significant degradations in 6 of 16 configurations of model, scaffold, and dataset. Crucially, no single model ranking by robustness holds across scaffolds - Qwen is among the most robust under mini-SWE agent on SWE-bench Verified yet the most brittle under OpenCode - revealing a jagged robustness frontier. The simpler scaffold (mini-SWE agent) is more robust to perturbation. Our results demonstrate that even top frontier models are susceptible to semantics-preserving perturbations although the effect is not uniform, raising concerns about the deployment reliability of AI code agents in diverse real-world codebases. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-21 in cs.SE). Categorie arXiv: Artificial Intelligence (cs.AI) ; Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2608.18389 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T11:48:10.197Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-08-21?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).