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

Function med

scripts/agent-eval/offload-eval-effort.mjs:96–96  ·  view source on GitHub ↗
(a)

Source from the content-addressed store, hash-verified

94
95// ---- 3. Aggregate: low vs high per repo ------------------------------------
96const med = (a) => { a = a.filter((x) => x != null).sort((x, y) => x - y); return a.length ? (a.length % 2 ? a[(a.length - 1) / 2] : (a[a.length / 2 - 1] + a[a.length / 2]) / 2) : null; };
97console.log(`\n${'='.repeat(80)}\nEFFORT A/B — offload synthesis fidelity (probe, n=${REPS}/cell)\n${'='.repeat(80)}`);
98console.log(`${'repo'.padEnd(11)} ${'tier'.padEnd(8)} ${'effort'.padEnd(6)} fired ${'fid(med)'.padStart(8)} ${'fab%'.padStart(5)} ${'AItok'.padStart(7)} ${'AIcost'.padStart(8)} ${'ms(med)'.padStart(8)}`);
99for (const repo of Object.keys(GT)) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected