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

Function cand

__tests__/explore-pinned-allocation.test.ts:13–17  ·  view source on GitHub ↗
(
  path: string,
  score: number,
  extra: Partial<ExploreAllocationCandidate> = {},
)

Source from the content-addressed store, hash-verified

11import type { ExploreAllocationCandidate } from '../src/mcp/tools';
12
13const cand = (
14 path: string,
15 score: number,
16 extra: Partial<ExploreAllocationCandidate> = {},
17): ExploreAllocationCandidate => ({ path, score, worth: 1, spine: false, ...extra });
18
19const budget = getExploreOutputBudget(1000);
20

Calls

no outgoing calls

Tested by

no test coverage detected