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

Function noteFor

benchmarks/report.mjs:660–668  ·  view source on GitHub ↗
(tk)

Source from the content-addressed store, hash-verified

658w();
659// auto-derived notes
660const noteFor = (tk) => {
661 let ok = 0, tot = 0;
662 for (const c of REPORTED) {
663 if (!CATS.find((x) => x.key === c.category).corr.includes(tk)) continue;
664 tot++;
665 if (matrix[c.id][tk].verdict.v === 'correct') ok++;
666 }
667 return { ok, tot };
668};
669w('### Observations');
670w();
671{

Callers 1

report.mjsFile · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected