| 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. |