paper-with-me

홈 › Papers

Hierarchical Repository-Level Code Summarization for Business Applications Using Local LLMs

2025-01-14 · Nilesh Dhulshette, Sapan Shah, Vinay Kulkarni

In large-scale software development, understanding the functionality and intent behind complex codebases is critical for effective development and maintenance. While code summarization has been widely studied, existing methods primarily focus on smaller code units, such as functions, and struggle with larger code artifacts like files and packages. Additionally, current summarization models tend to emphasize low-level implementation details, often overlooking the domain and business context that are crucial for real-world applications. This paper proposes a two-step hierarchical approach for repository-level code summarization, tailored to business applications. First, smaller code units such as functions and variables are identified using syntax analysis and summarized with local LLMs. These summaries are then aggregated to generate higher-level file and package summaries. To ensure the summaries are grounded in business context, we design custom prompts that capture the intended purpose of code artifacts based on the domain and problem context of the business application. We evaluate our approach on a business support system (BSS) for the telecommunications domain, showing that syntax analysis-based hierarchical summarization improves coverage, while business-context grounding enhances the relevance of the generated summaries.

📄 PDF Abstract BibTeX arXiv:2501.07857

Code (0)

등록된 구현이 없습니다.

Tasks

Code Summarization

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Code Summarization Beyond Function Level

2025-02-23 · Vladimir Makharev, Vladimir Ivanov

Code summarization is a critical task in natural language processing and software engineering, which aims to generate concise descriptions of source code. Recent advancements have improved the quality of these summaries,…

Code SummarizationFew-Shot LearningIn-Context LearningPrompt Engineering+1

Agent4cs: A Multi-agent System for Code Summarization in Large Hierarchical Codebases

2026-07-01 · Yongjian Tang, Ezgi Sarikayak, Doruk Tuncel, Jie M. Zhang 외 arxiv

Understanding large, complex codebases, especially those with obfuscated structures and incomplete documentation, remains a significant challenge. Existing code summarization solutions often rely on a single language mod…

Natural Language Summarization Enables Multi-Repository Bug Localization by LLMs in Microservice Architectures

2025-12-05 · Amirkia Rafiei Oskooei, S. Selcan Yukcu, Mehmet Cevheri Bozoglan, Mehmet S. Aktas arxiv

Bug localization in multi-repository microservice architectures is challenging due to the semantic gap between natural language bug reports and code, LLM context limitations, and the need to first identify the correct re…

Cross-Modal Retrieval

RANGER -- Repository-Level Agent for Graph-Enhanced Retrieval

2025-09-27 · Pratik Shah, Rajat Ghosh, Aryan Singhal, Debojyoti Dutta arxiv

General-purpose automated software engineering (ASE) includes tasks such as code completion, retrieval, repair, QA, and summarization. These tasks require a code retrieval system that can handle specific queries about co…

Natural Language QueriesQuestion AnsweringCode CompletionCode Search

ArchAgent: Scalable Legacy Software Architecture Recovery with LLMs

2026-01-19 · Rusheng Pan, Bingcheng Mao, Tianyi Ma, Zhenhua Ling arxiv

Recovering accurate architecture from large-scale legacy software is hindered by architectural drift, missing relations, and the limited context of Large Language Models (LLMs). We present ArchAgent, a scalable agent-bas…