EDEB8 - Ultimate Online Debating
About Us   Debate    Judge   Forum

ELO calculations

< Return to subforum
admin
By admin | Nov 14 2013 3:07 PM
In case anyone is curious, this is how the site calculates your ELO after each debate:

$elo=intval($kfactor*($sp-1/pow(10,($sdiff*(-1)/400)+$sp))+$elo);

Where:
elo = your ELO score
kfactor = 32 for 2-way, 16 for 4-way
sp = 1 for a win, 0 for a loss
sdiff = your rating minus theirs

And to explain the two PHP functions:
intval(a) rounds a to the nearest integer
pow(a,b) gives you a to the power of b

Anyone able to further optimize the formula / able to spot any issues?
I'm the main developer for the site. If you have any problems, ideas, questions or concerns please send me a message.
Let's revive the forums!
Pinkie
By Pinkie | Nov 14 2013 5:15 PM
admin: Sorry, but that makes no sense at all.
Please excuse me as I'm not super creative when it comes to forum signatures.
Pinkie
By Pinkie | Nov 14 2013 5:16 PM
Pinkie: :P
Please excuse me as I'm not super creative when it comes to forum signatures.
Pinkie
By Pinkie | Nov 14 2013 5:16 PM
Pinkie: :P
Please excuse me as I'm not super creative when it comes to forum signatures.
admin
By admin | Dec 16 2013 10:00 PM
I just made a slight change to ELO calculations to improve them a bit. Formula up there has at least one slight bug. Also, the site will now take off at least 5 points for a loss, and add at least 5 points for a win.
I'm the main developer for the site. If you have any problems, ideas, questions or concerns please send me a message.
Let's revive the forums!
TheAntidoter
By TheAntidoter | Dec 17 2013 2:01 AM
admin: Okay then.
So this is how it works!
#Trump2014 12-0 The Dream
Pinkie
By Pinkie | Jan 12 2014 11:02 AM
TheAntidoter: Okay!
Please excuse me as I'm not super creative when it comes to forum signatures.