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

Function fit

__tests__/explore-completeness-note.test.ts:201–202  ·  view source on GitHub ↗
(room: number, noteCandidates: string[][], noteYields: boolean)

Source from the content-addressed store, hash-verified

199 const files = note(390);
200 const generic = note(330);
201 const fit = (room: number, noteCandidates: string[][], noteYields: boolean) =>
202 fitExploreEpilogue({ room, noteCandidates, noteYields, pointerEntries: entries, pointerOmitted: 20 });
203 const entriesIn = (block: readonly string[]) => block.filter((l) => l.startsWith('- src/')).length;
204 /** Room for exactly `k` pointer entries (header, entries and tail) beside `withNote`. */
205 const roomFor = (k: number, withNote: readonly string[] = []) => {

Callers 2

roomForFunction · 0.85

Calls 1

fitExploreEpilogueFunction · 0.90

Tested by

no test coverage detected