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

Function cell

benchmarks/audit/audit.ts:278–284  ·  view source on GitHub ↗
(side: any)

Source from the content-addressed store, hash-verified

276// A correct result carries no mark — only its median time (µs). A mark appears
277// *only* when the result is not correct.
278const cell = (side: any) => {
279 const r = side.res;
280 const t = r?.status === 'ok' && typeof r.timeMs === 'number' ? fmtUs(r.timeMs) : null;
281 if (side.v.v === 'correct') return t ?? '·';
282 const note = side.v.note ? ` <sub>${side.v.note}</sub>` : '';
283 return SYM[side.v.v] + note + (t ? ` ${t}` : '');
284};
285const CATS = [
286 { key: 'factor', title: 'Factoring' }, { key: 'gcd', title: 'Polynomial GCD' },
287 { key: 'expand', title: 'Expansion' }, { key: 'simplify', title: 'Simplification' },

Callers 1

audit.tsFile · 0.70

Calls 1

fmtUsFunction · 0.70

Tested by

no test coverage detected