MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / print_matrix

Method print_matrix

codeclash/analysis/metrics/elo.py:303–310  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers 1

elo.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected