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

COBOL still runs critical business systems because replacing the system is harder than replacing the language

Sep 20, 2026

Heat stress adds $41 per ton to the estimated cost of carbon, study finds

Sep 20, 2026

UN lifts global growth forecast, but warns energy shock has revived inflation pressure

Sep 20, 2026

HPE lifts outlook after AI servers and networking drive record quarterly revenue

Sep 20, 2026

A missed opportunity can make managers keep weak projects alive

Sep 19, 2026

Surgical robots are gaining autonomy, but surgeons still run the operating room

Sep 18, 2026

Catalonia’s Plan B asks how an economy can meet needs without relying on growth

Sep 18, 2026

Bank of Japan raises policy rates to 1.25%. What higher borrowing costs mean

Sep 18, 2026

UK retail sales rise 0.5% in August as online stores recover

Sep 18, 2026

Mistras agrees $866 million sale to H.I.G. Capital

Sep 18, 2026

US industrial output stalls in August as manufacturing slips

Sep 18, 2026

Japan’s household financial assets hit a record ¥2,519 trillion. What that measures

Sep 17, 2026

Canada welcomes EU associate-member proposal, but terms are undefined

Sep 17, 2026

Softcat agrees $1.05B GDT acquisition to expand US data-centre services

Sep 17, 2026

Bank Rate held at 3.75% in the UK as energy prices sharpen inflation risk

Sep 17, 2026

East African Community trade reaches $52.3bn as exports drive surplus

Sep 16, 2026

Canada says its investment summit mobilised nearly C$500bn. What does that actually mean?

Sep 16, 2026

May Mobility agrees $1.4B SPAC deal, bets on asset-light robotaxi model

Sep 16, 2026

Fed raises rates to 3.75% to 4.00% as inflation remains elevated

Sep 16, 2026

IBM-backed Anderon finalizes up to $1B US quantum foundry award

Sep 16, 2026