MCPcopy Create free account
hub / github.com/codehamr/codehamr / TestFinalizeFoldsInFlightEstimate

Function TestFinalizeFoldsInFlightEstimate

internal/tui/tui_test.go:1702–1721  ·  view source on GitHub ↗

TestFinalizeFoldsInFlightEstimate: a turn aborted mid-stream (Ctrl+C, error) has no EventDone to fold the current round's tokens into turnTokens; they sit in streamingEstimate. finalizeTurn must commit that estimate so the frozen avg counts what was generated up to the interrupt and the session tota

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

newTestModelFunction · 0.85
finalizeTurnMethod · 0.80

Tested by

no test coverage detected