MCPcopy Create free account
hub / github.com/Emmimal/control-layer / retry_distribution

Method retry_distribution

control_layer.py:750–755  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

748 return dict(dist)
749
750 def retry_distribution(self) -> Dict[int, int]:
751 with self._lock:
752 dist: Dict[int, int] = defaultdict(int)
753 for r in self._records:
754 dist[r.attempt] += 1
755 return dict(dist)
756
757 def pass_rate(self) -> float:
758 with self._lock:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected