paper-with-me

홈 › Papers

From Commit Message Generation to History-Aware Commit Message Completion

2023-08-15 · Aleksandra Eliseeva, Yaroslav Sokolov, Egor Bogomolov, Yaroslav Golubev, Danny Dig, Timofey Bryksin

Commit messages are crucial to software development, allowing developers to track changes and collaborate effectively. Despite their utility, most commit messages lack important information since writing high-quality commit messages is tedious and time-consuming. The active research on commit message generation (CMG) has not yet led to wide adoption in practice. We argue that if we could shift the focus from commit message generation to commit message completion and use previous commit history as additional context, we could significantly improve the quality and the personal nature of the resulting commit messages. In this paper, we propose and evaluate both of these novel ideas. Since the existing datasets lack historical data, we collect and share a novel dataset called CommitChronicle, containing 10.7M commits across 20 programming languages. We use this dataset to evaluate the completion setting and the usefulness of the historical context for state-of-the-art CMG models and GPT-3.5-turbo. Our results show that in some contexts, commit message completion shows better results than generation, and that while in general GPT-3.5-turbo performs worse, it shows potential for long and detailed messages. As for the history, the results show that historical information improves the performance of CMG models in the generation task, and the performance of GPT-3.5-turbo in both generation and completion.

📄 PDF Abstract BibTeX arXiv:2308.07655

Code (1)

jetbrains-research/commit_message_generation 공식 구현 pytorch

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 &…
Multi-Head Attention 설명 없음
Attention 설명 없음
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…
Weight Decay 설명 없음
{Dispute@FaQ-s}How to file a dispute with Expedia? How to file a dispute with Expedia? To file a complaint against Expedia, first try contacting their customer service directly. You can reach them by phone at…
Adam 설명 없음
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar 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 cont…

KADEL: Knowledge-Aware Denoising Learning for Commit Message Generation

2024-01-16 · Wei Tao, Yucheng Zhou, Yanlin Wang, Hongyu Zhang 외

Commit messages are natural language descriptions of code changes, which are important for software evolution such as code understanding and maintenance. However, previous methods are trained on the entire dataset withou…

Denoising

RACE: Retrieval-Augmented Commit Message Generation

2022-03-05 · Ensheng Shi, Yanlin Wang, Wei Tao, Lun Du 외

Commit messages are important for software development and maintenance. Many neural network-based approaches have been proposed and shown promising results on automatic commit message generation. However, the generated c…

Information RetrievalRetrievalSemantic SimilaritySemantic Textual Similarity

CommitBERT: Commit Message Generation Using Pre-Trained Programming Language Model

2021-08-01 · ACL (NLP4Prog) 2021 8 · Tae Hwan Jung

Commit message is a document that summarizes source code changes in natural language. A good commit message clearly shows the source code changes, so this enhances collaboration between developers. Therefore, our work is…

DecoderLanguage ModelingLanguage ModellingMachine Translation+1

CoreGen: Contextualized Code Representation Learning for Commit Message Generation

2020-07-14 · Lun Yiu Nie, Cuiyun Gao, Zhicong Zhong, Wai Lam 외

Automatic generation of high-quality commit messages for code commits can substantially facilitate software developers' works and coordination. However, the semantic gap between source code and natural language poses a m…

Representation LearningText Generation