Mykhailo Pavlov
Back to Projects

The h-index Metric for GitHub

Released
Released Jun 2026
PythonMachine LearningGitHub GraphQL APIScikit-LearnData EngineeringGitHubData ScienceRandom ForestSQLiteLarge-Scale Data
Summary

A bachelor's thesis that adapts the academic h-index to measure developer influence across 3.5M GitHub users using machine learning.

The Problem

The h-index is a metric used in academia to measure research impact. I adapted it for GitHub to answer: can we measure a developer's influence? No standard metric existed, so I built one from scratch.

The Solution

Collected data on 3.5M users and 30M repositories using the GitHub GraphQL API. Stored and queried data with SQLite. Built a Random Forest model with Scikit-Learn and Pandas to predict developer influence scores. Trained and evaluated the model on separate datasets to ensure accuracy.

Presented this project at Študentská vedecká konferencia and was published.

Key findings from the data:

Distribution of GitHub users by social networks

GitHub h-index distribution:

Distribution of GitHub h-index

Top 5 developers by h-index score:

Top 1 user - Sindre Sorhus - 253 h-index
Top 2 user - Keijiro Takahashi - 151 h-index
Top 3 user - Lucidrains - 137 h-index
Top 4 user - Brad Traversy - 136 h-index
Top 5 user - Siraj Raval - 113 h-index