]> git.xonotic.org Git - xonotic/xonstat.git/commit
Use score-scaling Elo for non-duels.
authorAnt Zucaro <azucaro@gmail.com>
Wed, 1 Aug 2012 11:52:19 +0000 (07:52 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Wed, 1 Aug 2012 11:52:19 +0000 (07:52 -0400)
commit36ee45a0e6f186a6978143f318a3bc7a75dd8fb0
tree37bbc1ddc49440c2b7fad2eb91feada6848f721a
parent71f979dedf515938663214a945df2f113e3c8d90
Use score-scaling Elo for non-duels.

Scale S according to the real scorefactor in non-duel games.
This eliminates the effects of people switching to the winning
or losing team at the very last second. This also avoids a
"winner take all" in DM mode, where most people would lose points.

Additionally, all players are compared to everyone else, not just
those on their own team. This makes it more fair anyway - no
averages are done over the opponent team only. You now have to
perform better overall to get more points.
xonstat/elo.py
xonstat/models.py
xonstat/views/submission.py