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

Function pct

scripts/agent-eval/probe-file-spend.mjs:68–68  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

66const say = (s = '') => { if (!asJson) console.log(s); };
67const num = (n) => Math.round(n).toLocaleString('en-US');
68const pct = (f) => `${(f * 100).toFixed(1)}%`;
69
70const load = (rel) => import(pathToFileURL(resolve(rel)).href);
71const idx = await load('dist/index.js');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected