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

Method finalizeTurn

internal/tui/model.go:879–905  ·  view source on GitHub ↗

finalizeTurn freezes the finished turn's wall-clock summary into the status bar (shown at idle until the next submit) and logs the totals. outcome is the finish glyph: ✓ clean, ✗ abort/stall. The bar's avg tok/s divides lastTokens by lastElapsed (wall-clock), so it stays self-verifying against the d

(outcome turnOutcome)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

abortTurnMethod · 0.95
handleStreamClosedMethod · 0.95

Calls 3

humanRateFunction · 0.85
dbgWritefFunction · 0.85
humanTokensFunction · 0.85