paper-with-me

Papers

COMET: Generating Commit Messages using Delta Graph Context Representation

2024-02-02 · Abhinav Reddy Mandli, Saurabhsingh Rajput, Tushar Sharma

Commit messages explain code changes in a commit and facilitate collaboration among developers. Several commit message generation approaches have been proposed; however, they exhibit limited success in capturing the context of code changes. We propose Comet (Context-Aware Commit Message Generation), a novel approach that captures context of code changes using a graph-based representation and leverages a transformer-based model to generate high-quality commit messages. Our proposed method utilizes delta graph that we developed to effectively represent code differences. We also introduce a customizable quality assurance module to identify optimal messages, mitigating subjectivity in commit messages. Experiments show that Comet outperforms state-of-the-art techniques in terms of bleu-norm and meteor metrics while being comparable in terms of rogue-l. Additionally, we compare the proposed approach with the popular gpt-3.5-turbo model, along with gpt-4-turbo; the most capable GPT model, over zero-shot, one-shot, and multi-shot settings. We found Comet outperforming the GPT models, on five and four metrics respectively and provide competitive results with the two other metrics. The study has implications for researchers, tool developers, and software developers. Software developers may utilize Comet to generate context-aware commit messages. Researchers and tool developers can apply the proposed delta graph technique in similar contexts, like code review summarization.

📄 PDF Abstract BibTeX arXiv:2402.01841

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Weight Decay 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Discriminative Fine-Tuning Discriminative Fine-Tuning is a fine-tuning strategy that is used for ULMFiT type models. Instead of using the same learning rate…
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

Automatically Generating Commit Messages from Diffs using Neural Machine Translation

2017-08-30 · Siyuan Jiang, Ameer Armaly, Collin McMillan

Commit messages are a valuable resource in comprehension of software evolution, since they provide a record of changes such as feature additions and bug repairs. Unfortunately, programmers often neglect to write good com…

Machine TranslationNMTTranslation

A Sketch-Based Neural Model for Generating Commit Messages from Diffs

2021-04-08 · Nicolae-Teodor Pavel, Traian Rebedea

Commit messages have an important impact in software development, especially when working in large teams. Multiple developers who have a different style of writing may often be involved in the same project. For this reas…

Code GenerationDescriptiveMachine TranslationNMT+1

Signaling With Commitment

2023-05-01 · Raphael Boleslavsky, Mehdi Shadmehr

We study the canonical signaling game, endowing the sender with commitment power: before learning the state, sender designs a strategy, which maps the state into a probability distribution over actions. We provide a geom…

Jointly Learning to Repair Code and Generate Commit Message

2021-09-25 · EMNLP 2021 11 · Jiaqi Bai, Long Zhou, Ambrosio Blanco, Shujie Liu 외

We propose a novel task of jointly repairing program codes and generating commit messages. Code repair and commit message generation are two essential and related tasks for software development. However, existing work us…

Code RepairTranslation

AI-Powered Commit Explorer (APCE)

2025-07-21 · Yousab Grees, Polina Iaremchuk, Ramtin Ehsani, Esteban Parra 외 arxiv

Commit messages in a version control system provide valuable information for developers regarding code changes in software systems. Commit messages can be the only source of information left for future developers describ…