TL;DR
While diversity in software development improves team performance and user trust, it is rarely documented or reported. This paper introduces the Software Diversity Card, a structured framework and domain-specific language (DSL) designed to help projects transparently profile their teams, target users, and governance structures. By analyzing 1,000 GitHub repositories and validating the framework on real-world projects, the authors expose a massive gap in current diversity reporting and provide the open-source tools to fix it.
What Problem Does This Paper Address?
Software engineering documentation heavily prioritizes technical specifications, completely sidelining social and demographic factors. While the Machine Learning (ML) community has embraced transparency frameworks like "Datasheets for Datasets," these focus strictly on data assets and ignore the broader complexities of traditional software development (such as coding teams, crowd-testers, and project governance).
This lack of standardized reporting makes it difficult for users to know if they can trust a product, for public regulators to enforce emerging diversity mandates (like the EU AI Act), and for software projects to ensure they aren't inadvertently building exclusionary tools.
Methods
The authors tackle this problem by designing a comprehensive reporting framework and a supporting toolkit:
- Empirical Analysis: They built an LLM-based tool (powered by GPT-4o-mini) to scan 1,000 active, top-starred GitHub repositories for diversity-related documentation.
- Framework Architecture: They created a tripartite metamodel for the Software Diversity Card, dividing it into:
- Participants: Profiling developers, testers, and non-coding contributors (e.g., translators, issue reporters).
- Usage Context: Defining target communities and specific software adaptations (e.g., accessibility features).
- Governance: Documenting project types, decision-making processes, and funding bodies.
- Tooling Development: To make card creation accessible, they implemented the framework via a Domain-Specific Language (DSL) using Langium. They delivered this through two interfaces: a Visual Studio Code extension for developers and a form-based Streamlit web application for non-technical stakeholders.
- Real-World Validation: They conducted user studies to evaluate the DSL's usability and applied the framework to two mature open-source projects: Decidim (a participatory democracy platform) and Besser (a low-code platform).
Datasets
- GitHub Repository Dataset: A newly compiled dataset of 1,000 top-starred repositories on GitHub (200 each for C#, Java, JavaScript, Python, and TypeScript) with recent commit activity as of January 2025.
- Case Study Data: Qualitative interview and documentation data from the Decidim and Besser software projects.
Key Insights and Ideas
- The "Anonymity-First" Clash: Open-source software (OSS) communities often pride themselves on contributor anonymity to reduce bias and encourage equal participation. However, this culture makes it incredibly difficult to accurately profile and report on community diversity, creating a fundamental tension between privacy and transparency.
- Diversity is Evolving, Not Static: Software teams change rapidly, especially when relying on external contributors. Capturing diversity isn't a one-time documentation task; it requires continuous re-evaluation to remain accurate.
- The Hidden Data Problem: The case studies revealed that projects do perform diversity-relevant work (like usability and accessibility testing for marginalized groups), but they rarely publish it. The Software Diversity Card acts as a practical prompt to make this hidden value visible to public administrations and users.
Key Results
- Severe Lack of Reporting: The GitHub analysis revealed that fewer than 30% of top repositories mention their development team (29.6%) or non-coding contributors (29.7%). When they do, they focus almost exclusively on team size and functional roles; geographic and gender diversity are rarely ever commented on.
- Testing Blindspot: Only 3.5% of repositories mentioned user testing, and details about the testing labor force (0.3%) or reporting platforms (0.2%) were practically non-existent.
- High Tool Usability: In empirical evaluations, the DSL reading exercise yielded a 93.5% correct comprehension rate. User evaluation scores for the framework's usefulness, completeness, and usability were all consistently positive, averaging above 4 out of 5 on a Likert scale.
Limitations and Future Work
- Scope & Bias: The empirical study was limited to public OSS documentation, which may not reflect commercial software practices. Furthermore, the case studies were European-centric, meaning the findings might not seamlessly generalize to regions with different cultural or regulatory norms.
- LLM Reliance: The repository analysis relied on GPT-4o-mini, which carries a minor risk of subtle inaccuracies or omissions, though this was mitigated by a 92.54% human validation agreement during testing.
- Future Directions: The authors plan to extend the framework to track diversity at a fine-grained task level (e.g., analyzing if certain roles, like project managers, lack gender diversity). They also aim to integrate environmental impact data (carbon footprints), automate compliance checking using Object Constraint Language (OCL), and account for the biases of AI agents acting within software projects.
Summary updated