Welcome to the upgraded BRAC University Institutional Repository. We are currently organizing collections after a recent system upgrade. Homepage category counters may temporarily show lower numbers while syncing, but over 27,000 repository items remain safe and accessible. Please use the search bar to find theses, scholarly outputs, and institutional documents.

Detecting developer emotions in GitHub commits using large language models: implications for project health

bracu.degree.levelUndergraduate
bracu.type.groupStudent Works
datacite.rightsOpen Access
dc.contributor.advisorAzmain, Md. Aquib
dc.contributor.authorFariha, Fahmida Haque
dc.contributor.authorIshan, Insaniyat
dc.contributor.authorZahid, Mushfiq
dc.contributor.authorAkram, Zawad Al
dc.contributor.departmentDepartment of Computer Science and Engineering
dc.date.accessioned2026-01-18T06:06:48Z
dc.date.available2026-01-18T06:06:48Z
dc.date.copyright2025
dc.date.issued2025-10
dc.descriptionCataloged from PDF version of thesis.
dc.descriptionIncludes bibliographical references (pages 50-52).
dc.descriptionThis thesis is submitted in partial fulfillment of the requirements for the degree of Bachelor of Science in Computer Science, 2025.en_US
dc.description.abstractAcknowledging 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.degreeBachelor of Science in Computer Science
dc.description.statementofresponsibilityFahmida Haque Fariha
dc.description.statementofresponsibilityInsaniyat Ishan
dc.description.statementofresponsibilityMushfiq Zahid
dc.description.statementofresponsibilityZawad Al Akram
dc.format.extent71 pages
dc.identifier.otherID 21201483
dc.identifier.otherID 24141127
dc.identifier.otherID 21201281
dc.identifier.otherID 21201589
dc.identifier.urihttp://hdl.handle.net/10361/27447
dc.language.isoenen_US
dc.publisherBRAC Universityen_US
dc.rightsBRAC 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.subjectLarge language modelsen_US
dc.subjectSoftware developmenten_US
dc.subjectSentiment analysisen_US
dc.subjectEmotion detectionen_US
dc.subjectSoftware developersen_US
dc.subjectDevelopers’ emotionsen_US
dc.subjectGitHub commiten_US
dc.subjectSoftware qualityen_US
dc.subjectProject healthen_US
dc.subject.lcshHuman-computer interaction.
dc.subject.lcshSoftware engineering.
dc.subject.lcshDeep learning (Machine learning).
dc.subject.lcshEmotions--Data processing.
dc.subject.lcshComputer software--Quality control.
dc.titleDetecting developer emotions in GitHub commits using large language models: implications for project healthen_US
dc.typeThesisen_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
21201483, 24141127, 21201281, 21201589_CSE.pdf
Size:
2.19 MB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: