Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeClash-ai/CodeClash
/ win_rate
Method
win_rate
codeclash/analysis/metrics/win_rate.py:21–22 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
19
20
@property
21
def
win_rate(self) -> float:
22
return
self.wins / self.count
if
self.count > 0
else
0.0
23
24
25
def
main(log_dir: Path):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected