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

Method __repr__

codeclash/analysis/stats/per_model.py:40–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 return Counter([t.split(".", 2)[1] for t in self.tournaments])
39
40 def __repr__(self):
41 return f"""Model: {self.name}
42- Steps: {self.steps_total} (Total); {self.steps_per_round:.2f} (Per Round);
43- Rounds played: {self.rounds_total}
44- Failed cmds: {self.cmd_failure_rate:.2%} ({self.failed_commands}/{self.steps_total})
45- Most common failed command types: {Counter(self.failed_command_types).most_common(5)}
46- Tournament count: {self.tournament_count.most_common(5)}"""
47
48
49class TrajectoryAnalyzer:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected