Experiment 1 – Latin Square 2: CCT5 & COME on MCMD-NT
This repository contains the artifacts for Latin Square 2 of Experiment 1, which corresponds to the reproduction of the original experiment by Wu et al. (2025) on the MCMD-NT dataset using the DNN-based commit message generation baselines CCT5 and COME.
Models
CCT5
CCT5 is a code-change-oriented pre-trained model built on top of the T5 architecture, initialized from CodeT5 weights. It is further specialized through pre-training on CodeChangeNet, a commit-diff dataset containing roughly 40GB of diff and commit message pairs (~1.5M pairs). It was released at ESEC/FSE 2023.
For MCMD-NT: reused released MCMD-trained checkpoint from original authors (same checkpoint as MCMD, since MCMD-NT shares the same languages and structure)
COME
COME (Commit Message Generation with Modification Embedding) is a hybrid DNN approach that combines:
A fine-tuned CodeT5 component for natural language generation
Modification embedding to represent code changes as numerical vectors
An SVM-based decision algorithm to select between generated and retrieved candidate messages
It does not perform additional large-scale pre-training on top of CodeT5. Released at ISSTA 2023.
For MCMD-NT: reused language-specific MCMD-trained checkpoints released by original COME authors (one per language)
Dataset
MCMD-NT – Part of MCMD-New; newer commits from repositories also present in the original MCMD dataset.
Property
Details
Languages
Java, C++, C#, Python, JavaScript
Repositories
367 repositories shared with the MCMD dataset
Total commits
229,492
Date range
January 1st, 2022 onwards (newer than MCMD)
Split
80% train / 10% validation / 10% test
Authors
Wu et al. (2025)
MCMD-NT was constructed to reduce the risk of data leakage, using newer commits from the same repositories as MCMD to test model generalization to more recent data without introducing new programming languages.
Repository Structure
Each run folder corresponds to a programming language evaluated in this Latin Square:
Contains the model checkpoint files for CCT5 and COME. These are the same checkpoints used for MCMD (LS1), reused here since MCMD-NT shares the same languages and format as MCMD.
predictions/
Contains the generated commit messages produced by each model on the MCMD-NT test set for the corresponding language, stored as .txt files with one prediction per line aligned to the reference messages.
metrics/
Contains the computed evaluation metric scores for each model-language combination. Metrics are calculated by comparing predictions against the reference messages in the MCMD-NT test set.
Evaluation Metrics
Metric
Description
BLEU
Bilingual Evaluation Understudy — measures n-gram precision between generated and reference messages
METEOR
Metric for Evaluation of Translation with Explicit Ordering — extends BLEU with recall, stemming, and synonym matching
ROUGE-L
Recall-Oriented Understudy for Gisting Evaluation (LCS variant) — measures longest common subsequence overlap