(self)
| 301 | w2 += s2 |
| 302 | boot_matrix[game_name][pair] = [w1, w2] |
| 303 | |
| 304 | # Build combined 'ALL' game by summing, same as other games |
| 305 | combined: dict[tuple[str, str], list[float]] = defaultdict(lambda: [0.0, 0.0]) |
| 306 | for matchups in boot_matrix.values(): |
| 307 | for pair, (w1, w2) in matchups.items(): |
| 308 | combined[pair][0] += w1 |
| 309 | combined[pair][1] += w2 |
| 310 | |
| 311 | boot_matrix["ALL"] = {k: [v[0], v[1]] for k, v in combined.items()} |
| 312 | return boot_matrix |
| 313 |