Code Monkey home page Code Monkey logo

oss-gender-census-seis2023's Introduction

SEIS2022-Census

Code and figures of SEIS 2022 submission

Figure: Results

Ecosystem Contributor Line Graph Contributor Bar Graph Commit Line Graph Commit Bar Graph
All
Atom
Bower
Cargo
Clojars
CocoaPods
CPAN
CRAN
Go
Hackage
Hex
Maven
Meteor
NPM
NuGet
Packagist
PlatformIO
Pub
Pypi
Rubygems
linear scale log scale

Most popular names for female and male contributors on GHTorrent

male female

OSS Census Public Files

Gender Inference

Under census/public/gender_inference.

Census Data

Under census/public.

We process the projects from the 20 OSS ecosystems according to libraries.io and the projects written in the 15 most popular in the ghtorrent projects table. Ranking by size, the 20 ecosystems are NPM, Packagist, Go, Pypi, Rubygems, NuGet, Maven, Bower, CocoaPods, Cargo, Clojars, Atom, CPAN, Meteor, Hackage, Hex, Pub, CRAN, Puppet, PlatformIO. Ranking by size, the 15 languages are 1) JavaScript, 2) Java, 3) Python, 4) HTML, 5) Ruby, 6) PHP, 7) C++, 8) CSS, 9) C, 10) C#, 11) Jupyter Notebook, 12) Shell, 13) TypeScript, 14) Go, 15) Objective-C. For all the following scripts, we group the results by project language in the project table.

00_get_proj_lst_from_lio: find all projects' id in ghtorrent through their entries in libraries.io database. Use sql to identify the 20 most popular ecosystems.

01_get_proj_lst_from_ght: use sql to identify the 15 most popular languages. Get project_id of all projects written in one of the 15 specified language.

02_get_comits_for_proj : get the commits for each project in the lists from step 1. Each project has a csv file containing author id, window of commit, author name, author email, and whether is fake. All projects have at least 1 valid commits, aka made by users with valid login and name (filtered out users that can't be found in users_private and type ORG in users).

03_find_possible_bots_in_commits: find the people who made made at least 1000 commits in a window, and then manually inspect the output to get a bot list. bot_names.list contains manually inspect bot list. Retrieved by get_bots_in_commits.py.

04_get_alias_dict_for_repo: get all dictionaries for projects that have authors that can be merged. alias_merge.py contains a helper function, and alias defines an Alias object which is used in alias_merge.py.

05_clean_author_for_commits: merge alias and label bots, using results from running 4 and 5. Filter out projects with less than 3 contributors (before merging) for public projects (projects extracted through 01_get_proj_lst_from_ght).

06_clean_proj_lst: make the proj list more concise. Improves coding efficiency.

07_build_contrib_dict: find core contributors for each project for each window. For each language, for each project, build dictionary in the format of {win:{uid:[isCore, gender, #commits]}}.

08_contrib_info: find each contributor's first and last commit window in each ecosystem. These results are used for survival analysis, the complete code of which is under census/public/survival.

09_contrib_gender_by_win: get by window by gender contributor counts for all and core contributors.

10_commit_gender_by_win: get by window by gender commit counts.

11_proj_count_by_gender: get by window number of active projects and active female-participated projects.

oss-gender-census-seis2023's People

Contributors

wingardium-leviosa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.