Editing Bayeselo
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: | ||
− | + | WarLight uses an ELO rating system, similar to what is used in Chess. | |
− | + | =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= | |
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> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* 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. |
− | + | ==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== | |
− | After the players, there are a bunch of addresult commands. Each addresult corresponds to one finished ladder game. In these numbers, we tell Bayeselo | + | 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: | ||
... | ... | ||
− | + | 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= | |
* [[Ladders]] | * [[Ladders]] | ||
− | |||
− |