MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / caseLabel

Function caseLabel

benchmarks/report.mjs:526–527  ·  view source on GitHub ↗
(c)

Source from the content-addressed store, hash-verified

524 // e.g. don't count NumPy's fast double-precision against CE's arbitrary precision.
525 const comp = ['sympy', 'mathjs', 'numpy']
526 .map((tk) => matrix[c.id][tk])
527 .filter((x) => x && x.verdict.v === 'correct' && x.res && typeof x.res.minMs === 'number')
528 .map((x) => x.res.minMs);
529 return comp.length > 0 && ceT > 3 * Math.min(...comp);
530}

Callers 1

report.mjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected