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

Function fmt

scripts/agent-eval/parse-session.mjs:77–78  ·  view source on GitHub ↗
(counts)

Source from the content-addressed store, hash-verified

75}
76
77const fmt = (counts) => Object.entries(counts).sort((a, b) => b[1] - a[1])
78 .map(([k, v]) => ` ${String(v).padStart(3)} ${k}`).join('\n') || ' (none)';
79
80console.log(`session: ${sessionId}`);
81console.log(`\nMAIN thread tools:\n${fmt(mainCounts)}`);

Callers 1

parse-session.mjsFile · 0.70

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected