arXiv AI By Xiaocong Yang, Rishit Chatterjee, Himanshu Udupi, Vikram Ramavarapu, ChengXiang Zhai

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

Read the original on arXiv AI →

The paper investigates how coding agents handle large repositories when their context window is limited. It compares three strategies—prompt compression, code retrieval, and a simple file selector called CQ2-CARE—finding that allocating the token budget to selecting whole files verbatim enables the agent to fix more issues. CQ2-CARE outperforms both compressors and retrievers on a benchmark of 300 recent software‑engineering problems, achieving higher success rates with GPT‑5.6 and Claude Opus 5.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

Hugging Face Trending Papers
Aug 6

CodeGrep: An RL-Trained Retrieval Agent for LLM Coding Agents

Modern LLM coding agents such as Claude Code and OpenHands share a common inefficiency: they spend much of their token budget finding the file to patch, rather than patching it. On SWE-Bench Verified, a 30B OpenHands agent averages 23 rounds and 631K tokens per resolved issue, with many calls spent on grep, glob, and view_file during repository exploration.