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

Function filler

__tests__/explore-long-query.test.ts:285–289  ·  view source on GitHub ↗

Distinct lowercase filler words that name nothing in the project.

(n: number)

Source from the content-addressed store, hash-verified

283
284 /** Distinct lowercase filler words that name nothing in the project. */
285 function filler(n: number): string {
286 const words: string[] = [];
287 for (let i = 0; i < n; i++) words.push(`word${String.fromCharCode(97 + (i % 26))}${String.fromCharCode(97 + Math.floor(i / 26) % 26)}x`);
288 return words.join(' ');
289 }
290
291 it('runs a bounded number of searches however long the query is', async () => {
292 const cg = await setup();

Callers 1

Calls 2

pushMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected