Skip to content

blitz-replays analyze #25

@Jylpah

Description

@Jylpah

Design document

blitz-replays analyze is a command to analyze replays and print various stats.

Requirements

1. Can read replays from files (JSON) or database (SQLite)

Consider using blitzstats.BackEnd() since it would add support for MongoDB

2. Filter replays

Filter replays to analyze based on:

  • player / account_id
  • tank
  • tier (well, tank)
  • battle played
  • in platoon / solo
  • battle result (win/loss/draw)
  • game mode (Regular, special modes)
  • battle mode (Encounter/Supremacy)
  • map

3. Player stats

Fetch player stats from WG API tanks/stats/. The measure can be any WR, average damage or number of battles. For each there are three options:

  1. Average WR/average damage/total battles
  2. WR/average damage/battles at the tier played
  3. WR/average/damage/battles in a tank played

Edge cases

  • Options 2-3 are problematic in edge cases where there are only very few battles. Should there be a lower limit for battles before the WR "becomes valid"?
  • Should the "tier" be the tier of the battle or the tier of each player's tank? The former does not exist for all. Probably the latter.

4. Configurable analysis/categorization like in the old version

Have look at the BattleCategorization() and consider refactoring to something more solid.

5. Configurable columns

Like in the blitz-tools replay analysis tool.

  • TOML config file will be used for customizing reports
  • User will be open to add new reports and combine it with the default reports.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions