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

Function helperFiller

__tests__/explore-allocation-e2e.test.ts:203–208  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

201 * a file scoring twice its score purely by being small enough to ship whole.
202 */
203 const helperFiller = (n: number) => `
204export function normalizeLedgerRow${n}(row: string[], fallback: string): string[] {
205 const trimmed = row.map((cell) => cell.trim()).filter((cell) => cell.length > 0);
206 return trimmed.length > 0 ? trimmed : [fallback];
207}
208`;
209
210 const ALLOCATOR_SOURCE = `
211/** Explore budget allocation: splits the output envelope across relevant files. */

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected