MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / avg

Function avg

scripts/agent-eval/parse-arms.mjs:68–68  ·  view source on GitHub ↗
(a, f)

Source from the content-addressed store, hash-verified

66}
67
68const avg = (a, f) => a.length ? a.reduce((s, x) => s + (f(x) || 0), 0) / a.length : 0;
69const k = (n) => (n / 1000).toFixed(1);
70const pad = (s, n) => String(s).padEnd(n);
71const ARMS = ['A', 'H', 'I', 'B', 'F', 'G', 'C', 'D', 'E'];

Callers 1

parse-arms.mjsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected