[Paper Review] On the impact of pull request decisions on future contributions
This study investigates how pull request (PR) decisions—acceptance, rejection, or inaction—affect future contributions in open-source projects. Using survival analysis on PR data from three large GitHub projects (Kubernetes, Rails, Ansible), it finds that higher PR acceptance rates correlate with increased future contributions, while rejections significantly reduce the likelihood of subsequent contributions, highlighting the need for responsive and encouraging maintainer practices.
The pull-based development process has become prevalent on platforms such as GitHub as a form of distributed software development. Potential contributors can create and submit a set of changes to a software project through pull requests. These changes can be accepted, discussed or rejected by the maintainers of the software project, and can influence further contribution proposals. As such, it is important to examine the practices that encourage contributors to a project to submit pull requests. Specifically, we consider the impact of prior pull requests on the acceptance or rejection of subsequent pull requests. We also consider the potential effect of rejecting or ignoring pull requests on further contributions. In this preliminary research, we study three large projects on extsf{GitHub}, using pull request data obtained through the extsf{GitHub} API, and we perform empirical analyses to investigate the above questions. Our results show that continued contribution to a project is correlated with higher pull request acceptance rates and that pull request rejections lead to fewer future contributions.
Motivation & Objective
- To understand how prior pull request (PR) decisions influence future contribution behavior in open-source software projects.
- To examine whether PR rejections or prolonged inaction (unanswered PRs) discourage contributors from submitting future PRs.
- To quantify the impact of PR acceptance and rejection rates on the likelihood of continued contribution using empirical data.
- To inform project maintainers about social and behavioral dynamics affecting contributor retention in pull-based development workflows.
Proposed method
- Empirical analysis of pull request data collected via the GitHub API from three large, long-lived open-source projects: Kubernetes, Rails, and Ansible.
- Application of survival analysis techniques to model the time-to-next-PR submission, with predictors including prior PR acceptance/rejection rates and time since first contribution.
- Categorization of contributors based on PR acceptance rate percentiles to assess the impact of consistent acceptance on future contribution likelihood.
- Analysis of PR aging to assess the proportion of PRs accepted or rejected over time, identifying thresholds beyond which PRs are more likely to be rejected.
- Use of hazard ratios to quantify the effect of each predictor (e.g., acceptance rate, prior PR count, time since first PR) on the probability of submitting a new PR.
- Exclusion of PRs left open indefinitely to focus on decisions with clear outcomes (accept/reject), acknowledging potential limitations in GitHub API status accuracy.
Experimental results
Research questions
- RQ1RQ1: How are PR acceptance and rejection rates influenced by previous PRs submitted by the same contributor?
- RQ2RQ2: To what extent does PR acceptance or rejection influence the likelihood of future contributions?
- RQ3RQ3: To what extent do PRs left open for extended periods influence future contributions?
Key findings
- Contributors are significantly more likely to submit future PRs when their prior PRs have high acceptance rates, with a 10% increase in acceptance rate leading to a 1.0774-fold increase in the hazard of submitting a new PR in Kubernetes.
- Each prior PR submitted by a contributor increases the hazard of submitting another PR by a factor of 1.0032, indicating a cumulative positive effect of experience and familiarity.
- The longer a PR remains open, the higher the probability it will eventually be rejected; thresholds for this shift were 28 days (Ansible), 5 days (Rails), and 25 days (Kubernetes).
- PR rejections reduce the likelihood of future contributions, suggesting that rejection acts as a demotivating factor for contributors.
- Contributors who have their PRs rejected are less likely to submit new PRs than those whose PRs were accepted, indicating a direct negative impact of rejection on retention.
- The time since a contributor's first PR has a slight negative effect on future contribution likelihood (hazard ratio 0.9984 per day), suggesting a gradual decline in engagement over time.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.