Psychological Safety Framework in Pull-based Open Source Projects

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sesari, Emeralda, Sarro, Federica, Rastogi, Ayushi
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914568172732416
author Sesari, Emeralda
Sarro, Federica
Rastogi, Ayushi
author_facet Sesari, Emeralda
Sarro, Federica
Rastogi, Ayushi
contents Psychological safety refers to the belief that team members can speak up or make mistakes without fear of negative consequences. While it is recognized as important in traditional software teams, its role in open-source software development remains understudied. Open-source contributors often collaborate without formal roles or structures, where interpersonal relationships can significantly influence participation. Code review, a central and collaborative activity in modern software development, offers a valuable context for observing such team interactions. This paper introduces a framework grounded in psychological safety theory to identify behaviors that signal PS in pull request interactions. We operationalize these behaviors using 10 observable variables derived from 60,684 PRs across 26 popular GitHub repositories and construct a PS index at repository level. We then empirically test the relationship between this index and contributors' short-term (within 1 year) and long-term (over 4-5 years) sustained participation using three logistic regression models. Contributors are more likely to remain active in repositories with higher levels of psychological safety. Psychological safety is positively associated with both short-term and long-term sustained participation. However, prior participation emerges as a stronger predictor of future engagement, reducing the effect of psychological safety when accounted for. This study introduces a a theory-informed framework for measuring psychological safety through pull request data and provides empirical evidence of its relevance in sustaining participation within open-source development.
format Preprint
id arxiv_https___arxiv_org_abs_2504_17510
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Psychological Safety Framework in Pull-based Open Source Projects
Sesari, Emeralda
Sarro, Federica
Rastogi, Ayushi
Software Engineering
Psychological safety refers to the belief that team members can speak up or make mistakes without fear of negative consequences. While it is recognized as important in traditional software teams, its role in open-source software development remains understudied. Open-source contributors often collaborate without formal roles or structures, where interpersonal relationships can significantly influence participation. Code review, a central and collaborative activity in modern software development, offers a valuable context for observing such team interactions. This paper introduces a framework grounded in psychological safety theory to identify behaviors that signal PS in pull request interactions. We operationalize these behaviors using 10 observable variables derived from 60,684 PRs across 26 popular GitHub repositories and construct a PS index at repository level. We then empirically test the relationship between this index and contributors' short-term (within 1 year) and long-term (over 4-5 years) sustained participation using three logistic regression models. Contributors are more likely to remain active in repositories with higher levels of psychological safety. Psychological safety is positively associated with both short-term and long-term sustained participation. However, prior participation emerges as a stronger predictor of future engagement, reducing the effect of psychological safety when accounted for. This study introduces a a theory-informed framework for measuring psychological safety through pull request data and provides empirical evidence of its relevance in sustaining participation within open-source development.
title Psychological Safety Framework in Pull-based Open Source Projects
topic Software Engineering
url https://arxiv.org/abs/2504.17510