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

Function key

scripts/regression/gate.mjs:260–260  ·  view source on GitHub ↗
(kind)

Source from the content-addressed store, hash-verified

258 }
259 const named = (count) => chosen.slice(0, count).map((row) => [row.name, row.file, row.line]);
260 const key = (kind) => (sets > 1 ? `${kind}#${set}` : kind);
261 const names = chosen.map((row) => row.name);
262 if (names.length >= 2) questions[key('two')] = { query: `${names[0]} ${names[1]}`, names: named(2) };
263 if (names.length >= 3) questions[key('three')] = { query: `how does ${names[0]} use ${names[1]} and ${names[2]}`, names: named(3) };

Callers 1

chooseQuestionsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected