Calculating Streaks Longer Than 1 Year

December 5, 2013

I set out to answer the question: who has the longest streak on GitHub? and it’s turning into quite the adventure. It looks like for users who have contributed every single day for a year it doesn’t calculate their actual longest streak. So not only do I have the challenge of ranking all the users I also need to find a way to get the actual streak count based on contributions older than a year. The problem is that it doesn’t appear like the GitHub api has support for this built in. That’s okay though, I’m up for the challenge.