About

Many thanks to...

Implementation

The source is available on GitHub with an MIT license, and the application stack uses PostgreSQL, Ruby on Rails, jQuery and Bootstrap. The server runs nginx in front of puma on Ubuntu.

Imports are automatic (based on xwing-data), and things like list archetypes the DB doesn't know yet are automagically generated, which means they'll never get stale because no human interaction is involved. On the other hand, my database has no clue what these things (ships, pilots, upgrades) represent and whether the combinations it gets are legal or posible, they're just a name and a number without anything else attached.

Algorithms

I'm ranking things based on one primary attribute: Ranking percentiles. For this, I calculate the percentile of each squadron's result in each tournament, already when importing the Lists Juggler data. Like that, I can then do all the heavy lifting in the database, which results in reasonable performance even for complex filters in queries.

Examples (slightly simplified): 3rd of 12 => 75th percentile, 9th of 90 => 90th percentile - and after the cut: 2nd of 16 in cut of 80 => 87.5th percentile.

The ranking then adds these percentiles for the chosen rankings (Swiss or cut or both), which results in a value I call "Magic". Two multipliers are used on this Magic value, if used for the filter: log(number of players in tournament) in order to reward heavy competition, and log(number of squadrons who used this thing, total) in order to bring things to the top that are prevalent in the meta. Logarithms in both places because they're both easy to calculate and just make sense, mathematically: They emphasize larger values without squashing lower ones completely.

If you want more precise information, then you can always Use the Source. Maybe I'll change the algorithm to something more founded in statistics some time, but for now, it appears to bring the squads one would expect to the top.

Editing Contents

You might have noticed edit buttons here and there. Feel free to fix any wrong or missing data, particularly list archetype names.

The Wikia links should go to the corresponding upgrade / pilot page, and that will result in the correct images being used for pilots and upgrades. The classes refer to this list (without prefixes).

Author

The author is known as haslo on the FFG forums, BGG, GitHub, Twitter. Throw me a note in any of those places or create an issue on GitHub if you find bugs or have ideas for improvements.