MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / summary

Function summary

tools/provenance-eval/run.py:43–47  ·  view source on GitHub ↗
(samples)

Source from the content-addressed store, hash-verified

41
42
43def summary(samples):
44 ordered = sorted(samples)
45 return {"count": len(samples), "p50_ms": statistics.median(ordered),
46 "p95_ms": ordered[min(len(ordered) - 1, int(len(ordered) * .95))],
47 "min_ms": ordered[0], "max_ms": ordered[-1]}
48
49
50def output_payload(index, size):

Callers 2

measure_turnFunction · 0.85
summarizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected