paper-with-me

Papers

ContextBench: A Benchmark for Context Retrieval in Coding Agents

2026-02-05 · Han Li, Letian Zhu, Bohan Zhang, Rili Feng, Jiaming Wang, Yue Pan, Earl T. Barr, Federica Sarro, Zhaoyang Chu, He Ye arxiv

LLM-based coding agents have shown strong performance on automated issue resolution benchmarks, yet existing evaluations largely focus on final task success, providing limited insight into how agents retrieve and use code context during problem solving. We introduce ContextBench, a process-oriented evaluation of context retrieval in coding agents. ContextBench consists of 1,136 issue-resolution tasks from 66 repositories across eight programming languages, each augmented with human-annotated gold contexts. We further implement an automated evaluation framework that tracks agent trajectories and measures context recall, precision, and efficiency throughout issue resolution. Using ContextBench, we evaluate four frontier LLMs and five coding agents. Our results show that sophisticated agent scaffolding yields only marginal gains in context retrieval ("The Bitter Lesson" of coding agents), LLMs consistently favor recall over precision, and substantial gaps exist between explored and utilized context. ContextBench augments existing end-to-end benchmarks with intermediate gold-context metrics that unbox the issue-resolution process. These contexts offer valuable intermediate signals for guiding LLM reasoning in software tasks.

📄 PDF Abstract BibTeX arXiv:2602.05892

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SWE Context Bench: A Benchmark for Context Learning in Coding

2026-02-09 · Jiayuan Zhu, Junde Wu, Minhao Hu, Shengda Zhu 외 arxiv

Large language models are increasingly used as coding agents for software engineering tasks. Current benchmarks mainly evaluate whether the agent can correctly solve the request or fix the bugs. They largely treat tasks …

SCBench: A KV Cache-Centric Analysis of Long-Context Methods

2024-12-13 · Yucheng Li, Huiqiang Jiang, Qianhui Wu, Xufang Luo 외

Long-context LLMs have enabled numerous downstream applications but also introduced significant challenges related to computational and memory efficiency. To address these challenges, optimizations for long-context infer…

MambaQuantizationRetrievalSemantic Retrieval

SWE-Explore: Benchmarking How Coding Agents Explore Repositories

2026-06-05 · Shaoqiu Zhang, Yuhang Wang, Jialiang Liang, Yuling Shi 외 arxiv

Repository-level coding benchmarks such as SWE-bench have driven a rapid surge in the capabilities of coding agents. Yet they usually treat coding tasks as a holistic, binary prediction problem (e.g., resolved or unresol…

Agent Retrieval Bench: Evaluating Repository Context Retrieval for Coding Agents

2026-07-27 · Bowen Qin, Yi Xie hf

Modern coding agents are usually evaluated by whether they eventually produce a correct patch, but patch generation depends on an earlier context-acquisition stage: finding the repository files needed for the task. We in…

Semantic Similarity

Coding Agents are Effective Long-Context Processors

2026-03-20 · Weili Cao, Xunjian Yin, Bhuwan Dhingra, Shuyan Zhou arxiv

Large Language Models (LLMs) have demonstrated remarkable progress in scaling to access massive contexts. However, the access is via the latent and uninterpretable attention mechanisms, and LLMs fail to effective process…

Open-Domain Question Answering