Detecting developer emotions in GitHub commits using large language models: implications for project health
| bracu.degree.level | Undergraduate | |
| bracu.type.group | Student Works | |
| datacite.rights | Open Access | |
| dc.contributor.advisor | Azmain, Md. Aquib | |
| dc.contributor.author | Fariha, Fahmida Haque | |
| dc.contributor.author | Ishan, Insaniyat | |
| dc.contributor.author | Zahid, Mushfiq | |
| dc.contributor.author | Akram, Zawad Al | |
| dc.contributor.department | Department of Computer Science and Engineering | |
| dc.date.accessioned | 2026-01-18T06:06:48Z | |
| dc.date.available | 2026-01-18T06:06:48Z | |
| dc.date.copyright | 2025 | |
| dc.date.issued | 2025-10 | |
| dc.description | Cataloged from PDF version of thesis. | |
| dc.description | Includes bibliographical references (pages 50-52). | |
| dc.description | This thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science, 2025. | en_US |
| dc.description.abstract | Acknowledging the emotions of developers is crucial for maintaining productivity, team morale, and project success. Developers’ emotions are often reflected in their commit messages which can reveal subtle cues of satisfaction, frustration, or caution. Monitoring these signals helps project managers recognize early signs of stress and respond proactively, leading to healthier team dynamics and better project outcomes. This thesis investigates emotions in formal GitHub commit messages and their connection to long-term project health. A Project Health Dataset was built by sampling 20,000 commits from 34 repositories and aggregating them quarterly across four dimensions: bug activity, productivity, emotions, and code churn. From this, a gold-standard set of 2,000 commits was manually annotated into four categories: Satisfaction, Frustration, Caution, and Neutral. Several zero-shot models were evaluated, and a fine-tuned CodeBERT model named CommiTune was developed which was trained on both human-labeled and LLaMA-augmented data. CommiTune achieved a Macro-F1 of 0.88 and Accuracy of 86% on a held-out test set which significantly outperformed all baselines. When applied at scale, the model revealed that while short-term emotion trends show weak correlations with project metrics however, long-term patterns are strong. Frustration aligns with higher bugfix rates, satisfaction correlates with lower churn and caution signals often precede rollback activity. This work contributes a novel dataset, a high-performing finetuned model and empirical evidence that developer emotions can serve as meaningful indicators of software quality and stability over time. | en_US |
| dc.description.degree | Bachelor of Science in Computer Science | |
| dc.description.statementofresponsibility | Fahmida Haque Fariha | |
| dc.description.statementofresponsibility | Insaniyat Ishan | |
| dc.description.statementofresponsibility | Mushfiq Zahid | |
| dc.description.statementofresponsibility | Zawad Al Akram | |
| dc.format.extent | 71 pages | |
| dc.identifier.other | ID 21201483 | |
| dc.identifier.other | ID 24141127 | |
| dc.identifier.other | ID 21201281 | |
| dc.identifier.other | ID 21201589 | |
| dc.identifier.uri | http://hdl.handle.net/10361/27447 | |
| dc.language.iso | en | en_US |
| dc.publisher | BRAC University | en_US |
| dc.rights | BRAC University theses are protected by copyright. They may be viewed from this source for any purpose, but reproduction or distribution in any format is prohibited without written permission. | |
| dc.subject | Large language models | en_US |
| dc.subject | Software development | en_US |
| dc.subject | Sentiment analysis | en_US |
| dc.subject | Emotion detection | en_US |
| dc.subject | Software developers | en_US |
| dc.subject | Developers’ emotions | en_US |
| dc.subject | GitHub commit | en_US |
| dc.subject | Software quality | en_US |
| dc.subject | Project health | en_US |
| dc.subject.lcsh | Human-computer interaction. | |
| dc.subject.lcsh | Software engineering. | |
| dc.subject.lcsh | Deep learning (Machine learning). | |
| dc.subject.lcsh | Emotions--Data processing. | |
| dc.subject.lcsh | Computer software--Quality control. | |
| dc.title | Detecting developer emotions in GitHub commits using large language models: implications for project health | en_US |
| dc.type | Thesis | en_US |