Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add variant specific statistics #97

Open
zond opened this issue Oct 24, 2017 · 0 comments
Open

Add variant specific statistics #97

zond opened this issue Oct 24, 2017 · 0 comments

Comments

@zond
Copy link
Owner

zond commented Oct 24, 2017

Such as histograms of

  • Solo winner nations
  • Eliminated nations
  • DIAS participating nations
  • Score per nation

To make this less expensive, we also should decorate GameResult with the variant the game had, otherwise we first have to load all finished games with variant X then load the result for each game.

Adding that decoration, however, makes it necessary to backport it to make old results have it as well. Which requires a utility endpoint like _re_rate which makes the server load all GameResults with empty Variant, load their games, populate the Variant fields of the GameResults and then saves the GameResults again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant