Pith. sign in

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

arxiv 2302.07055 v1 pith:FK2IVCB3 submitted 2023-02-14 cs.SE

classification cs.SE
keywords codecommentapproachcommentsgenerationreal-worldautomaticdeveloper-intent
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Issue Retrieval and Verification Enhanced Supplementary Code Comment Generation

    cs.SE 2025-06 reject novelty 6.0 of 10

    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%.

  2. Large Language Models are Qualified Benchmark Builders: Rebuilding Pre-Training Datasets for Advancing Code Intelligence Tasks

    cs.SE 2025-04 conditional novelty 6.0 of 10

    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.

Pith tools