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

Function main

codeclash/analysis/viz/throwaway_files_cdf.py:70–81  ·  view source on GitHub ↗
(refresh_cache: bool = False, threshold_round: int = 15)

Source from the content-addressed store, hash-verified

68
69
70def main(refresh_cache: bool = False, threshold_round: int = 15) -> None:
71 data = []
72 with open(DATA_CACHE) as f:
73 print("loading data from", DATA_CACHE)
74 data = [json.loads(line) for line in f]
75 print(f"Found {len(data)} player-tournament entries in cache.")
76
77 df = analyze_total_throwaway_per_player(data, threshold_round=threshold_round)
78 print("\n=== Throwaway totals per player (raw, no filtering) ===")
79 print(df.head())
80
81 plot_throwaway_cdf(df)
82
83
84if __name__ == "__main__":

Callers 1

Calls 2

plot_throwaway_cdfFunction · 0.85

Tested by

no test coverage detected