SEMay 4

Leveraging Design-Aware Context in Large Language Models for Code Comment Generation

arXiv:2510.2233834.8h-index: 15
AI Analysis

For software developers and maintainers, this work explores a practical approach to enhance code comment generation using design-aware context, though it is an incremental step.

The study investigates whether large language models (LLMs) can generate more useful code comments when provided with design documents as context, aiming to improve comment quality for novice coders.

Comments are very useful to the flow of code development. With the increasing commonality of code, novice coders have been creating a significant amount of codebases. Due to lack of commenting standards, their comments are often useless, and increase the time taken to further maintain codes. This study intends to find the usefulness of large language models (LLMs) in these cases to generate potentially better comments. This study focuses on the feasibility of design documents as a context for the LLMs to generate more useful comments, as design documents are often used by maintainers to understand code when comments do not suffice.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes