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

Function isCorrect

benchmarks/report_changelog.mjs:66–66  ·  view source on GitHub ↗
(id, tk)

Source from the content-addressed store, hash-verified

64
65const cellOf = (id, tk) => matrix[id]?.[tk] || null;
66const isCorrect = (id, tk) => cellOf(id, tk)?.verdict?.v === 'correct';
67const timeOf = (id, tk) => {
68 const r = cellOf(id, tk)?.res;
69 return r && r.status === 'ok' && typeof r.timeMs === 'number' ? r.timeMs : null;

Callers 3

symCellFunction · 0.85
ceBestFunction · 0.85

Calls 1

cellOfFunction · 0.85

Tested by

no test coverage detected