Ruby answers How does LessWrong’s Ranking Algorithm Work?