Gender Bias in Open-Source Programming

Author: North Carolina State University
Published: Tuesday 2nd May 2017
Summary: To what extent does gender bias exist when pull requests are judged on GitHub.


A study comparing acceptance rates of contributions from men and women in an open-source software community finds that, overall, women's contributions tend to be accepted more often than men's - but when a woman's gender is identifiable, they are rejected more often.

"There are a number of questions and concerns related to gender bias in computer programming, but this project was focused on one specific research question: To what extent does gender bias exist when pull requests are judged on GitHub?" says Emerson Murphy-Hill, corresponding author of a paper on the study and an associate professor of computer science at North Carolina State University.

GitHub is an online programming community that fosters collaboration on open-source software projects. When people identify ways to improve code on a given project, they submit a "pull request." Those pull requests are then approved or denied by "insiders," the programmers who are responsible for overseeing the project.

For this study, researchers looked at more than 3 million pull requests from approximately 330,000 GitHub users, of whom about 21,000 were women.

The researchers found that 78.7 percent of women's pull requests were accepted, compared to 74.6 percent for men.

However, when looking at pull requests by people who were not insiders on the relevant project, the results got more complicated.

Programmers who could easily be identified as women based on their names or profile pictures had lower pull request acceptance rates (58 percent) than users who could be identified as men (61 percent). But woman programmers who had gender neutral profiles had higher acceptance rates (70 percent) than any other group, including men with gender neutral profiles (65 percent).

"Our results indicate that gender bias does exist in open-source programming," Murphy-Hill says. "The study also tells us that, in general, women on GitHub are strong programmers. We don't think that's because gender affects one's programming skills, but likely stems from strong self-selection among women who submit pull requests on the site."

"We also want to note that this paper builds on a previous, un-peer-reviewed version of the paper, which garnered a lot of input that improved the research," Murphy-Hill says.

The paper, "Gender Differences and Bias in Open Source: Pull Request Acceptance of Women Versus Men," is published in the open-access journal PeerJ Computer Science. The paper was co-authored by Josh Terrell, a former undergraduate at Cal Poly; Andrew Kofink, a former undergraduate at NC State; Justin Middleton, a Ph.D. student at NC State; Clarissa Rainear, an undergraduate at NC State; Chris Parnin, an assistant professor of computer science at NC State; and Jon Stallings, an assistant professor of statistics at NC State. The work was done with support from the National Science Foundation under grant number 1252995.


Similar Topics


From our Gender Equality section - Full List (20 Items)

Send us your coming events and LGBTQ related news stories.


LGBT Community Connectedness Differences Between LGB Republicans and LGB Democrats


Black Men and Sexual Minority Men Overrepresented in U.S. Among Commited Sex Offenders


Over Five Million LGBT Adults in the U.S. are Religious


Canada Reintroduces Legislation to Criminalize Conversion Therapy Related Conduct


No Difference in Health Outcomes for Transgender and Cisgender Parents


LGBT People 4 Times More Likely to be Victims of Violent Crime


Pathways Into Poverty for LGBTQ Adults Study


A Summary of Data on LGBT Suicide for Suicide Prevention Month



Tsara Shelton
"Storytellers are powerful and we are all storytellers," suggests Tsara Shelton, author of the book Spinning in Circles and Learning from Myself: A Collection of Stories that Slowly Grow Up..


LGBT Awareness & Events
List of important LGBT awareness dates and coming sexual diversity events.


Transgender Reporting Guide - English
Guide for those writing on transgender and LGBT community - Spanish Version.
Sexuality Definitions
List of definitions and glossary of sexual terms, abbreviations and their meanings.