In #1681, I've attempted to make the logic you're using to compute the best score clearer. Can you check it out there?