Cost-efficient pinpointing of target code contexts in complex repositories
Develop methods that cost‑efficiently pinpoint the target code contexts required to answer diverse natural language queries in complex software repositories, achieving reliable localization of relevant files, classes, and functions while minimizing token and computational overhead during repository‑level code reasoning.
References
Despite these advancements, it remains an open challenge to cost-efficiently pinpoint target contexts in complex repositories across diverse query scenarios.
Agents that can re-open files may recover some of the losses we measure, because a compressed view tells them which file to read in full. Each re-read, however, costs a turn and the tokens that compression was meant to save, and a model may not notice that the text it sees is altered: in Figure~\ref{fig:main}, it rewrote a line that does not exist in the file. Measuring this trade-off needs a full agent loop, which we leave to future work.