Back to search

The University of Texas at Austin

Examining gender bias of GitHub Pull Request comments with machine learning

Abstract

dc:description.abstract

Bias is known to exist in many fields, software included. Specifically concerning gender bias, women are traditionally under-represented in technical fields, and previous research has shown a gatekeeping aspect to both the hiring practices and day-to-day work. One way of investigating the existence and/or severity of bias is via sentiment analysis, using machine learning. This method could be utilized similarly to spellcheck, prompting the comment's author to rethink their comment's tone. This paper examines that method, using approximately 154,000,000 unique comments from Pull Requests on GitHub sourced from the GHTorrent project, classified using the shallow neural network fastText, and GitHub avatars classified with Amazon Web Services Rekognition. My results failed to reject the null hypothesis that gender does not have a measurable effect on the sentiment of comments received. However, additional research could include a larger subset of comments and/or better tune fastText, as well as measuring other biases such as nationalism.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Engineering
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Electrical and Computer Engineering
Department thesis:degree_department
Electrical and Computer Engineering
Grantor
The University of Texas at Austin
Year dc:date.issued
2021

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Garland, Stephan
Advisor dc:contributor.advisor
  • Julien, Christine, D. Sc.

Subjects

dc:subject × 4

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
University of Texas
Base URL
repositories.lib.utexas.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Garland, Stephan. Examining gender bias of GitHub Pull Request comments with machine learning. Masters thesis, The University of Texas at Austin, 2021. https://doi.org/10.26153/tsw/11682