Jon Solow commited on
Commit
b8eb093
·
1 Parent(s): 6947348

Calculate points against after stat overrides

Browse files
Files changed (1) hide show
  1. src/stats.py +1 -1
src/stats.py CHANGED
@@ -519,8 +519,8 @@ def get_stats_map() -> dict[int, dict[str, dict[str, float]]]:
519
  for player_id, player_stats in week_stats.items():
520
  stat_map[week][player_id] = player_stats
521
 
522
- add_points_against_team_win_stat(stat_map)
523
  stat_overrides = get_stat_overrides()
 
524
  # for stat overrides, override at the stat level
525
  for week, week_stats in stat_overrides.items():
526
  for player_id, player_stats in week_stats.items():
 
519
  for player_id, player_stats in week_stats.items():
520
  stat_map[week][player_id] = player_stats
521
 
 
522
  stat_overrides = get_stat_overrides()
523
+ add_points_against_team_win_stat(stat_map)
524
  # for stat overrides, override at the stat level
525
  for week, week_stats in stat_overrides.items():
526
  for player_id, player_stats in week_stats.items():