开源项目中的代码审查:性别偏见如何影响参与和结果?
Code Reviews in Open Source Projects : How Do Gender Biases Affect Participation and Outcomes?
摘要:
内容:当代软件开发组织缺乏多样性,自由和开放源码软件社区中的妇女比例甚至低于行业平均水平。虽然最近的研究结果暗示存在对女性的偏见,但目前还不清楚这种偏见在多大程度上影响各种软件开发任务的结果。目标:我们的目标是确定代码审查(或拉取请求)的结果或参与是否受到开发人员性别的影响。方法:基于这一目标,本研究共包括1010个自由/开源软件项目。我们为14个数据集中的每个数据集开发了6个回归模型(即,10个Gerrit和4个Github),以确定代码接受、审查间隔和代码审查参与是否因开发人员的性别和性别中立而异。主要发现:我们的研究结果发现,在14个数据集中,有13个数据集在代码接受过程中存在显著的性别偏见,其中7个数据集偏向男性,其余6个数据集偏向女性。我们还发现男性和女性在代码审查间隔方面存在显着差异,女性在三种情况下遇到更长的延迟,而在七种情况下则相反。我们的研究结果表明,评审员的选择是大多数项目中最具性别偏见的方面之一,在14个案例中,有11个案例中女性的代码评审参与度明显较低。由于大多数评审任务都是基于邀请,因此这一结果表明开发人员之间可能存在亲和力偏见。结论:虽然许多项目中存在性别偏见,但偏见的方向和幅度因项目规模、社区和文化而异。类似的偏见缓解策略可能并不适用于所有社区,因为偏见的特点及其根本原因各不相同。
英文摘要:
Context: Contemporary software development organizations lack diversity and the ratios of women in Free and open-source software (FOSS) communities are even lower than the industry average. Although the results of recent studies hint the existence of biases against women, it is unclear to what extent such biases influence the outcomes of various software development tasks. Aim: We aim to identify whether the outcomes of or participation in code reviews (or pull requests) are influenced by the gender of a developer.. Approach: With this goal, this study includes a total 1010 FOSS projects. We developed six regression models for each of the 14 dataset (i.e., 10 Gerrit based and four Github) to identify if code acceptance, review intervals, and code review participation differ based on the gender and gender neutral profile of a developer. Key findings: Our results find significant gender biases during code acceptance among 13 out of the 14 datasets, with seven seven favoring men and the remaining six favoring women. We also found significant differences between men and women in terms of code review intervals, with women encountering longer delays in three cases and the opposite in seven. Our results indicate reviewer selection as one of the most gender biased aspects among most of the projects, with women having significantly lower code review participation among 11 out of the 14 cases. Since most of the review assignments are based on invitations, this result suggests possible affinity biases among the developers. Conclusion: Though gender bias exists among many projects, direction and amplitude of bias varies based on project size, community and culture. Similar bias mitigation strategies may not work across all communities, as characteristics of biases and their underlying causes differ.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。