SweRank: Software Issue Localization with Code Ranking
Not on the map. Why?
Abstract (arXiv)
Software issue localization, the task of identifying the precise code locations (files, classes, or functions) relevant to a natural language issue description (e.g., bug report, feature request), is a critical yet time-consuming aspect of software development. While recent LLM-based agentic approaches demonstrate promise, they often incur significant latency and cost due to complex multi-step reasoning and relying on closed-source LLMs. Alternatively, traditional code ranking models, typically optimized for query-to-code or code-to-code retrieval, struggle with the verbose and failure-descriptive nature of issue localization queries. To bridge this gap, we introduce SweRank, an efficient and effective retrieve-and-rerank framework for software issue localization. To facilitate training, we construct SweLoc, a large-scale dataset curated from public GitHub repositories, featuring real-world issue descriptions paired with corresponding code modifications. Empirical results on SWE-Bench-Lite and LocBench show that SweRank achieves state-of-the-art performance, outperforming both prior ranking models and costly agent-based systems using closed-source LLMs like Claude-3.5. Further, we demonstrate SweLoc's utility in enhancing various existing retriever and reranker models for issue localization, establishing the dataset as a valuable resource for the community.
Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 44 of its 67 references that are in the map. First posted on arXiv 7 May 2025.
Builds on
44 of 67 references.
References · 44
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,601
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,362
- 2022Text Embeddings by Weakly-Supervised Contrastive Pre-trainingcited by 1,216
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
32 more
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
- 2019CodeSearchNet Challenge: Evaluating the State of Semantic Code Searchcited by 638
- 2022MTEB: Massive Text Embedding Benchmarkcited by 623
- 2022The Stack: 3 TB of permissively licensed source codecited by 354
- 2023RepoBench: Benchmarking Repository-Level Code Auto-Completion Systemscited by 346
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
- 2022Matryoshka Representation Learningcited by 268
- 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 255
- 2023RankZephyr: Effective and Robust Zero-Shot Listwise Reranking is a Breeze!cited by 151
- 2023NEFTune: Noisy Embeddings Improve Instruction Finetuningcited by 99
- 2025Gemini Embedding: Generalizable Embeddings from Geminicited by 93
- 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 87
- 2024NV-Retriever: Improving text embedding models with effective hard-negative miningcited by 83
- 2025LocAgent: Graph-Guided LLM Agents for Code Localizationcited by 82
- 2023RankVicuna: Zero-Shot Listwise Document Reranking with Open-Source Large Language Modelscited by 69
- 2024Arctic-Embed: Scalable, Efficient, and Accurate Text Embedding Modelscited by 60
- 2024CoIR: A Comprehensive Benchmark for Code Information Retrieval Modelscited by 59
- 2024Arctic-Embed 2.0: Multilingual Retrieval Without Compromisecited by 57
- 2024FIRST: Faster Improved Listwise Reranking with Single Token Decodingcited by 54
- 2018FIRST: A Framework for Optimizing Information Quality in Mobile Crowdsensing Systemscited by 50
- 2024AgentFL: Scaling LLM-based Fault Localization to Project-Level Contextcited by 47
- 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repaircited by 43
- 2025OrcaLoca: An LLM Agent Framework for Software Issue Localizationcited by 43
- 2023Teach AI How to Code: Using Large Language Models as Teachable Agents for Programming Educationcited by 38
- 2023Jina Embeddings: A Novel Set of High-Performance Sentence Embedding Modelscited by 35
- 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrievalcited by 33
- 2024Code Representation Learning At Scalecited by 26
- 2016Spectrum-based Software Fault Localization: A Survey of Techniques, Advances, and Challengescited by 9
- 2021Locating Faults with Program Slicing: An Empirical Analysiscited by 7
- 2024Are Large Language Models a Threat to Programming Platforms? An Exploratory Studycited by 3
Built on by
Citing papers per year: 2025: 8; 2026: 12.
20 papers.
Sort:
By area:
- 2025Self-Abstraction from Grounded Experience for Plan-Guided Policy Refinementcited by 9
- 2026CORE-Bench: A Comprehensive Benchmark for Code Retrieval in the Era of Agentic Codingcited by 7
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2025Foundational Automatic Evaluators: Scaling Multi-Task Generative Evaluator Training for Reasoning-Centric Domainscited by 5
- 2025A Benchmark for Localizing Code and Non-Code Issues in Software Projectscited by 4
- 2025SweRank+: Multilingual, Multi-Turn Code Ranking for Software Issue Localizationcited by 4
- 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localizationcited by 4
- 2026Loc2Repair: A Framework for Evaluating the Impact of File-Level Issue Localization in Repo-Level LLM Repaircited by 3
- 2026SHERLOC: Structured Diagnostic Localization for Code Repair Agentscited by 2
- 2026MM-IssueLoc: A Controlled Benchmark for Evaluating Visual Evidence in Multimodal Repository-Level Issue Localizationcited by 2
- 2026Scrouting: Cost-Aware Routing of Coding Agents by Scouting the Repository Firstcited by 2
- 2025SpIDER: Spatially Informed Dense Embedding Retrieval for Software Issue Localizationcited by 1
8 more
- 2026Neurosymbolic Repo-level Code Localizationcited by 1
- 2025PIPer: On-Device Environment Setup via Online Reinforcement Learningcited by 0
- 2026GREPO: A Benchmark for Graph Neural Networks on Repository-Level Bug Localizationcited by 0
- 2026Libra: Training the Environment for Agentic Information Retrievalcited by 0
- 2026CodeNib: A Multi-View Data System for Serving Repository Context to Coding Agentscited by 0
- 2026A^2Agent: Action-Aware Reinforcement Learning for Repository-Level Code Localization Agentscited by 0
- 2026The Missing Complement: State-Conditioned Minimal Sufficient Evidence for Coding Agentscited by 0
- 2026Semantic Navigation for Issue Localization in Code Repositorycited by 0
- 2026Semantic Navigation for Issue Localization in Code Repository25 Sep 2026
- 2026The Missing Complement: State-Conditioned Minimal Sufficient Evidence for Coding Agents17 Sep 2026
- 2026A^2Agent: Action-Aware Reinforcement Learning for Repository-Level Code Localization Agents30 Aug 2026
- 2026Scrouting: Cost-Aware Routing of Coding Agents by Scouting the Repository First5 Aug 2026
- 2026CodeNib: A Multi-View Data System for Serving Repository Context to Coding Agents28 Jul 2026
- 2026MM-IssueLoc: A Controlled Benchmark for Evaluating Visual Evidence in Multimodal Repository-Level Issue Localization16 Jul 2026
- 2026Loc2Repair: A Framework for Evaluating the Impact of File-Level Issue Localization in Repo-Level LLM Repair29 Jun 2026
- 2026SHERLOC: Structured Diagnostic Localization for Code Repair Agents23 Jun 2026
- 2026CORE-Bench: A Comprehensive Benchmark for Code Retrieval in the Era of Agentic Coding10 Jun 2026
- 2026Libra: Training the Environment for Agentic Information Retrieval26 May 2026
- 2026Neurosymbolic Repo-level Code Localization17 Apr 2026
- 2026GREPO: A Benchmark for Graph Neural Networks on Repository-Level Bug Localization14 Feb 2026
8 more
- 2025GraphLocator: Graph-guided Causal Reasoning for Issue Localization27 Dec 2025
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
- 2025SweRank+: Multilingual, Multi-Turn Code Ranking for Software Issue Localization23 Dec 2025
- 2025SpIDER: Spatially Informed Dense Embedding Retrieval for Software Issue Localization18 Dec 2025
- 2025Self-Abstraction from Grounded Experience for Plan-Guided Policy Refinement8 Nov 2025
- 2025Foundational Automatic Evaluators: Scaling Multi-Task Generative Evaluator Training for Reasoning-Centric Domains20 Oct 2025
- 2025PIPer: On-Device Environment Setup via Online Reinforcement Learning29 Sep 2025
- 2025A Benchmark for Localizing Code and Non-Code Issues in Software Projects26 Sep 2025
- 2026CORE-Bench: A Comprehensive Benchmark for Code Retrieval in the Era of Agentic Codingcited by 7
- 2025Agentic Software Issue Resolution with Large Language Models: A Surveycited by 6
- 2026SHERLOC: Structured Diagnostic Localization for Code Repair Agentscited by 2
- 2026Scrouting: Cost-Aware Routing of Coding Agents by Scouting the Repository Firstcited by 2
- 2025SpIDER: Spatially Informed Dense Embedding Retrieval for Software Issue Localizationcited by 1
- 2026Libra: Training the Environment for Agentic Information Retrievalcited by 0
- 2026CodeNib: A Multi-View Data System for Serving Repository Context to Coding Agentscited by 0
- 2026The Missing Complement: State-Conditioned Minimal Sufficient Evidence for Coding Agentscited by 0
- 2026The Missing Complement: State-Conditioned Minimal Sufficient Evidence for Coding Agents17 Sep 2026
- 2026Scrouting: Cost-Aware Routing of Coding Agents by Scouting the Repository First5 Aug 2026
- 2026CodeNib: A Multi-View Data System for Serving Repository Context to Coding Agents28 Jul 2026
- 2026SHERLOC: Structured Diagnostic Localization for Code Repair Agents23 Jun 2026
- 2026CORE-Bench: A Comprehensive Benchmark for Code Retrieval in the Era of Agentic Coding10 Jun 2026
- 2026Libra: Training the Environment for Agentic Information Retrieval26 May 2026
- 2025Agentic Software Issue Resolution with Large Language Models: A Survey24 Dec 2025
- 2025SpIDER: Spatially Informed Dense Embedding Retrieval for Software Issue Localization18 Dec 2025
- 2025Self-Abstraction from Grounded Experience for Plan-Guided Policy Refinementcited by 9
- 2025Foundational Automatic Evaluators: Scaling Multi-Task Generative Evaluator Training for Reasoning-Centric Domainscited by 5
- 2025A Benchmark for Localizing Code and Non-Code Issues in Software Projectscited by 4
- 2025SweRank+: Multilingual, Multi-Turn Code Ranking for Software Issue Localizationcited by 4
- 2026Loc2Repair: A Framework for Evaluating the Impact of File-Level Issue Localization in Repo-Level LLM Repaircited by 3
- 2026MM-IssueLoc: A Controlled Benchmark for Evaluating Visual Evidence in Multimodal Repository-Level Issue Localizationcited by 2
- 2026Neurosymbolic Repo-level Code Localizationcited by 1
- 2025PIPer: On-Device Environment Setup via Online Reinforcement Learningcited by 0
- 2026GREPO: A Benchmark for Graph Neural Networks on Repository-Level Bug Localizationcited by 0
- 2026A^2Agent: Action-Aware Reinforcement Learning for Repository-Level Code Localization Agentscited by 0
- 2026Semantic Navigation for Issue Localization in Code Repositorycited by 0
- 2026Semantic Navigation for Issue Localization in Code Repository25 Sep 2026
- 2026A^2Agent: Action-Aware Reinforcement Learning for Repository-Level Code Localization Agents30 Aug 2026
- 2026MM-IssueLoc: A Controlled Benchmark for Evaluating Visual Evidence in Multimodal Repository-Level Issue Localization16 Jul 2026
- 2026Loc2Repair: A Framework for Evaluating the Impact of File-Level Issue Localization in Repo-Level LLM Repair29 Jun 2026
- 2026Neurosymbolic Repo-level Code Localization17 Apr 2026
- 2026GREPO: A Benchmark for Graph Neural Networks on Repository-Level Bug Localization14 Feb 2026
- 2025SweRank+: Multilingual, Multi-Turn Code Ranking for Software Issue Localization23 Dec 2025
- 2025Self-Abstraction from Grounded Experience for Plan-Guided Policy Refinement8 Nov 2025
- 2025Foundational Automatic Evaluators: Scaling Multi-Task Generative Evaluator Training for Reasoning-Centric Domains20 Oct 2025
- 2025PIPer: On-Device Environment Setup via Online Reinforcement Learning29 Sep 2025
- 2025A Benchmark for Localizing Code and Non-Code Issues in Software Projects26 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2026Retrieval-Oriented Code Representations in Agentic Bug Localization
- 2025Extracting Conceptual Knowledge to Locate Software Issues
- 2025Reformulate, Retrieve, Localize: Agents for Repository-Level Bug Localization
- 2026BLAgent: Agentic RAG for File-Level Bug Localization
- 2026SWE-Adept: An LLM-Based Agentic Framework for Deep Codebase Analysis and Structured Issue Resolution
- 2026Multi-CoLoR: Context-Aware Localization and Reasoning across Multi-Language Codebases
- 2025Meta-RAG on Large Codebases Using Code Summarization
- 2025SACL: Understanding and Combating Textual Bias in Code Retrieval with Semantic-Augmented Reranking and Localization