Context: Interest in diversity in software development has significantly increased in recent years. Reporting on diversity in software projects can enhance user trust and assist regulators in evaluating adoption. Recent AI directives include clauses that mandate diversity information during development, highlighting the growing interest of public regulators. However, current documentation often neglects diversity in favor of technical features, partly due to a lack of tools for its description and annotation. Objectives: This work introduces the Software Diversity Card, a structured approach for documenting and sharing diversity-related aspects within software projects. It aims to profile the various teams involved in software development and governance, including user groups in testing and software adaptations for diverse social groups. Methods: We conducted a literature review on diversity and inclusion in software development and analyzed 1,000 top-starred Open Source Software (OSS) repositories on GitHub to identify diversity-related information. Moreover, we present a diversity modeling language, a toolkit for generating cards using it, and a study of its application in two real-world software projects. Results: Despite the growing awareness of diversity in the research community, our analysis found a notable lack of diversity reporting in OSS projects. Applying the card to real-world examples highlighted challenges such as balancing anonymity and transparency, managing sensitive data, and ensuring authenticity. Conclusion: Our proposal can enhance diversity practices in software development, support public administrations in software assessment, and help businesses promote diversity as a key asset.
翻译:背景:近年来,对软件开发多样性的关注显著增加。报告软件项目的多样性可以增强用户信任,并协助监管机构评估采纳情况。近期的人工智能指令包含了要求在开发过程中提供多样性信息的条款,凸显了公共监管机构日益增长的兴趣。然而,当前文档通常忽视多样性而偏向技术特性,部分原因在于缺乏描述和注释多样性的工具。目标:本研究引入软件多样性卡片,这是一种用于在软件项目中记录和共享多样性相关方面的结构化方法。它旨在描述参与软件开发与治理的各类团队,包括测试中的用户群体以及针对不同社会群体的软件适配。方法:我们进行了关于软件开发中多样性与包容性的文献综述,并分析了GitHub上1,000个高星开源软件(OSS)仓库,以识别多样性相关信息。此外,我们提出了一种多样性建模语言、一个使用该语言生成卡片的工具包,以及对其在两个实际软件项目中应用的研究。结果:尽管研究社区对多样性的认识不断提高,我们的分析发现OSS项目中多样性报告明显缺乏。将卡片应用于实际案例突显了诸如平衡匿名性与透明度、管理敏感数据以及确保真实性等挑战。结论:我们的提案可以加强软件开发中的多样性实践,支持公共管理部门进行软件评估,并帮助企业将多样性作为关键资产进行推广。