MCPcopy
hub / github.com/colbymchenry/codegraph / p

Function p

scripts/agent-eval/repro-concurrent-explore.mjs:102–102  ·  view source on GitHub ↗
(q)

Source from the content-addressed store, hash-verified

100const lat = results.map((r) => r.ms).sort((a, b) => a - b);
101const timeouts = results.filter((r) => r.timedOut).length;
102const p = (q) => lat[Math.min(lat.length - 1, Math.floor(q * lat.length))];
103
104console.log('='.repeat(64));
105console.log(`repo=${repo}`);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected