Editing Bayeselo

Jump to: navigation, search

Warning: You are not logged in.

Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
'''Bayeselo''', or Bayesian Elo Rating, is a modifier form of ELO used to calculate the ratings on the [[Seasonal Ladder]].
+
WarLight uses an ELO rating system, similar to what is used in Chess.  
  
See [http://remi.coulom.free.fr/Bayesian-Elo/ Bayesian Elo Rating] for the full details.  This has several advantages over other ELO rating systems:
+
=How Ranks and Ratings are calculated=
 +
 
 +
More specifically, WarLight uses Bayesian Elo Rating, which has several advantages over other ELO rating systems:
 
* Beating the same opponent multiple times gives you more rating than beating them once. In most ELO systems, only a win or loss is considered for each opponent.
 
* Beating the same opponent multiple times gives you more rating than beating them once. In most ELO systems, only a win or loss is considered for each opponent.
 +
* This system allows giving an advantage to players that pick first, as described above.
 
* Bayeselo behaves correctly when opponents' ratings are far apart
 
* Bayeselo behaves correctly when opponents' ratings are far apart
 
* Ratings are calculated based on final ratings, not just what the rating was when the game took place.
 
* Ratings are calculated based on final ratings, not just what the rating was when the game took place.
Line 8: Line 11:
 
The exact algorithm used by this tool is documented on their page, and is not repeated here. The source code is also available for the truly nerdy.  
 
The exact algorithm used by this tool is documented on their page, and is not repeated here. The source code is also available for the truly nerdy.  
  
==Run your own Ladder Simulations==
+
=Run your own Ladder Simulations=
  
 
You can run your own ladder simulations which help to understand how the ratings are calculated.  This can be used to answer questions like:
 
You can run your own ladder simulations which help to understand how the ratings are calculated.  This can be used to answer questions like:
Line 22: Line 25:
 
* Run Bayeselo.exe. You’ll be left at a prompt that says
 
* Run Bayeselo.exe. You’ll be left at a prompt that says
 
  ResultSet>
 
  ResultSet>
 
* Get BayeseloLog text file:
 
** Visit [https://www.warzone.com/LadderSeasons this page] to get the list of seasons
 
** Click the season you want the log for
 
** Check your URL, and you'll see it ends with ID= and a number.  For example, Season XXX is ID=4029
 
** Enter that number into this URL: http://data.warlight.net/Data/BayeseloLog4029.txt
 
  
 
* Copy the entire contents of BayeseloLog.txt to your clipboard, and paste it into the Bayeselo application. (Note: To paste into a console app on windows, you can right-click on the titlebar, select Edit then Paste)
 
* Copy the entire contents of BayeseloLog.txt to your clipboard, and paste it into the Bayeselo application. (Note: To paste into a console app on windows, you can right-click on the titlebar, select Edit then Paste)
 +
 +
BayeseloLog can be obtained separately for each ladder. Here are the links:
 +
 +
1v1 ladder: http://warlight.net/Data/BayeseloLog0.txt
 +
 +
2v2 ladder: http://warlight.net/Data/BayeseloLog1.txt
  
 
This will produce rankings like the following:
 
This will produce rankings like the following:
 +
  
 
  Rank Name                      Elo    +    - games score oppo. draws
 
  Rank Name                      Elo    +    - games score oppo. draws
Line 54: Line 58:
 
* Enter the command “reset” to clear the previous results. This ensures you’re starting from a clean slate.
 
* Enter the command “reset” to clear the previous results. This ensures you’re starting from a clean slate.
 
* Modify BayeseloLog.txt depending on what you want to try (see below).
 
* Modify BayeseloLog.txt depending on what you want to try (see below).
* Copy/paste the modified BayeseloLog.txt back into Bayeselo.exe to see the results. Compare to your previous run to see how they changed.  
+
* Copy/paste the modified BayeseloLog.txt back into Bayeselo.exe to see the results. Compare to your previous run to see how they changed. In BayeseloLog.txt, you’ll find two large sections – first, a bunch of addplayer commands, then a bunch of addresult commands.
  
== Modifying the log ==
+
==Players==
 
+
In BayeseloLog.txt, you’ll find two large sections – first, a bunch of addplayer commands, then a bunch of addresult commands.
+
 
+
===Players===
+
  
 
Each addplayer line corresponds to a player participating (or that has participated at one time) in the ladder. They are also numbered, starting at zero and going up.
 
Each addplayer line corresponds to a player participating (or that has participated at one time) in the ladder. They are also numbered, starting at zero and going up.
Line 72: Line 72:
 
  ...
 
  ...
  
===Results===
+
==Results==
  
After the players, there are a bunch of addresult commands. Each addresult corresponds to one finished ladder game. In these numbers, we tell Bayeselo which two players fought each other, who got first pick, and who won. Let's examine this in detail.
+
After the players, there are a bunch of addresult commands. Each addresult corresponds to one finished ladder game. In these numbers, we tell Bayeselo what two players fought eachother, who got first pick, and who won. Let’s examine this in detail.
  
 
  addresult 0 7 2
 
  addresult 0 7 2
Line 83: Line 83:
 
  ...
 
  ...
  
https://d32kaghj56y4ei.cloudfront.net/static/img/addresult.png
+
http://blog.warlight.net/images/addresult.png
  
 
By changing these, you can simulate new wins/losses or change existing games to see how they would affect the results.
 
By changing these, you can simulate new wins/losses or change existing games to see how they would affect the results.
  
==See Also==
+
=See Also=
  
 
* [[Ladders]]
 
* [[Ladders]]
 
[[Category:Ladders|Ranks and Ratings]]
 

Please note that all contributions to Warzone Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Warzone Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox