diff --git a/pubresults.yaml b/pubresults.yaml index b33c8c2..90ec297 100644 --- a/pubresults.yaml +++ b/pubresults.yaml @@ -3911,16 +3911,186 @@ - miss, 84 -# - date: 2025- -# mission: -# results: -# storm: -# score: -# players: +- date: 2025-07-20 + mission: twl magmatic ctf + results: + storm: + score: 317 + players: + - aftermath, 523 + - sliderzero, 442 + - irvin, 239 + - notpetedfs, 231 + - actionswanson, 231 + - anthem, 169 + - friendo, 166 + - geekofwires, 164 + - elliebackwards, 134 + - sweetcheeks, 130 + - flakpyro, 129 + - m80, 119 + - aromatomato, 112 + - nightwear, 87 + - raynian, 65 + inferno: + score: 16 + players: + - vaxity, 459 + - wingedwarrior, 36 + - bendover, 305 + - bizzy, 255 + - sake, 195 + - cooter, 181 + - systeme, 136 + - lsecannon28, 132 + - history, 117 + - lolcaps, 115 + - earth, 113 + - skyward, 99 + - warchilde, 52 + - 2short, 40 -# inferno: -# score: -# players: + +- date: 2025-07-20 + mission: twl ocular ctf + results: + storm: + score: 113 + players: + - halo2, 504 + - darrellw, 375 + - sake, 354 + - andycap, 29 + - actionswanson, 278 + - m80, 268 + - irvin, 239 + - 2short, 226 + - piata, 215 + - lolcaps, 190 + - alterego, 182 + - doug, 177 + - mp40, 170 + - carpenter, 145 + - aromatomato, 141 + - sweetcheeks, 116 + - flakpyro, 77 + - earth, 40 + - elliebackwards, 10 + inferno: + score: 514 + players: + - raynian, 634 + - friendo, 479 + - lilhexyboi, 411 + - aftermath, 385 + - wingedwarrior, 379 + - bendover, 364 + - vaxity, 364 + - systeme, 311 + - nutty, 267 + - warchilde, 239 + - geekofwires, 186 + - miss, 184 + - cooter, 175 + - mlgru, 158 + - pupecki, 125 + - nightwear, 110 + - spartanonyx, 80 + - lsecannon28, 46 + + +- date: 2025-07-20 + mission: twl katabatic ctf + results: + storm: + score: 422 + players: + - history, 539 + - aftermath, 471 + - nutty, 444 + - irvin, 399 + - bendover, 379 + - piata, 318 + - nightwear, 276 + - mp40, 275 + - skyward, 272 + - alterego, 259 + - andycap, 250 + - mlgru, 250 + - cooter, 201 + - forandtheweg, 179 + - m80, 152 + - systeme, 144 + - geekofwires, 135 + - elliebackwards, 118 + - raynian, 100 + inferno: + score: 322 + players: + - sliderzero, 621 + - vaxity, 384 + - sake, 361 + - halo2, 358 + - actionswanson, 315 + - lolcaps, 282 + - wingedwarrior, 267 + - flakpyro, 247 + - friendo, 234 + - spartanonyx, 206 + - doug, 192 + - aromatomato, 177 + - warchilde, 171 + - 2short, 164 + - sweetcheeks, 103 + - pupecki, 97 + - carpenter, 79 + - earth, 78 + - lsecannon28, -9 + + +- date: 2025-07-20 + mission: nightdance ctf + results: + storm: + score: 217 + players: + - halo2, 818 + - history, 573 + - wingedwarrior, 552 + - m80, 540 + - sliderzero, 344 + - nutty, 336 + - hpi, 325 + - alterego, 323 + - piata, 310 + - elliebackwards, 274 + - geekofwires, 253 + - mlgru, 132 + - warchilde, 102 + - systeme, 102 + - doug, 96 + - andycap, 89 + - forandtheweg, 31 + inferno: + score: 318 + players: + - vaxity, 752 + - sake, 496 + - aftermath, 494 + - raynian, 461 + - bendover, 373 + - nightwear, 370 + - actionswanson, 320 + - skyward, 286 + - flakpyro, 221 + - lolcaps, 185 + - irvin, 183 + - cooter, 167 + - earth, 160 + - aromatomato, 159 + - lsecannon28, 109 + - sweetcheeks, 75 + - friendo, 20 # - date: 2025- diff --git a/pugstatspics/2025-07-19/0.png b/pugstatspics/partially digitized/2025-07-19/0.png similarity index 100% rename from pugstatspics/2025-07-19/0.png rename to pugstatspics/partially digitized/2025-07-19/0.png diff --git a/pugstatspics/2025-07-19/1.png b/pugstatspics/partially digitized/2025-07-19/partially digitized/1.png similarity index 100% rename from pugstatspics/2025-07-19/1.png rename to pugstatspics/partially digitized/2025-07-19/partially digitized/1.png diff --git a/pugstatspics/2025-07-19/2.png b/pugstatspics/partially digitized/2025-07-19/partially digitized/2.png similarity index 100% rename from pugstatspics/2025-07-19/2.png rename to pugstatspics/partially digitized/2025-07-19/partially digitized/2.png diff --git a/pugstatspics/2025-07-19/3.png b/pugstatspics/partially digitized/2025-07-19/partially digitized/3.png similarity index 100% rename from pugstatspics/2025-07-19/3.png rename to pugstatspics/partially digitized/2025-07-19/partially digitized/3.png diff --git a/pugstatspics/2025-07-19/4.png b/pugstatspics/partially digitized/2025-07-19/partially digitized/4.png similarity index 100% rename from pugstatspics/2025-07-19/4.png rename to pugstatspics/partially digitized/2025-07-19/partially digitized/4.png diff --git a/statcruncher.py b/statcruncher.py index 6b67935..c8aea40 100644 --- a/statcruncher.py +++ b/statcruncher.py @@ -186,6 +186,8 @@ for (role, related_roles) in role_relationships.items(): # print("any_roles_to_players['offense']:",any_roles_to_players['offense']) +match_results = [MatchResult(match) for match in file_contents] + def compute_stats_for_time_period(start_date, end_date): player_to_win_count = dict() @@ -193,7 +195,7 @@ def compute_stats_for_time_period(start_date, end_date): duo_to_win_count = dict() duo_to_match_count = dict() - match_results = [MatchResult(match) for match in file_contents] + # print('Computing stats for time period', start_date, 'to', end_date) # loop over all matches for match_result in match_results: @@ -211,6 +213,8 @@ def compute_stats_for_time_period(start_date, end_date): # SINGLES for player_result in team_result.player_results: + # if player_result.name == 'foxox': + # print('Found foxox in match', match_result.mission, 'on date', match_result.date) if not player_result.name in player_to_match_count: player_to_match_count[player_result.name] = 0 if not player_result.name in player_to_win_count: @@ -255,11 +259,11 @@ for quarter in quarters: csv_header+=','+quarter_name (player_to_win_count, player_to_match_count, duo_to_win_count, duo_to_match_count) = compute_stats_for_time_period(quarter_start_date, quarter_end_date) for player in all_time_player_names: - # If there is csv row for the player yet, initialize it. + # If there is no csv row for the player yet, initialize it. if not player in csv_per_player: - csv_per_player[player] = [] + csv_per_player[player] = list() # If the player played at least N matches in the quarter, add their win rate to the csv. Otherwise, add #N/A. - N = 3*4*4*0.5 # Participated in about 1/2 of PUGs in the quarter + N = 8 if player in player_to_match_count and player_to_match_count[player] >= N: csv_per_player[player].append(player_to_win_count[player] / player_to_match_count[player]) else: diff --git a/stats extractor.xlsx b/stats extractor.xlsx index 0501da5..9c6e660 100644 Binary files a/stats extractor.xlsx and b/stats extractor.xlsx differ