4.6 Article

Automated Identification of Toxic Code Reviews Using ToxiCR

出版社

ASSOC COMPUTING MACHINERY
DOI: 10.1145/3583562

关键词

Toxicity; code review; sentiment analysis; Natural Language Processing; tool development

向作者/读者索取更多资源

Toxic conversations during software development can have detrimental effects on FOSS projects, leading to demotivation and attrition. ToxiCR, a supervised learning based toxicity identification tool, outperforms existing detectors by achieving 95.8% accuracy and an 88.9% F1-score in identifying toxic texts in code review comments.
Toxic conversations during software development interactions may have serious repercussions on a Free and Open Source Software (FOSS) development project. For example, victims of toxic conversations may become afraid to express themselves, therefore get demotivated, and may eventually leave the project. Automated filtering of toxic conversations may help a FOSS community maintain healthy interactions among its members. However, off-the-shelf toxicity detectors perform poorly on a software engineering dataset, such as one curated from code review comments. To counter this challenge, we present ToxiCR, a supervised learning based toxicity identification tool for code review interactions. ToxiCR includes a choice to select one of the 10 supervised learning algorithms, an option to select text vectorization techniques, eight preprocessing steps, and a large-scale labeled dataset of 19,651 code review comments. Two out of those eight preprocessing steps are software engineering domain specific. With our rigorous evaluation of the models with various combinations of preprocessing steps and vectorization techniques, we have identified the best combination for our dataset that boosts 95.8% accuracy and an 88.9% F1-score in identifying toxic texts. ToxiCR significantly outperforms existing toxicity detectors on our dataset. We have released our dataset, pre-trainedmodels, evaluation results, and source code publicly, which is available at https://github.com/WSU- SEAL/ToxiCR.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.6
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据