Function
mk
(id: string, passed: boolean, iters: number, tools: number, cost: number, ms: number)
Source from the content-addressed store, hash-verified
| 66 | |
| 67 | describe('summarize', () => { |
| 68 | const mk = (id: string, passed: boolean, iters: number, tools: number, cost: number, ms: number): TaskRunResult => |
| 69 | ({ id, passed, reasons: [], iterations: iters, toolCalls: tools, costUsd: cost, wallMs: ms }); |
| 70 | |
| 71 | it('computes pass rate and averages', () => { |
| 72 | const s = summarize([ |
Tested by
no test coverage detected