mlsanityData to 14 Oct 2026

CORE-Bench: A Comprehensive Benchmark for Code Retrieval in the Era of Agentic Coding

arXiv 2606.11864 ↗First posted 10 Jun 2026cs.IRcited by 7

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

  1. 2026ContextBench: A Benchmark for Context Retrieval in Coding Agents5 Feb
  2. 2025LocAgent: Graph-Guided LLM Agents for Code Localization12 Mar

Other references · 27

  1. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  2. 2021Program Synthesis with Large Language Modelscited by 3,637
  3. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
  4. 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,252
  5. 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
  6. 2024M3-Embedding: Multi-Linguality, Multi-Functionality, Multi-Granularity Text Embeddings Through Self-Knowledge Distillationcited by 1,073
  7. 2021Measuring Coding Challenge Competence With APPScited by 902
  8. 2020Approximate Nearest Neighbor Negative Contrastive Learning for Dense Text Retrievalcited by 849
  9. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 723
  10. 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 654
  11. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
  12. 2023C-Pack: Packed Resources For General Chinese Embeddingscited by 578
15 more
  1. 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
  2. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 361
  3. 2021SPLADE: Sparse Lexical and Expansion Model for First Stage Rankingcited by 286
  4. 2025jina-embeddings-v4: Universal Embeddings for Multimodal Multilingual Retrievalcited by 76
  5. 2021CoSQA: 20,000+ Web Queries for Code Search and Question Answeringcited by 75
  6. 2024CoIR: A Comprehensive Benchmark for Code Information Retrieval Modelscited by 60
  7. 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 57
  8. 2024CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Rerankingcited by 37
  9. 2025SweRank: Software Issue Localization with Code Rankingcited by 20
  10. 2025FreshStack: Building Realistic Benchmarks for Evaluating Retrieval on Technical Documentscited by 15
  11. 2025Efficient Code Embeddings from Code Generation Modelscited by 13
  12. 2026F2LLM-v2: Inclusive, Performant, and Efficient Embeddings for a Multilingual Worldcited by 12
  13. 2025CPRet: A Dataset, Benchmark, and Model for Retrieval in Competitive Programmingcited by 3
  14. 2025C2LLM Technical Report: A New Frontier in Code Retrieval via Adaptive Cross-Attention Poolingcited by 3
  15. 2026CLARC: C/C++ Benchmark for Robust Code Searchcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 7.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026SWE-Explore: Benchmarking How Coding Agents Explore Repositories
  2. 2026SWE Context Bench: A Benchmark for Context Learning in Coding
  3. 2026RepoNav: From Snippet Retrieval to File-Centered Repository Navigation for Code Agents
  4. 2026ExecRetrieval: Measuring the Functional-Correctness Gap in Code-Embedding Retrieval
  5. 2026Retrieval-Oriented Code Representations in Agentic Bug Localization
  6. 2024LLM Agents Improve Semantic Code Search
  7. 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrieval
  8. 2025SpIDER: Spatially Informed Dense Embedding Retrieval for Software Issue Localization