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

Function viaSymbol

scripts/agent-eval/parse-run.mjs:598–604  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

596 // absolute path ending in it — samePath already encodes exactly that.
597 const viaPath = (path) => cited.paths.some((p) => samePath(path, p));
598 const viaSymbol = (path) => {
599 for (const s of cited.symbols) {
600 const owners = ownersOf(s);
601 if (owners && owners.size < SYMBOL_AMBIGUITY_LIMIT && owners.has(path)) return s;
602 }
603 return null;
604 };
605
606 const verdict = new Map(); // path -> { via, symbol }
607 const judge = (path) => {

Callers 1

judgeFunction · 0.85

Calls 2

hasMethod · 0.80
ownersOfFunction · 0.70

Tested by

no test coverage detected