paircolumbus / progress

An easy way to check your progress on Pair Columbus challenges.
https://dry-depths-47527.herokuapp.com/
MIT License
1 stars 1 forks source link

Tiebreakers are not based on the time of the user's last completed activity #10

Open nickserv opened 9 years ago

nickserv commented 9 years ago

The users collection is sorted by creation time (when the user was initially created on Progres) and then by score (descending). This means that the tiebreaker for users with the same score is simply whoever used Progress first.

This isn't very fair, I would prefer to sort by the time of the user's last pull request instead so that the first user to get to a certain score will keep their position until someone gets a higher score. In other words, whoever gets a score first beats the tie for that score.

nickserv commented 9 years ago

I'm thinking about adding a last_completed_at field (as a Date) to the users collection. We can add this to the sorting criteria for the scoreboard.