paper-with-me

홈 › Papers

SweRank: Software Issue Localization with Code Ranking

2025-05-07 · Revanth Gangi Reddy, Tarun Suresh, JaeHyeok Doo, Ye Liu, Xuan Phi Nguyen, Yingbo Zhou, Semih Yavuz, Caiming Xiong, Heng Ji, Shafiq Joty

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.

📄 PDF Abstract BibTeX arXiv:2505.07849

Code (0)

등록된 구현이 없습니다.

Tasks

Descriptive

Similar Papers 제목 키워드 기반

SweRank+: Multilingual, Multi-Turn Code Ranking for Software Issue Localization

2025-12-23 · Revanth Gangi Reddy, Ye Liu, Wenting Zhao, JaeHyeok Doo 외 arxiv

Maintaining large-scale, multilingual codebases hinges on accurately localizing issues, which requires mapping natural-language error descriptions to the relevant functions that need to be modified. However, existing ran…

CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Reranking

2024-12-01 · Tarun Suresh, Revanth Gangi Reddy, Yifei Xu, Zach Nussbaum 외

Effective code retrieval plays a crucial role in advancing code generation, bug fixing, and software maintenance, particularly as software systems increase in complexity. While current code embedding models have demonstr…

Bug fixingCode GenerationRerankingRetrieval+1

Tool-integrated Reinforcement Learning for Repo Deep Search

2025-08-05 · Zexiong Ma, Chao Peng, Qunhong Zeng, Pengfei Gao 외 arxiv

Issue localization, the process of identifying code locations that need modification to resolve software issues, is a critical yet challenging task in software development. The semantic gap between natural language issue…

Reinforcement Learning

A Benchmark for Localizing Code and Non-Code Issues in Software Projects

2025-09-26 · Zejun Zhang, Jian Wang, Qingyun Yang, Yifan Pan 외 arxiv

Accurate project localization (e.g., files and functions) for issue resolution is a critical first step in software maintenance. However, existing benchmarks for issue localization, such as SWE-Bench and LocBench, are li…

CoSIL: Software Issue Localization via LLM-Driven Code Repository Graph Searching

2025-03-28 · Zhonghao Jiang, Xiaoxue Ren, Meng Yan, Wei Jiang 외

Large language models (LLMs) have significantly advanced autonomous software engineering, leading to a growing number of software engineering agents that assist developers in automatic program repair. Issue localization …

Program Repair