paper-with-me

Papers

SWE Context Bench: A Benchmark for Context Learning in Coding

2026-02-09 · Jiayuan Zhu, Junde Wu, Minhao Hu, Shengda Zhu, Jiazhen Pan, Weixiang Shen, Yijun Yang, Fenglin Liu, Jianye Hao, Yueming Jin, Qirong Ho, Min Xu 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 as independent and do not assess whether agents can reuse previous experience across related problems. As a result, the efficiency gains from reusing the previous experience remains difficult to measure. We introduce SWE-ContextBench, a benchmark designed to explicitly evaluate context understanding and retrieval in coding agents. SWE-ContextBench consists of 1,100 base tasks with another 376 related tasks derived from real dependency and reference relationships among GitHub issues and pull requests. SWE-ContextBench groups base tasks and related tasks with shared context across 51 unique repositories and 9 programming languages. The benchmark evaluates how accurately and efficiently agents solve related issues when prior cases are available in context. Using SWE-ContextBench, we study the behavior of multiple coding agents across varying context reuse settings and retrieval strategies. Our results show that accurately summarized and retrieved previous experience can significantly improve resolution accuracy and reduce runtime and token cost, particularly on harder tasks. In contrast, unfiltered or incorrectly selected context provides limited or negative benefits. These findings highlight the importance of context management and retrieval accuracy, and position SWE-ContextBench as a principled benchmark for studying context learning in coding agents.

📄 PDF Abstract BibTeX arXiv:2602.08316

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

ContextBench: A Benchmark for Context Retrieval in Coding Agents

2026-02-05 · Han Li, Letian Zhu, Bohan Zhang, Rili Feng 외 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 cod…

LongCodeBench: Evaluating Coding LLMs at 1M Context Windows

2025-05-12 · Stefano Rando, Luca Romani, Alessio Sampieri, Yuta Kyuragi 외

Context lengths for models have grown rapidly, from thousands to millions of tokens in just a few years. The extreme context sizes of modern long-context models have made it difficult to construct realistic long-context …

Bug fixing

When Context Misleads: Intent-Guided Decoding for Robust Retrieval-Augmented Generation

2026-08-17 · Haolin Jin, Pengyue Yang, Huaming Chen arxiv

Retrieval-augmented generation (RAG) improves large language models by grounding generation in external evidence, but it also introduces a source trust problem: retrieved context may be useful, irrelevant, or even mislea…

OWL: Overcoming Window Length-Dependence in Speculative Decoding for Long-Context Inputs

2025-10-08 · Jaeseong Lee, seung-won hwang, Aurick Qiao, Gabriele Oliaro 외 arxiv

Speculative decoding promises faster inference for large language models (LLMs), yet existing methods fail to generalize to real-world settings. Benchmarks typically assume short contexts (e.g., 2K tokens), whereas pract…

Group Contextual Encoding for 3D Point Clouds

2020-12-01 · NeurIPS 2020 12 · Xu Liu, Chengtao Li, Jian Wang, Jingbo Wang 외

Global context is crucial for 3D point cloud scene understanding tasks. In this work, we extended the contextual encoding layer that was originally designed for 2D tasks to 3D Point Cloud scenarios. The encoding layer l…

Scene Understanding