Exploring Moral Principles Exhibited in OSS: A Case Study on GitHub Heated Issues
Ramtin Ehsani, Rezvaneh Rezapour, Preetha Chatterjee

TL;DR
This study investigates how moral principles relate to toxic language in GitHub discussions, using Moral Foundations Theory to identify patterns and potential links to toxicity, aiming to improve detection methods.
Contribution
It applies Moral Foundations Theory to analyze moral principles in OSS toxicity, revealing potential associations and highlighting the need for tailored toxicity detection tools.
Findings
Moral principles are linked to types of toxicity in OSS discussions.
Each moral principle correlates with at least one toxicity type.
MFT shows promise for enhancing toxicity detection in OSS.
Abstract
To foster collaboration and inclusivity in Open Source Software (OSS) projects, it is crucial to understand and detect patterns of toxic language that may drive contributors away, especially those from underrepresented communities. Although machine learning-based toxicity detection tools trained on domain-specific data have shown promise, their design lacks an understanding of the unique nature and triggers of toxicity in OSS discussions, highlighting the need for further investigation. In this study, we employ Moral Foundations Theory to examine the relationship between moral principles and toxicity in OSS. Specifically, we analyze toxic communications in GitHub issue threads to identify and understand five types of moral principles exhibited in text, and explore their potential association with toxic behavior. Our preliminary findings suggest a possible link between moral principles…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Hate Speech and Cyberbullying Detection · Adversarial Robustness in Machine Learning
