AutoPRTitle: A Tool for Automatic Pull Request Title Generation

Ivana Clairine Irsan, Ting Zhang, Ferdian Thung, David Lo, Lingxiao Jiang
6/23/2022
cs.SE

Official code: soarsmu/Auto-PR-Title (0 stars, Python, last commit 2022-06-23).

Abstract

With the rise of the pull request mechanism in software development, the quality of pull requests has gained more attention. Prior works focus on improving the quality of pull request descriptions and several approaches have been proposed to automatically generate pull request descriptions.

Show full abstract

As an essential component of a pull request, pull request titles have not received a similar level of attention. To further facilitate automation in software development and to help developers in drafting high-quality pull request titles, we introduce AutoPRTitle. AutoPRTitle is specifically designed to automatically generate pull request titles. AutoPRTitle can generate a precise and succinct pull request title based on the pull request description, commit messages, and the associated issue titles. AutoPRTitle is built upon a state-of-the-art text summarization model, BART, which has been pre-trained on large-scale English corpora. We further fine-tuned BART in a pull request dataset containing high-quality pull request titles. We implemented AutoPRTitle as a stand-alone web application. We conducted two sets of evaluations: one concerning the model accuracy and the other concerning the tool usability. For model accuracy, BART outperforms the best baseline by 24.6%, 40.5%, and 23.3%, respectively. For tool usability, the evaluators consider our tool as easy-to-use and useful when creating a pull request title of good quality. Source code: https://github.com/soarsmu/Auto-PR-Title Video demo: https://tinyurl.com/AutoPRTitle

View on arXivView PDF

Code Implementations(1)

00Python, DockerfileJun 20, 20224 years ago

Similar Papers

Cite this paper

@article{irsan2022autoprtitle,
  title  = {AutoPRTitle: A Tool for Automatic Pull Request Title Generation},
  author = {Ivana Clairine Irsan and Ting Zhang and Ferdian Thung and David Lo and Lingxiao Jiang},
  year   = {2022},
  eprint = {2206.11619},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.11619}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.11619.svg)](https://codeofpaper.com/paper/2206.11619)

Discussion