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

Function projectWithContextSessions

tests/optimize.test.ts:93–101  ·  view source on GitHub ↗
(sessions: TestSession[], project = 'app')

Source from the content-addressed store, hash-verified

91}
92
93function projectWithContextSessions(sessions: TestSession[], project = 'app'): ProjectSummary {
94 return {
95 project,
96 projectPath: `/tmp/${project}`,
97 sessions,
98 totalCostUSD: sessions.reduce((sum, session) => sum + session.totalCostUSD, 0),
99 totalApiCalls: sessions.reduce((sum, session) => sum + session.apiCalls, 0),
100 }
101}
102
103describe('detectJunkReads', () => {
104 it('returns null below minimum threshold', () => {

Callers 1

optimize.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected