Live
Black Hat USAAI BusinessBlack Hat AsiaAI Businessb8601llama.cpp ReleasesCafé, e o prompt principal para gerar as ilustrações — Temperança DigitalMedium AIWe Don’t Have a Memory Problem. We Have a Knowledge Problem.Medium AII Use AI to Prepare for Every Oral Exam. Here’s Exactly How.Medium AIb8600llama.cpp ReleasesFalse Flags Are Killing Writers— Here’s How to Avoid Them in 2026Medium AIThe npm Supply Chain Attack Affecting Millions: How to Check If You’re ImpactedMedium AI+27795822694 Best Traditional Healer in Polokwane Limpopo | Bring Back Lost Love | Dr JamesMedium AIRobotaxi companies refuse to say how often their AVs need remote helpTechCrunch AIByteDance adds watermarking and IP guardrails to Seedance 2.0 as it begins cautious global rolloutThe Next Web AIWhy China’s OpenClaw Craze Is a Global AI ExperimentBloomberg TechnologyCrowdStrike, Cisco and Palo Alto Networks all shipped agentic SOC tools at RSAC 2026 — and all three missed the same gapVentureBeat AIBlack Hat USAAI BusinessBlack Hat AsiaAI Businessb8601llama.cpp ReleasesCafé, e o prompt principal para gerar as ilustrações — Temperança DigitalMedium AIWe Don’t Have a Memory Problem. We Have a Knowledge Problem.Medium AII Use AI to Prepare for Every Oral Exam. Here’s Exactly How.Medium AIb8600llama.cpp ReleasesFalse Flags Are Killing Writers— Here’s How to Avoid Them in 2026Medium AIThe npm Supply Chain Attack Affecting Millions: How to Check If You’re ImpactedMedium AI+27795822694 Best Traditional Healer in Polokwane Limpopo | Bring Back Lost Love | Dr JamesMedium AIRobotaxi companies refuse to say how often their AVs need remote helpTechCrunch AIByteDance adds watermarking and IP guardrails to Seedance 2.0 as it begins cautious global rolloutThe Next Web AIWhy China’s OpenClaw Craze Is a Global AI ExperimentBloomberg TechnologyCrowdStrike, Cisco and Palo Alto Networks all shipped agentic SOC tools at RSAC 2026 — and all three missed the same gapVentureBeat AI

SWE Context Bench: A Benchmark for Context Learning in Coding

arXivMarch 30, 202610 min read0 views
Source Quiz

arXiv:2602.08316v2 Announce Type: replace-cross Abstract: Large language models are increasingly used as programming agents for repository level software engineering tasks. While recent benchmarks evaluate correctness in realistic codebases, they largely treat tasks as independent and do not assess whether agents can reuse previous experience or contexts across related problems. As a result, the ability of agents to accumulate, retrieve, and apply prior experience, as well as the efficiency gains from such reuse, remains difficult to measure. We introduce SWE-ContextBench, a benchmark designed — Jared Zhu, Minhao Hu, Junde Wu

View PDF HTML (experimental)

Abstract:Large language models are increasingly used as programming agents for repository level software engineering tasks. While recent benchmarks evaluate correctness in realistic codebases, they largely treat tasks as independent and do not assess whether agents can reuse previous experience or contexts across related problems. As a result, the ability of agents to accumulate, retrieve, and apply prior experience, as well as the efficiency gains from such reuse, remains difficult to measure. We introduce SWE-ContextBench, a benchmark designed to explicitly evaluate context reuse in programming agents. Built on SWE-Bench Lite, SWE-Bench Multilingual, and SWE-Bench Verified, SWE-ContextBench consists of 1,100 base tasks with 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 agents along three complementary dimensions: prediction accuracy, time efficiency, and cost efficiency. Using SWE-ContextBench, we study multiple context reuse settings, including oracle guided and autonomous retrieval, as well as full execution trajectories and compact summaries. Our results show that correctly selected summarized context improves resolution accuracy and substantially reduces 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 representation and retrieval quality, and position SWE-ContextBench as a principled benchmark for studying context reuse in programming agents.

Subjects:

Software Engineering (cs.SE); Artificial Intelligence (cs.AI)

Cite as: arXiv:2602.08316 [cs.SE]

(or arXiv:2602.08316v2 [cs.SE] for this version)

https://doi.org/10.48550/arXiv.2602.08316

arXiv-issued DOI via DataCite

Submission history

From: Jiayuan Zhu [view email] [v1] Mon, 9 Feb 2026 06:44:45 UTC (773 KB) [v2] Fri, 27 Mar 2026 15:29:51 UTC (1,141 KB)

Was this article helpful?

Sign in to highlight and annotate this article

AI
Ask AI about this article
Powered by AI News Hub · full article context loaded
Ready

Conversation starters

Ask anything about this article…

Daily AI Digest

Get the top 5 AI stories delivered to your inbox every morning.

More about

researchpaperarxiv

Knowledge Map

Knowledge Map
TopicsEntitiesSource
SWE Context…researchpaperarxivaiartificial-…arXiv

Connected Articles — Knowledge Graph

This article is connected to other articles through shared AI topics and tags.

Knowledge Graph100 articles · 88 connections
Scroll to zoom · drag to pan · click to open

Discussion

Sign in to join the discussion

No comments yet — be the first to share your thoughts!

More in Research Papers