REVIEW 2 cited by
Developer-Intent Driven Code Comment Generation
Not yet reviewed by Pith; the record is open.
This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.
SPECIMEN: schema-true, not a live event
T0 review · schema-true
One-sentence machine reading of the paper's core claim.
pith:XXXXXXXX · record.json · timestamp
Signed reviews
read the original abstract
Existing automatic code comment generators mainly focus on producing a general description of functionality for a given code snippet without considering developer intentions. However, in real-world practice, comments are complicated, which often contain information reflecting various intentions of developers, e.g., functionality summarization, design rationale, implementation details, code properties, etc. To bridge the gap between automatic code comment generation and real-world comment practice, we define Developer-Intent Driven Code Comment Generation, which can generate intent-aware comments for the same source code with different intents. To tackle this challenging task, we propose DOME, an approach that utilizes Intent-guided Selective Attention to explicitly select intent-relevant information from the source code, and produces various comments reflecting different intents. Our approach is evaluated on two real-world Java datasets, and the experimental results show that our approach outperforms the state-of-the-art baselines. A human evaluation also confirms the significant potential of applying DOME in practical usage, enabling developers to comment code effectively according to their own needs.
Forward citations
Cited by 2 Pith papers
-
Issue Retrieval and Verification Enhanced Supplementary Code Comment Generation
IsComment generates supplementary code comments by retrieving issue-report sentences with an LLM and filtering them for code relevance and issue verifiability, reporting coverage of manual comments up to 88.4%.
-
Large Language Models are Qualified Benchmark Builders: Rebuilding Pre-Training Datasets for Advancing Code Intelligence Tasks
LLM-generated comments are claimed to be more consistent with code than human references, and retraining CodeT5 on an LLM-rebuilt CodeSearchNet improves several code intelligence tasks.
Discussion (0). Continue with ORCID to comment.