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

Function k

scripts/agent-eval/parse-session.mjs:96–96  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

94 for (const f of readdirSync(subDir).filter(f => f.endsWith('.jsonl'))) addTok(sumTokens(join(subDir, f)));
95}
96const k = (n) => (n / 1000).toFixed(1) + 'k';
97console.log(`TOKENS: gen ${k(tok.gen)} | fresh-in ${k(tok.fresh)} | cached-in ${k(tok.cached)} | billable≈ ${k(tok.gen + tok.fresh)}`);
98
99// What the agent did after each codegraph_explore (CG-8) — the same classifier

Callers 1

parse-session.mjsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected