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

Function score

graph-ui/src/galaxy/organic-clusters.ts:148–148  ·  view source on GitHub ↗
(label: number)

Source from the content-addressed store, hash-verified

146 links.set(label, (links.get(label) ?? 0) + 1);
147 }
148 const score = (label: number) => (links.get(label) ?? 0) - 1.25 * count * totals[label]! / twiceEdges;
149 let chosen = current, best = score(current);
150 for (const candidate of links.keys()) {
151 const next = score(candidate);

Callers 1

communitiesFunction · 0.70

Calls 1

getMethod · 0.65

Tested by

no test coverage detected