MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / remap

Function remap

graph-ui/src/architecture/semantic-graph.ts:384–384  ·  view source on GitHub ↗
(node: GraphNode)

Source from the content-addressed store, hash-verified

382 const recorded = evidence.filter(edge => ['HTTP_CALLS', 'ASYNC_CALLS', 'HANDLES'].includes(edge.type));
383 for (const relationship of options.routeSnapshot?.relationships ?? []) {
384 const remap = (node: GraphNode) => node.qualified_name ? currentByIdentity.get(identity(node)) ?? node : node;
385 recorded.push({ ...relationship, source: remap(relationship.source), target: remap(relationship.target) });
386 }
387 // A route is test code only when every located piece of its evidence is:

Callers 1

buildSemanticGraphFunction · 0.85

Calls 2

identityFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected