Printer Icon

Gender Bias in Open-Source Programming

By North Carolina State University - 2017-05-02

Summary

To what extent does gender bias exist when pull requests are judged on GitHub.

"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."

Main Document

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.

Related Information





Topless Equality Challenges U.S. Courts On GoTopless 10th Anniversary


Women's Mental Health Damaged by Breastaurant Employment


No Evidence of Gender Bias in Philosophy



The original rainbow flag, called the Freedom Flag, was devised by Gilbert Baker in 1978. The design has undergone several revisions since its debut with 8 colored stripes, and today the most common variant consists of 6 stripes: red, orange, yellow, green, blue, and violet.

Original rainbow flag showing meaning of the 8 colors.
Picture of Gilbert Baker's original Freedom Flag showing the meaning of the 8 colors.

Gender Norms Still Important For Female College Major Choice


Same-sex Couples Do Not Influence Their Adoptive Children's Gender Identity


Transgender TV Characters Have Power to Shape Attitudes


Cite This Document