Skip to content

DjSapsan/AGE_of_ELO

Repository files navigation

Age of Elo Ladder Simulator

AoE II: DE ladder simulator. Predicts rank, Elo, and likely matchups using real leaderboard snapshots.

Features

  • Download up-to-date leaderboard snapshots and track Elo over time.
  • Simulate matchmaking and Elo progress.
  • Display player base distributions.
  • Export predictions to CSV.
  • Make scenarios and change players.

Examples

  1. Predict your rank, ELO and even potential opponents and results against them. You can change your skill and see where and against whom you end up.

img


  1. Predict tournament qualification results. Example is the RB WW El Reinado Last-Chance Qualifier (invited are ommited):

Predicted 73 days in advance:

img

Real:

img


  1. Predict general leaderboard. Don't forget to run multiple attempts and estimate probabilities! Below is retrodictions, when simulation almost matched the reality. It's the first result at the very start of AoE 2 DE:

image

Actual ladder (~ December 2019)

image


Repo structure

  • main.lua: main Love2D entry.
  • Game.lua: simulation and matchmaking.
  • PlayerDB.lua: keep leaderboards and player stats.
  • Graphics.lua: histograms.
  • parameters.lua: lots of important parameters.
  • scenario.lua: optional scenarios.
  • LB_RM, LB_RB_EW: leaderboard JSON snapshots.
  • Predictions/: folder for saved reports and Python helpers for CSV analysis.
  • Fit.lua: statistical values.

Getting started

  1. Install Love2D.
  2. Fetch latest leaderboards:
    lua requestAllLeaderboard.lua
    Saves snapshots to folders LB_RM or LB_RB_EW (old Redbull ladder), you can modify ladder IDs for other ladders.
  3. Launch "START" on any system. or use Love2D laucher from the CMD/terminal
    love .

Scenarios and predictions

  • Change important parameters in parameters.lua.
  • Set scenario params in scenario.lua.
  • Fine tune activity via grinders.csv , override players in override.csv.
  • If savePredictions is enabled, CSV reports go to Predictions/ folder for analysis.

Disclaimer

The simulation is obviously probabilistic! Always expect it to be WRONG. In the ideal vacuum players converge on their true skill level. Hovever it's not possible in practice! Players are playing differently on different maps, different time zones against different opponents and with different moods. The "true skill" is very obscure and it's impossible to determine it, even with lots of data. Also it can't handle smurfs. Please override known players or excluded obvious smurfs (all with 90% + winrate for example). Also my code is very suboptimal and requires a lot of refactoring and optimizations. But I can't invest all my efforts into it. Maybe community can make it better.

License

Released under the MIT License

About

AoE II: DE ladder simulator. Predicts rank, Elo, and likely matchups using real leaderboard snapshots

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors