Comprehending C codes with LLMs: Effective comment generation through retrieval and reasoning

Srijoni Majumdar, Adwita Deshpande, Partha Pratim Das, Partha Pratim Chakrabarti

Published: 01 Oct 2025, Last Modified: 06 Nov 2025Pattern Recognition LettersEveryoneRevisionsCC BY-SA 4.0
Abstract: Highlights•Generic RAG and source code based architecture for comment generation in C.•Evaluation with human and LLM critics for assessing and improving generated comments.•11.7K code comments with annotated categories relevant for code comprehension.
Loading