CORE-Bench: A Comprehensive Benchmark for Code Retrieval in the Era of Agentic Coding
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Code retrieval is becoming central to coding agents, but agentic coding requires more than matching a natural-language query to an isolated snippet. Given a user request, a coding agent needs to navigate a concrete repository state, locate relevant files and functions, gather supporting context, and filter similar in-repository distractors. Existing code retrieval benchmarks mainly evaluate docstring-to-function or snippet-level matching, thereby missing this requirement-driven repository search problem. To address this gap, we introduce CORE-Bench, a comprehensive benchmark for code retrieval in the era of agentic coding. CORE-Bench evaluates code retrieval ability at three levels: code understanding, issue-to-edit localization, and broader context retrieval. Built from curated code-search tasks and SWE-bench-series instances, CORE-Bench contains over 180K queries and 106K broader-context relevance labels. Experiments with representative embedding models show a sharp drop from traditional code search to code retrieval in agentic coding settings. Simple supervised fine-tuning of existing embedding models significantly improves performance in this setting, suggesting substantial room for further progress.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 29 of its 44 references that are in the map. First posted on arXiv 10 Jun 2026.
Builds on
29 of 44 references.
Closest ancestors · 2
Same direction, newest first
- 2026ContextBench: A Benchmark for Context Retrieval in Coding Agents5 Feb
- 2025LocAgent: Graph-Guided LLM Agents for Code Localization12 Mar
Other references · 27
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
- 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
- 2021Measuring Coding Challenge Competence With APPScited by 902
- 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 849
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 578
15 more
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 361
- 2021SPLADE: Sparse Lexical and Expansion Model for First Stage Rankingcited by 286
- 2025jina-embeddings-v4: Universal Embeddings for Multimodal Multilingual Retrievalcited by 76
- 2021CoSQA: 20,000+ Web Queries for Code Search and Question Answeringcited by 75
- 2024CoIR: A Comprehensive Benchmark for Code Information Retrieval Modelscited by 60
- 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 57
- 2024CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Rerankingcited by 37
- 2025SweRank: Software Issue Localization with Code Rankingcited by 20
- 2025FreshStack: Building Realistic Benchmarks for Evaluating Retrieval on Technical Documentscited by 15
- 2025Efficient Code Embeddings from Code Generation Modelscited by 13
- 2026F2LLM-v2: Inclusive, Performant, and Efficient Embeddings for a Multilingual Worldcited by 12
- 2025CPRet: A Dataset, Benchmark, and Model for Retrieval in Competitive Programmingcited by 3
- 2025C2LLM Technical Report: A New Frontier in Code Retrieval via Adaptive Cross-Attention Poolingcited by 3
- 2026CLARC: C/C++ Benchmark for Robust Code Searchcited by 1
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026Agent Retrieval Bench: Evaluating Repository Context Retrieval for Coding Agentscited by 2
- 2026Executable Code Knowledge: Code as a Native, Validation-Carrying Knowledge Representation for AI Coding Agentscited by 1
- 2026The Working Set of a Coding Agent: Coherence Debt in Repository-Scale Taskscited by 1
- 2026VisDocAgentBench: Benchmarking Agents for Visually Rich Document Retrievalcited by 0
- 2026Vulnerability Localization Benchmark: Measuring Agentic Security Analysis at Repository Scalecited by 0
- 2026The Missing Complement: State-Conditioned Minimal Sufficient Evidence for Coding Agentscited by 0
- 2026StateTape: Action-Conditioned Evidence Lifecycle Modeling for Long-Horizon Coding Agentscited by 0
- 2026StateTape: Action-Conditioned Evidence Lifecycle Modeling for Long-Horizon Coding Agents28 Sep 2026
- 2026The Missing Complement: State-Conditioned Minimal Sufficient Evidence for Coding Agents17 Sep 2026
- 2026Vulnerability Localization Benchmark: Measuring Agentic Security Analysis at Repository Scale14 Sep 2026
- 2026VisDocAgentBench: Benchmarking Agents for Visually Rich Document Retrieval18 Aug 2026
- 2026The Working Set of a Coding Agent: Coherence Debt in Repository-Scale Tasks17 Aug 2026
- 2026Executable Code Knowledge: Code as a Native, Validation-Carrying Knowledge Representation for AI Coding Agents17 Aug 2026
- 2026Agent Retrieval Bench: Evaluating Repository Context Retrieval for Coding Agents27 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories
- 2026SWE Context Bench: A Benchmark for Context Learning in Coding
- 2026RepoNav: From Snippet Retrieval to File-Centered Repository Navigation for Code Agents
- 2026ExecRetrieval: Measuring the Functional-Correctness Gap in Code-Embedding Retrieval
- 2026Retrieval-Oriented Code Representations in Agentic Bug Localization
- 2024LLM Agents Improve Semantic Code Search
- 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrieval
- 2025SpIDER: Spatially Informed Dense Embedding Retrieval for Software Issue Localization