Beyond Adoption: Examining the Evolution and Impact of Code of Conduct on Open Source Communities
Open Access
- 12 April 2026
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 2376-2388
Abstract
While open source software (OSS) communities thrive on collaboration, conflicts such as toxic behavior and discrimination can surface, threatening project sustainability. To address these concerns, many communities have adopted a Code of Conduct (CoC) as a mechanism for governing and moderating members’ behavior. Prior research has explored the motivations behind CoC adoption and their content updates, but it remains unclear how different communities are using and maintaining CoCs over time after initial adoption and how adoption impacts communities. To bridge these gaps, in our study, we compile a large-scale dataset of CoCs along with their change histories from GitHub to quantitatively (1) understand the evolution of CoC content and identify change patterns across different communities, and (2) investigate the potential impact of CoC adoption on community engagement. Our results show that OSS communities with a CoC attract more new contributors in both the short- and long-term. However, CoC adoption also leads to a short-term increase in disengagement among existing contributors, with very limited effects on long-term disengagement. The insights from this study can provide guidance for maintaining CoCs and offer statistically significant evidence of their impact.This publication has 28 references indexed in Scilit:
- The Introduction of README and CONTRIBUTING Files in Open Source Software Development2025
- A Bot-Based Approach to Manage Codes of Conduct in Open-Source Projects2025
- Is It Enough to Recommend Tasks to Newcomers? Understanding Mentoring on Good First Issues2023
- Difference-in-differences with variation in treatment timingJournal of Econometrics, 2021
- Difference-in-Differences with multiple time periodsJournal of Econometrics, 2021
- An Initial Exploration of the “Good First Issue” Label for Newcomer Developers2021
- Why Do People Give Up FLOSSing? A Study of Contributor Disengagement in Open Source2019
- Understanding the Factors That Impact the Popularity of GitHub Repositories2016
- GHTorrent: Github's data from a firehose2012
- Silhouettes: A graphical aid to the interpretation and validation of cluster analysisJournal of Computational and Applied Mathematics, 1987