TL;DR
This paper presents the first large-scale quantitative analysis of GitHub, treating it as both a social network and a collaborative platform. By analyzing 18 months of event data, the authors reveal surprising insights into user interactions, finding that social connections are remarkably non-reciprocal and that collaboration is concentrated on a few key projects, with geographic proximity playing a significant role.
What Problem Does This Paper Address?
While GitHub has become the dominant platform for open-source software development, fostering collaboration on a massive scale, the underlying social dynamics and collaboration patterns were not well understood quantitatively. Existing research often relied on qualitative studies or focused on smaller-scale social networks. This paper aims to fill this gap by providing a comprehensive, data-driven characterization of how millions of users interact on GitHub, exploring the structure of social ties, collaboration patterns, user activity, and the influence of geography.
Methods
The authors employed a quantitative approach, analyzing a large dataset of GitHub events over an 18-month period. They constructed several network representations of user interactions:
- Followers Graph ($G_F$): A directed graph representing users following each other, derived from "FollowEvent" data.
- Collaborators Graph ($G_C$): A bipartite graph connecting users to the repositories they contribute to, inferred from "PushEvent" data.
- Stargazers Graph ($G_S$): A bipartite graph connecting users to repositories they "star" (bookmark), derived from "WatchEvent" data.
- Contributors Graph ($G_N$): A graph representing authorship of commits, derived from push events.
They then performed structural analyses on these networks, including calculating graph densities, degrees, and using statistical methods to identify power-law distributions. They also analyzed user activity and geographic information extracted from user profiles.
Datasets
The primary dataset used in this study is the GitHub event stream, specifically public events occurring between March 11, 2012, and September 11, 2013. This stream provided over 183 million events, encompassing actions like pushes, forks, issue comments, and follow events. User profile information, including geographic location, was also utilized.
Key Insights and Ideas
- Social Ties are Surprisingly Non-Reciprocal: Unlike many other social networks (e.g., Twitter, Facebook), GitHub's "following" relationships show very low reciprocity. This suggests that users are more selective about who they follow, likely prioritizing professional relevance over casual social connection.
- Collaboration is Highly Concentrated: Despite millions of repositories, a significant portion of collaborative activity (forking, contributing) is focused on a relatively small number of "key projects." This indicates a "winner-take-all" dynamic in collaboration.
- Activity Doesn't Always Equal Popularity: Highly active users (those with many authored events) do not necessarily have a large number of followers. This challenges the intuitive assumption that prolific contributors automatically gain widespread social recognition on the platform.
- Geography Matters: Users tend to interact with others who are geographically closer. This is observed in both social connections (following) and collaboration patterns, suggesting that physical proximity still plays a role in online interactions, even at a global scale.
- Power-Law Distributions Abound: Similar to many complex systems, various aspects of GitHub interactions, such as the number of contributors per project or followers per user, follow power-law distributions, indicating a skewed distribution where a few entities are highly popular or active.
Key Results
- The study analyzed over 183.54 million events, involving 2.19 million users and 5.68 million repositories over 18 months.
- Distributions of contributors per project, watchers per project, and followers per user exhibit power-law-like shapes.
- Reciprocity in social ties is remarkably low (9.6%), significantly lower than observed in other social networks like Twitter (22.1%) or Flickr (68%).
- Collaboration on forks appears to happen on a limited number of key projects.
- A weak correlation (Spearman coefficient of 0.2568) was found between user activity (authored events) and the number of followers, suggesting that high activity doesn't guarantee high popularity.
- Geographic analysis shows users tend to interact with people they are close to, and repositories with few collaborators often have them concentrated in specific geographic locations.
Limitations and Future Work
- Data Bias: The study acknowledges a time bias as the GitHub Archive does not include events prior to March 2011. Information about dormant entities (inactive users or abandoned repositories) that don't generate events is also not captured.
- Private Repositories: The analysis is limited to public repositories, as private repository data is inaccessible.
- Inferred Relationships: While the study infers collaboration from push events, it cannot capture all nuances of collaboration or social interaction.
The authors suggest future work could delve into the software engineering issues arising from these collaboration dynamics, potentially leading to the development of novel tools and strategies for more effective online collaboration. They also propose investigating the flow of information and knowledge within the network of users.
Summary updated