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

Method failure_distribution

control_layer.py:743–748  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

741 return list(self._records)
742
743 def failure_distribution(self) -> Dict[str, int]:
744 with self._lock:
745 dist: Dict[str, int] = defaultdict(int)
746 for r in self._records:
747 dist[r.failure_mode.value] += 1
748 return dict(dist)
749
750 def retry_distribution(self) -> Dict[int, int]:
751 with self._lock:

Callers 2

chart_2_failure_distFunction · 0.80

Calls

no outgoing calls

Tested by 1