GitHub_PullRequest

Women write better computer code than men, according to new study

Written by Joseph Nordqvist

Published: 20:14, February 13, 2016

Do women write better code than men?

Researchers at Cal Poly San Luis Obispo and North Carolina University analysed data from 1.4 million users of the web-based Git repository hosting service, Github, and found that computer code written by women received a higher approval rating (on average) compared to men.

The researchers looked at the data of users who logged in to the service on April 1, 2015.

While GitHub doesn’t ask users for gender information, the researchers were able to determine gender based on information from user profiles or by matching email addresses to Google+ profiles.

Out of 4,037,953 GitHub user profiles with email addresses, the team was able to identify 1,426,121 (35.3%) of them as men or women through their public Google+ profiles – the team believes it is the first use of this technique in a large scale study.

Pull requests – proposed changes to a software project’s code – made by women on Github were more likely to be accepted than suggestions made by men. They found that 78.6% of pull requests made by women were accepted compared with 74.6% of those by men.

It should be noted that the paper is currently awaiting peer review, meaning that other experts still need to evaluate the quality of the study.

GitHub_PullRequest

The researchers were aware that the gender linking approach raised privacy concerns, but took several steps to ensure protection of identities.

They said in the paper: “First, this research has undergone human subjects IRB review, research that is based entirely on publicly available data. Second, we have informed Google about our approach to determine whether they believe that it’s a privacy violation of their users to be able to link email address to gender; they responded that it’s consistent with Google’s terms of service. Third, to protect the identities of the people described in this study to the extent possible, we do not plan to release our data that links GitHub users to genders.”

The study identified a clear gender bias

Interestingly, profiles of users who made it clear that they were female had a much lower acceptance rate than female users who didn’t provide gender information in their profile.

The researchers said that their findings identified a clear gender bias.

“For outsiders, we see evidence for gender bias: women’s acceptance rates are 71.8% when they use gender neutral profiles, but drop to 62.5% when their gender is identifiable. There is a similar drop for men, but the effect is not as strong,” the paper noted.

“Women have a higher acceptance rate of pull requests overall, but when they’re outsiders and their gender is identifiable, they have a lower acceptance rate than men.

“Our results suggest that although women on Github may be more competent overall, bias against them exists nonetheless,” the researchers concluded.


Citation: PeerJ PrePrints – “Gender Bias in Open Source: Pull Request Acceptance of Women Versus Men”, Josh Terrell, Andrew Kofink, Justin Middleton, Clarissa Rainear, Emerson Murphy-Hill, Chris Parnin

https://doi.org/10.7287/peerj.preprints.1733v1 | CC-BY 4.0 Open Access | rec: 9 Feb 2016, publ: 9 Feb 2016


Joseph Nordqvist Avatar

Other News

Buying robots does not always make factories more productive

Oct 13, 2026

Making electronics entirely in the US could raise costs by 41% to 152%

Oct 13, 2026

6G standards take shape while 5G investment continues

Oct 13, 2026

Five growth markets shaped by aging populations and infrastructure needs

Oct 13, 2026

Hybrid demand is reshaping automakers’ investment plans

Oct 13, 2026

Clay pretreatment could cut emissions from cement manufacturing

Oct 12, 2026

EU backs €3.5 million project to test disinformation tools

Oct 12, 2026

Researchers bring quantum chaos under control across 100 qubits

Oct 12, 2026

When the next generation doesn’t want the family business

Oct 11, 2026

Cleveland Fed survey finds businesses unconvinced by stablecoins

Oct 11, 2026

Costs hold back commercial heat pump upgrades, California study finds

Oct 11, 2026

Rein Security raises $25 million to protect enterprise AI agents

Oct 11, 2026

Foreign trips take most of EU residents’ travel spending

Oct 11, 2026

Irish inflation rises to 4.1% as housing and transport costs climb

Oct 11, 2026

Safety reminders reduce unsafe choices in a clinical AI study

Oct 10, 2026

VEIR raises $110 million for superconducting data-center power systems

Oct 10, 2026

EU prepares €52.5 million in calls to help research reach the market

Oct 10, 2026

France secures EU approval for €40.5 million in fuel-cost loan schemes

Oct 10, 2026

EU selects 46 new projects for critical mineral supplies

Oct 10, 2026

Why a port disruption can reach factories far inland

Oct 10, 2026