University of British Columbia
General diversity challenges in open source to rust community insights and the role of code language models
Abstract
dc:descriptionOpen-source software (OSS) communities drive technological innovation and collaboration in today’s software-driven globe. However, fostering a healthy and thriving OSS ecosystem necessitates a solid commitment to Diversity, Equity, and Inclusion (DEI). This thesis investigates the multifaceted aspects of diversity within OSS communities, with a particular focus on the Rust programming language. The study begins with a survey-based analysis to understand the diversity perceptions of racialized contributors, revealing significant disparities in their experiences compared to non-racialized counterparts, especially in attaining influential maintainer roles. Building on these insights, a network analysis of the Rust ecosystem was conducted by examining pull request data from key repositories, highlighting low geographic and gender diversity, as well as a concentration of contributions in a few countries and among male contributors. This analysis emphasizes the need for targeted DEI initiatives to enhance inclusivity and resilience within the Rust community. Additionally, the thesis explores the potential of Code Language Models (CLMs) as technological solutions to mitigate the high learning curve associated with Rust. An empirical evaluation of PolyCoder, a CLM designed for low-resource scenarios, was performed using translated code generation benchmarks. The findings indicate that while PolyCoder shows promise, its performance in multilingual and low-resource contexts like Rust remains limited, highlighting the necessity for more robust evaluation methodologies and enhanced tooling. By integrating survey research, network analysis, and CLM evaluation, this thesis offers a holistic view of the challenges and opportunities in promoting diversity and sustainability within OSS. The conclusions advocate for a dual approach that addresses both human-centric diversity challenges and leverages technological advancements to create a more inclusive and resilient open-source environment.
Degree
thesis:*- Name thesis:degree_name
- Master of Science - MSc
- Level thesis:degree_level
- master's
- Discipline thesis:degree_discipline
- Computer Science
- Grantor dc:publisher
- University of British Columbia
- Year dc:date
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Dandamudi, Rohit
- Contributors dc:contributor
-
- Rodríguez-Pérez, Gema
Rights
dc:rights- Statement dc:rights
-
- Attribution-NonCommercial-NoDerivatives 4.0 International
- Language dc:language
- eng
Identifiers
dc:identifier.*- Handle dc:identifier
- http://hdl.handle.net/2429/89868