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

Function cost

scripts/agent-eval/offload-eval-cost.mjs:69–69  ·  view source on GitHub ↗
(b)

Source from the content-addressed store, hash-verified

67const k = (n) => (n/1000).toFixed(0).padStart(5) + 'K';
68const d = (n) => '$' + n.toFixed(3);
69const cost = (b) => b.cost;
70const tot = (b) => b.tok;
71
72const byArm = {};

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected