CommitBench: A Benchmark for Commit Message Generation
Schall, Maximilian, Czinczoll, Tamara, de Melo, Gerard
–arXiv.org Artificial Intelligence
Writing commit messages is a tedious daily task for many software developers, and often remains neglected. Automating this task has the potential to save time while ensuring that messages are informative. A high-quality dataset and an objective benchmark are vital preconditions for solid research and evaluation towards this goal. We show that existing datasets exhibit various problems, such as the quality of the commit selection, small sample sizes, duplicates, privacy issues, and missing licenses for redistribution. This can lead to unusable models and skewed evaluations, where inferior models achieve higher evaluation scores due to biases in the data. We compile a new large-scale dataset, CommitBench, adopting best practices for dataset creation. We sample commits from diverse projects with licenses that permit redistribution and apply our filtering and dataset enhancements to improve the quality of generated commit messages. We use CommitBench to compare existing models and show that other approaches are outperformed by a Transformer model pretrained on source code. We hope to accelerate future research by publishing the source code( https://github.com/Maxscha/commitbench ).
arXiv.org Artificial Intelligence
Mar-8-2024
- Country:
- North America
- United States
- Maryland > Baltimore (0.04)
- Pennsylvania
- Philadelphia County > Philadelphia (0.04)
- Allegheny County > Pittsburgh (0.04)
- New York > New York County
- New York City (0.04)
- Michigan > Washtenaw County
- Ann Arbor (0.04)
- Canada > Quebec
- Montreal (0.04)
- United States
- Europe
- Belgium (0.04)
- Sweden > Vaestra Goetaland
- Gothenburg (0.04)
- Greece > Attica
- Athens (0.04)
- Germany > Brandenburg
- Potsdam (0.05)
- France > Occitanie
- Hérault > Montpellier (0.04)
- Asia
- North America
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Information Technology > Security & Privacy (1.00)
- Technology:
- Information Technology
- Software Engineering (1.00)
- Software > Programming Languages (1.00)
- Security & Privacy (1.00)
- Information Management (0.93)
- Data Science (0.87)
- Artificial Intelligence
- Representation & Reasoning (1.00)
- Natural Language
- Large Language Model (0.68)
- Text Processing (0.67)
- Machine Learning > Neural Networks
- Deep Learning (1.00)
- Information Technology