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

Method to_dict

codeclash/arenas/arena.py:31–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29 self.score: float = 0.0
30 self.valid_submit = False
31
32 def to_dict(self) -> dict[str, Any]:
33 return {
34 "name": self.name,
35 "invalid_reason": self.invalid_reason,
36 "score": self.score,
37 "valid_submit": self.valid_submit,
38 }
39
40

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected