|Susquehanna International Group||Next Challenge: How can virtual reality enhance the customer banking experience?|
GitHub has an extensive database of public repositories. Wouldn't it be interesting to find out which are the most active and gain insights into which are the highest quality?
Imagine that you have to rate GitHub repositories. Using the GitHub API (developer.github.com/v3/), do some calculations to give a rating to repositories. To start, every star or commit increases the rating by 1, and every 5 issues decreases the rating by 1.
Send us the code for the program you wrote to compute the top 5 repositories, as well as a list of the top 5 repositories and their associated ratings.
If you feel like getting creative, you have the option of coming up with your own rating system. If you choose to do that, please explain (briefly) why you think that your rating system is superior and please provide a code sample of your rating system and the top 5 repositories according to your system.
Lastly, analyze the run-time of your program and tell us which class of the Big-O functions it most closely follows. Reference: wikipedia.org/wiki/Big_O_notation
Note: Don't worry about any limitations caused by the GitHub API. We're more interested in your approach to rating, and less concerned by the final results (especially if you're limited to a certain number of repos).