Loading article...
Loading article...
Stream/Area:
-
Subject:
-
Paper ID:
IJSREM68358
Volume:
10 |
10 |
Oct 2026
Pages:
1-12
Publication Frequency:
Monthly (12 issues per year)
License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.
Department of Computer Engineering
Pune Institute of Computer Technology
Department of Computer Engineering
Pune Institute of Computer Technology
Department of Computer Engineering
Pune Institute of Computer Technology
Department of Computer Engineering
Pune Institute of Computer Technology
Developers working in software repositories often have a hard time finding the right code and understanding how files are connected. Keyword search can miss the meaning of a query and purely semantic search might ignore exact names or identifiers. This review explores retrieval and retrieval-augmented generation or RAG for better understanding of code repositories. It covers semantic search methods, how code is represented and split into chunks context at the repository level and answers that are supported by evidence. The studies show that using retrieval methods adding reranking and grounding answers in retrieved sources leads to more dependable results. Still there are challenges. Keeping indexes up to date as code changes is difficult. Processing costs can be high. Handling dependencies across files remains tough. And support, for programming languages that're less common is still weak.
KEYWORDS
This review gathers research on retrieval and AI-based software repository understanding across four main topics: lexical retrieval, dense representations, repository structure and evidence-grounded generation. The results show that adding BM25 to retrieval can help with both exact identifier searches and broader conceptual questions. Rank fusion and reranking can make the results more relevant. Organizing code chunks around AST boundaries keeps code units. Iterative retrieval and generation can add context from across a repository. Evidence-grounded generation lets developers compare AI explanations with sources but reliable attribution is still important. Together these methods give a base, for building repository assistants that provide relevant, context-aware and verifiable answers. Despite these results some problems still exist. Hybrid search systems can add time to process break down store indexes and work together. Current tests also only look at a programming languages while methods like changing how things are combined using groups of agents and making short summaries need more tests. Future studies should look into adding information without redoing everything combining searches based on what people are looking for and making smaller ways to show how parts of code are connected. Other important areas are learning from diagrams with code making it possible to use these tools on computers with smaller models and creating helpers that check and run the code they make. Solving these issues could make tools for code repositories better easier to use and more trustworthy, in software work.
[1]. H. Husain, H.-H. Wu, T. Gazit, M. Allamanis, and M. Brockschmidt, “CodeSearchNet challenge: Evaluating the state of semantic code search,” arXiv:1909.09436, 2019. [2]. Y. Wan et al., “Deep learning for code intelligence: Survey, benchmark and toolkit,” ACM Compute. Survey., vol. 56, no. 12, Art. 309, Oct. 2024, doi: 10.1145/3664597. [3]. P. Lewis et al., “Retrieval-augmented generation for knowledge-intensive NLP tasks,” in Proc. Adv. Neural Inf. Process. Syst. (NeurIPS), vol. 33, 2020, pp. 9459–9474. [4]. Y. Gao et al., “Retrieval-augmented generation for large language models: A survey,” arXiv:2312.10997, 2023. [5]. M. Esposito, A. Janes, D. Taibi, and V. Lenarduzzi, “Generative AI in evidence-based software engineering: A white paper,” arXiv:2407.17440, 2024. [6]. M. Marcelino, M. Alves, B. Trinkenreich, B. Cartaxo, S. Soares, S. D. J. Barbosa, and M. Kalinowski, “Investigating the use of LLMs for evidence briefings generation in software engineering,” arXiv:2507.15828, 2025. [7]. X. Li et al., “CodeRetriever: Large-scale contrastive pre-training for code search,” in Proc. 2022 Conf. Empirical Methods Natural Lang. Process. (EMNLP), Dec. 2022, pp. 2898–2910. [8]. W. Gu, Z. Li, C. Gao, C. Wang, H. Zhang, Z. Xu, and M.R. Lyu, “CRaDLe: Deep code retrieval based on semantic dependency learning,” Neural Netw., vol. 141, pp. 385–394, Sept. 2021, doi: 10.1016/j.neunet.2021.04.019. [9]. W. Cheng, Y. Wu, and W. Hu, “Dataflow-guided retrieval augmentation for repository-level code completion,” in Proc. 62nd Annu. Meeting Assoc. Comput. Linguistics (ACL), Vol. 1: Long Papers, Aug. 2024, pp. 7957–7977. [10]. S. Zhang, Y. Ding, S. Lian, S. Song, and H. Li, “CodeRAG: Finding relevant and necessary knowledge for retrieval-augmented repository-level code completion,” in Proc. 2025 Conf. Empirical Methods Natural Lang. Process. (EMNLP), Nov. 2025, pp. 23278–23288.
Publication Date
10/26/2026
Peer Review Type
Double-Blind Peer Review
Review Rounds: 2
Documents
Article Views
3
Total views since publication
PDF Downloads
7
Total downloads since publication
Geographic Reach
5
Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.
Plagiarism Screening
This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.
Conflict of Interest
The authors declare no conflict of interest related to this research work.
Funding Information
No funding information available for this research.
Related research in the same subject area
Loading similar articles...