毒性的图景:GitHub上毒性的实证研究
The Landscape of Toxicity: An Empirical Investigation of Toxicity on GitHub
AI总结:
该研究通过大规模混合方法实证分析2828个GitHub开源项目,使用ToxiCR检测并手动验证评论毒性,揭示了毒性类型、项目特征与参与者行为的关联,为缓解开源社区毒性提供了数据支撑。
摘要:
GitHub上的毒性行为会严重影响开源软件(OSS)开发社区。为缓解此类行为,需更好地理解其本质,以及项目环境和参与者的各种可测量特征与毒性流行率的关联。为此,我们基于分层抽样策略随机选取2828个GitHub开源项目,开展了大规模混合方法实证研究。使用SE领域特定的毒性检测器ToxiCR,我们自动将每条评论分类为有毒或无毒。此外,我们手动分析了600条随机评论样本,以验证ToxiCR的性能并深入了解数据集中毒性的本质。研究结果表明,亵渎是GitHub上最常见的毒性行为,其次是挑衅和侮辱。项目受欢迎程度与毒性流行率呈正相关,而问题解决率则呈负相关。企业赞助的项目毒性较低,但游戏项目的毒性是非游戏项目的七倍。曾发表过有毒评论的OSS贡献者更有可能重复此类行为,且这些人更易成为有毒文本的攻击目标。
英文摘要:
Toxicity on GitHub can severely impact Open Source Software (OSS) development communities. To mitigate such behavior, a better understanding of its nature and how various measurable characteristics of project contexts and participants are associated with its prevalence is necessary. To achieve this goal, we conducted a large-scale mixed-method empirical study of 2,828 GitHub-based OSS projects randomly selected based on a stratified sampling strategy. Using ToxiCR, an SE domain-specific toxicity detector, we automatically classified each comment as toxic or non-toxic. Additionally, we manually analyzed a random sample of 600 comments to validate ToxiCR's performance and gain insights into the nature of toxicity within our dataset. The results of our study suggest that profanity is the most frequent toxicity on GitHub, followed by trolling and insults. While a project's popularity is positively associated with the prevalence of toxicity, its issue resolution rate has the opposite association. Corporate-sponsored projects are less toxic, but gaming projects are seven times more toxic than non-gaming ones. OSS contributors who have authored toxic comments in the past are significantly more likely to repeat such behavior. Moreover, such individuals are more likely to become targets of toxic texts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。