Skip to content
NewA calmer, faster ZeroHour

Coding agents fix more issues when shown whole files

Original title: Skip the Compressor: Coding Agents Fix More Issues When They Pick Whole Files

Hugging Face daily papersby Xiaocong Yang, Rishit Chatterjee, Himanshu Udupi ()1 min read1 · 1 read
AI summary · x-ai/grok-4.7Summaries by Vani AI

On 300 SWE-rebench issues, verbatim file selection beats compressors by 6.3 points with either model.

The paper argues that issue patches need the files that must change, shown exactly as written, not similarity-ranked chunks or pruned tokens. At an equal per-issue token budget on 300 recent SWE-rebench issues, selector CQ2-CARE resolves more issues than three compressors and three retrievers with GPT-5.6 and Claude Opus 5. It also beats SweRank and SWE-Pruner, two methods trained for issue resolution. Retrievers often miss files to edit, and compressors keep them but alter text so fewer patches apply.

Key facts
  • CQ2-CARE resolves 43.7% with GPT-5.6 and 46.7% with Claude Opus 5.
  • It leads the best retriever by 9.3 and 12.7 points on the two models.
  • It beats SweRank by 0.7 and 1.7 points and SWE-Pruner by 2.0 and 7.3.
  • Patches are graded with the benchmark's tests at a matched token budget.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at huggingface.co

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.

Hugging Face daily papers

By Xiaocong Yang, Rishit Chatterjee, Himanshu Udupi · huggingface.co

Read the full article at Hugging Face daily papers

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.