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

Function pctWin

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

Source from the content-addressed store, hash-verified

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(
367 `${indent} ${label.padEnd(18)}${(n(tok) + ' tok').padStart(12)} ${(pctCtx(tok) + '%').padStart(6)} of ctx ` +

Callers 2

rowFunction · 0.85
formatOccupancyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected