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

Function pctCtx

scripts/agent-eval/parse-run.mjs:363–363  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

361 const o = s.occupancy;
362 const n = (x) => x.toLocaleString('en-US');
363 const pctCtx = (t) => (o.ctxFinal > 0 ? ((t / o.ctxFinal) * 100).toFixed(1) : '0.0');
364 const pctWin = (t) => ((t / o.windowTokens) * 100).toFixed(1);
365 const rows = [];
366 const row = (label, tok, chars, results) => rows.push(

Callers 1

rowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected