paint-brush
Only One Woman in Top 100 Stack Overflow Accountsby@lindsey_kirch
918 reads
918 reads

Only One Woman in Top 100 Stack Overflow Accounts

by Lindsey KirchoffMarch 8th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

There’s been a lot of talk about women in tech these days. Headlines include both the repugnant and up-lifting. One the ugly side, we’ve all read about the sexual harassment and mistreatment at famous <a href="http://mashable.com/2017/02/19/delete-uber-hashtag-is-back/" target="_blank">tech companies</a>. On a more uplifting note, more <a href="https://twitter.com/search?q=%23womenoftheweb&amp;src=tyah" target="_blank">campaign</a>s and <a href="http://www.inc.com/maria-aspan/hidden-figures-tech-diversity.html" target="_blank">movies </a>are celebrating women’s contribution to tech — and <a href="https://techcrunch.com/2017/01/13/hidden-figures-inspiring-stem-heroes-for-girls/" target="_blank">inspiring future ladies</a> to take up <a href="https://hackernoon.com/tagged/stem" target="_blank">STEM</a> careers.

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Only One Woman in Top 100 Stack Overflow Accounts
Lindsey Kirchoff HackerNoon profile picture

There’s been a lot of talk about women in tech these days. Headlines include both the repugnant and up-lifting. One the ugly side, we’ve all read about the sexual harassment and mistreatment at famous tech companies. On a more uplifting note, more campaigns and movies are celebrating women’s contribution to tech — and inspiring future ladies to take up STEM careers.

For International Women’s Day, we decided to tackle this issue with APIs. We built a project that determines how many of Stack Overflow’s top-ranked 3,479 users are women. We collected this data by connecting to public APIs (Stack Overflow and Clarifai’s Visual Recognition API) through RapidAPI.

How We Got the Numbers

Since RapidAPI connects to multiple APIs through one abstraction layer, finding this data was relatively easy. Here are the APIs that we used through RapidAPI.

Stack Exchange API

We exported the top 3,500 Stack Overflow users with the Stack Exchange API. We sorted users based on Stack Overflow reputation. A user gains or loses reputation by, in Stack Overflow’s words, “posting good questions and useful answers.”

Clarifai API

We used the Clairfai Visual Recognition API’s Demographic model to determine the gender of the user based on their profile picture. The Clarifai API works by returning a probability that the face in the image is a masculine or a feminine. When the API could not find a face in the image, we categorized the result as unclassified.

Now, onto the results!

The Results

You can dig into the raw data for yourself, but here are the key stats and some additional analysis.

  • Out of the top 3,479 profiles, the visual recognition API classified 1,515 profile images with a discernible gender.
  • Out of the profiles with a discernible gender, the visual recognition API classified 5.6% as feminine and 94.4% masculine.
  • The top 100 Stack Overflow users consist of 77 masculine profiles, 21 unclassified and 1 feminine profile.
  • In total, the visual recognition API classified 1,428 profiles as masculine, 84 as feminine and 1,964 as unclassified.

Finding 0: Most Stack Overflow profile pictures are gender neutral

The vast majority of Stack Overflow profiles had a gender neutral image or icon as a profile picture, which made it trickier to categorize. Out of the top 3,500 profiles, 1,512 had a profile image with a discernible gender.

To give you some context, here are some example profile pictures that the API would (obviously) not classify with a gender.

screen-shot-2017-03-08-at-11-58-38-am

Finding 1: There is only one woman in the top 100 Stack Overflow users

Since the Clarifai Demographic model is still in alpha, we went through the top 100 results manually as well. We found 77 masculine profiles, 21 unclassified and 1 feminine profile. Unclassified users either had gender neutral profiles (see Finding 0), did not provide enough information to determine gender or identified outside the male/female gender binary. One user even identified as non-human!

screen-shot-2017-03-08-at-10-24-35-am

Finding 2: The Clarifai Demographic Model is still in Alpha

The Clairfai API’s Demographic model is pretty fun to play with — you can test a call in your browser through the RapidAPI package. However, we noticed the model is definitely still in alpha. For example, this Seminoles fan’s profile picture was returned as “feminine.”

screen-shot-2017-03-08-at-10-36-01-am

The API may have some limitations when it comes to illustrated characters or icons.

Conclusion & Next Steps

Determining gender on Stack Overflow turned out to be trickier than we initially anticipated. Many users favor icons or illustrations over profile pictures, which made it more difficult to identify gender. To get better results, a future iteration of this experiment could include the Gender API, which determines a probability that a name is associated with a masculine or feminine gender. Accuracy improves with location, so we exported that data as well.