MCPcopy Create free account
hub / github.com/getagentseal/codeburn / make

Function make

tests/optimize.test.ts:124–126  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

122
123 it('scales impact with read count', () => {
124 const make = (n: number) => Array.from({ length: n }, (_, i) =>
125 call('Read', { file_path: `/x/node_modules/file-${i}.js` })
126 )
127 expect(detectJunkReads(make(25))!.impact).toBe('high')
128 expect(detectJunkReads(make(10))!.impact).toBe('medium')
129 })

Callers 1

optimize.test.tsFile · 0.85

Calls 1

callFunction · 0.70

Tested by

no test coverage detected