Metraipolis › archive › dc_42a9259f7584

Skip the Compressor: Coding Agents Fix More Issues When They Pick Whole Files — arXiv:2610.21073

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.21073
License (as archived)
CC0-1.0
Archived
2026-10-27T07:59:19.792Z
SHA-256 of the archived text
162165a27de1fa5273c02c5db158c63f84fd55e3a4839be97597bca17a393371
Stable URL of this page
https://metraipolis.com/documento/dc_42a9259f7584

How to cite

Skip the Compressor: Coding Agents Fix More Issues When They Pick Whole Files — arXiv:2610.21073 — arXiv (en), https://arxiv.org/abs/2610.21073 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_42a9259f7584 (Metraipolis archive dc_42a9259f7584, sha256 162165a27de1fa5273c02c5db158c63f84fd55e3a4839be97597bca17a393371)
BibTeX
@misc{dc42a9259f7584,
  title = {Skip the Compressor: Coding Agents Fix More Issues When They Pick Whole Files — arXiv:2610.21073},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.21073},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_42a9259f7584; sha256 162165a27de1fa5273c02c5db158c63f84fd55e3a4839be97597bca17a393371},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.21073. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

A coding agent works on repositories that can be far larger than its context window can hold. Prompt compressors and retrievers offer solutions to this problem, but patching an issue needs two things at once: the files that must change, and their code exactly as written, since the model must reproduce the lines it edits. Retrievers rank code by its similarity to the issue rather than by whether it must change, and compressors delete text to fit the budget. We show that at an equal token budget, an agent resolves more issues when the budget goes to choosing which files to show verbatim, as our simple selector CQ2-CARE does, than when it goes to pruning tokens or retrieving chunks. We fit every context to the same per-issue budget on 300 recent SWE-rebench issues and grade each patch with the benchmark's tests. With GPT-5.6 and Claude Opus 5, CQ2-CARE resolves 43.7% and 46.7% of the issues, 6.3 points more than the best of three compressors with either model, and 9.3 and 12.7 points more than the best of three retrievers. CQ2-CARE even resolves more issues than two methods trained for issue resolution, SweRank (by 0.7 and 1.7 points) and SWE-Pruner (by 2.0 and 7.3). Our analysis shows the defects of the baseline methods: retrievers often miss the files to edit, and compressors keep them but alter their text, so fewer patches apply. Exact-file selection needs no compression model and shows every line as the repository has it, so the model can quote the code it edits.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.21073 — 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-27T07:55:30.776Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).