MCPcopy Create free account
hub / github.com/Noumena-Network/code / pct

Function pct

src/components/Stats.tsx:401–401  ·  view source on GitHub ↗
(n_1: number)

Source from the content-addressed store, hash-verified

399 return n_0 >= min && (max === undefined || n_0 <= max);
400 }).reduce((s_1, [, v]) => s_1 + v, 0);
401 const pct = (n_1: number) => Math.round(n_1 / total * 100);
402 const b1 = bucket(1, 1);
403 const b2_5 = bucket(2, 5);
404 const b6_10 = bucket(6, 10);

Callers 2

OverviewTabFunction · 0.85
renderOverviewToAnsiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected