arXiv AI By Md Afif Al Mamun, Gias Uddin

BLAgent: Agentic RAG for File-Level Bug Localization

Read the original on arXiv AI →

arXiv:2605. 17965v2 Announce Type: replace-cross Abstract: Bug localization remains a key bottleneck for large language model (LLM)-based software maintenance, where accurately identifying faulty code is essential for debugging, root cause analysis, triage, and automated program repair (APR).

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv Machine Learning
Oct 2

From Codebase to Culprit (C2C): Reducing the Search Space for Bugs with Semantic Retrieval and Hierarchical Reinforcement Learning

The paper presents C2C (From Codebase to Culprit), a bug‑localization framework that narrows the debugging search space through semantic retrieval and hierarchical reinforcement learning. It first retrieves likely buggy files using contrastively fine‑tuned CodeBERT embeddings and then progressively localizes bugs from files to functions to lines of code. Experiments on Java and Python datasets show that this multi‑resolution approach improves both retrieval precision and localization accuracy, with ablation studies underscoring the importance of hierarchical decomposition and reward shaping.

By Ankur Garg, Corey Yang-Smith, Rishav Rishav, Ahmad Abdellatif, Samira Ebrahimi Kahou