TL;DR
This paper investigates how gamification influences software developers by analyzing a natural experiment on GitHub: the unannounced removal of daily activity "streak" counters in 2016. The authors found that removing these counters led to a significant drop in long activity streaks, reduced weekend work, and fewer low-effort "single contribution days." The findings highlight that while gamification successfully drives engagement, it can also incentivize unhealthy work-life balance and low-quality contributions.
What Problem Does This Paper Address?
Gamification elements like points, badges, and leaderboards are ubiquitous across online platforms, including those used for software development (like GitHub and Stack Overflow). Platform designers use these features to boost engagement, encourage participation, and help users signal their expertise to the labor market.
However, the negative side effects of gamification—especially in cognitively demanding fields like software engineering—are severely understudied. Does gamification encourage burnout? Does it push developers to prioritize chasing metrics over writing quality code? By taking advantage of a sudden, unannounced UI change on GitHub (the removal of the "longest streak" and "current streak" counters from user profiles), the authors isolate how developers change their behavior when a gamified incentive is suddenly taken away.
Methods
The authors treat the removal of GitHub's streak counters as a natural experiment. Because the change was exogenous (unanticipated by users), it provides a rare opportunity to establish a causal link between the gamification feature and developer behavior.
Key techniques include:
- Survival Analysis: Comparing the "survival rate" (duration) of daily contribution streaks started before the UI change versus those started after.
- Regression Discontinuity Design (RDD): A statistical model used to measure the sudden, sharp change in the share of weekend activity exactly at the time the counters were removed. They also used "placebo tests" (testing fake removal dates) to prove the effect was unique to the actual update.
- Network Assortativity Analysis: To test for peer pressure, the authors built a social network of mutual followers. They calculated Newman’s attribute assortativity coefficient to determine if streaking behavior was contagious (social influence) or if streakers just naturally befriended other streakers (homophily).
Datasets
- GHTorrent (June 2019 dump): A massive, updating database of GitHub REST API data.
- Filtered Developer Subset: The authors filtered the initial 32.5 million developers down to 433,138 active developers.
- Data Cleaning: They rigorously removed bot accounts (using a known bot-detection dataset), ignored invalid timestamps, and excluded commits to forked repositories that were never merged. Crucially, they only included developers with inferable geolocations (via OpenStreetMap) so they could accurately calculate daily streaks in the users' local time zones, avoiding UTC offset errors.
Key Insights and Ideas
- Gamification drives "gaming the system": Developers weren't just working hard; they were optimizing for the metric. Before the counters were removed, developers on long streaks frequently had "Single Contribution Days" (SCDs)—doing the absolute bare minimum just to keep the streak alive.
- Metrics encroach on personal time: The streak counter actively pushed developers to work on weekends. Removing it caused a measurable drop in weekend commits, suggesting the counter was a source of unhealthy pressure to skip rest days.
- Peer pressure is a massive driver: Streaking behavior was highly correlated among mutual followers. When the public counter was removed, this correlation dropped significantly. This proves that developers were actively imitating or competing with their network neighbors, and the counter was the conduit for that social influence.
- Cultural and intrinsic differences matter: While Western developers saw a sharp drop in streaks, Chinese developers maintained high streak levels post-change, likely reflecting different regional work cultures (e.g., the 996 working hour system). Furthermore, developers participating in intrinsic goal-setting challenges (like "100DaysOfCode") still streaked, though fewer reached the extreme lengths seen when the counters were public.
Key Results
- Fewer Long Streaks: The average length of a streak exceeding 14 days dropped from ~26 days in early 2016 to 22 days in early 2017. Streaks longer than 14 days were more than twice as likely to exceed 100 days before the change (4.4%) than after (2.0%).
- Less Weekend Work: The RDD model showed a statistically significant drop (p < 0.001) in the share of weekend contributions immediately following the design change.
- Drop in Bare-Minimum Days: Single Contribution Days (SCDs) dropped from 36% of days in long streaks to 32% overall. At the tail end of long streaks, SCDs dropped from over 40% to roughly 36%.
- Reduced Social Contagion: The probability that a "streaker" was connected to another "streaker" in the social network dropped from 38.6% before the change to 26.5% a year later.
Limitations and Future Work
Limitations: The authors acknowledge that requiring geolocation data introduces a geographic bias, skewing the sample toward Western users and major cities. Additionally, streak computation is highly sensitive to missing data (one missing day breaks the streak). Finally, while the streak counters were removed, GitHub's famous green contribution graph remains, meaning gamification was reduced but not entirely eliminated.
Future Work: The authors suggest future research should investigate how different types of gamification (badges vs. leaderboards vs. counters) appeal to different psychological motivations. They also recommend zooming out from individual behavior to study how gamification impacts collective outcomes, such as open-source project success, and whether these gamified metrics introduce biases in how developers are evaluated by recruiters in the labor market.
Summary updated