arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.11985cs.SE
收藏

开源软件项目中不道德行为的自动检测

Automatic Detecting Unethical Behavior in Open-source Software Projects

Hsu Myat Win, Haibo Wang, Shin Hwei Tan

摘要:

鉴于开源软件(OSS)项目的快速增长,道德考虑变得越来越重要。过去的研究集中在特定的伦理问题上(例如,开放源码软件中的性别偏见和公平性)。在OSS项目中,几乎没有关于不同类型的不道德行为的研究。本文首次从利益相关者的角度对OSS项目中的不道德行为进行了研究。我们对316个GitHub问题的研究提供了一个由六个道德原则指导的15种不道德行为的分类(例如,新的不道德行为的例子包括软分叉(复制一个仓库而不分叉)和自我推广(推广一个仓库而不自我识别为仓库的贡献者)。我们还确定了18种受不道德行为影响的软件工件。在我们的研究中发现的各种类型的不道德行为(1)在GitHub中做出贡献时,需要引起开发人员和研究人员的注意,(2)指出了OSS项目中自动检测不道德行为的未来研究。基于我们的研究,我们提出了Etor,一种可以自动检测六种类型的不道德行为的方法,通过使用本体工程和语义Web规则语言(SWRL)规则来建模GitHub属性和软件工件。我们对195,621个GitHub问题(1,765个GitHub存储库)的评估显示,Etor可以自动检测548个不道德行为,平均真阳性率为74.8%。这表明了OSS项目中自动检测不道德行为的可行性。

英文摘要:

Given the rapid growth of Open-Source Software (OSS) projects, ethical considerations are becoming more important. Past studies focused on specific ethical issues (e.g., gender bias and fairness in OSS). There is little to no study on the different types of unethical behavior in OSS projects. We present the first study of unethical behavior in OSS projects from the stakeholders' perspective. Our study of 316 GitHub issues provides a taxonomy of 15 types of unethical behavior guided by six ethical principles (e.g., autonomy).Examples of new unethical behavior include soft forking (copying a repository without forking) and self-promotion (promoting a repository without self-identifying as contributor to the repository). We also identify 18 types of software artifacts affected by the unethical behavior. The diverse types of unethical behavior identified in our study (1) call for attentions of developers and researchers when making contributions in GitHub, and (2) point to future research on automated detection of unethical behavior in OSS projects. Based on our study, we propose Etor, an approach that can automatically detect six types of unethical behavior by using ontological engineering and Semantic Web Rule Language (SWRL) rules to model GitHub attributes and software artifacts. Our evaluation on 195,621 GitHub issues (1,765 GitHub repositories) shows that Etor can automatically detect 548 unethical behavior with 74.8% average true positive rate. This shows the feasibility of automated detection of unethical behavior in OSS projects.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑