Related projects
Discover more projects across a range of sectors and discipline — from AI to cleantech to social innovation.
Code review plays a key role in software development by helping teams understand why a change was made and how it fits into the broader project. A major part of this understanding comes from the commit message, which is supposed to accurately describe the intent and scope of the corresponding code changes. However, in many real-world projects, commit messages are incomplete, outdated, or simply do not match what the code actually does. This misalignment creates confusion for reviewers and increases the time needed to understand and validate a change.
To address this challenge, many open-source communities discuss and correct misleading commit messages during code review. These discussions provide valuable examples of how commit messages should be improved and why certain messages fail to reflect the code.
This project builds on that real-world practice by creating a dataset of aligned and misaligned commit messages drawn from open-source code review discussions. We then train language models to automatically detect when a commit message does not accurately reflect the underlying changes and to suggest improvements.
The goal is to support developers and reviewers by making commit messages clearer, reducing review time, and improving overall code quality.
Moataz Chouchen
National School of Computer Science (ENSI), Tunisia
Computer science
Artificial Intelligence
Concordia University
Globalink Research Award
Discover more projects across a range of sectors and discipline — from AI to cleantech to social innovation.
Find the perfect opportunity to put your academic skills and knowledge into practice!
Find ProjectsThe strong support from governments across Canada, international partners, universities, colleges, companies, and community organizations has enabled Mitacs to focus on the core idea that talent and partnerships power innovation — and innovation creates a better future.
Mitacs is funded by the Government of Canada, the Government of Alberta, the Government of British Columbia, Research Manitoba, the Government of New Brunswick, the Government of Newfoundland and Labrador, the Government of Nova Scotia, the Government of Ontario, Innovation PEI, the Government of Quebec, the Government of Saskatchewan, and the Government of Yukon.