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

Function checkIs

scripts/agent-eval/parse-run.mjs:1057–1062  ·  view source on GitHub ↗
(name, got, want)

Source from the content-addressed store, hash-verified

1055
1056 // ---- 6. Explore sufficiency: the bucket each explore call earns. --------
1057 const checkIs = (name, got, want) => {
1058 n++;
1059 const ok = got === want;
1060 if (!ok) failures++;
1061 console.log(`${ok ? ' ok ' : ' FAIL'} ${name}: got ${JSON.stringify(got)}, want ${JSON.stringify(want)}`);
1062 };
1063 const EXPLORE = 'mcp__codegraph__codegraph_explore';
1064 // An explore response's shape that matters here: one `**`path`**` section per
1065 // file whose source it returned, plus whatever else it named.

Callers 1

selftestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected