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

Function TestHumanRateFormat

internal/tui/tui_test.go:1630–1651  ·  view source on GitHub ↗

TestHumanRateFormat: throughput as `N tok/s`. Degenerate inputs (zero tokens or zero elapsed) collapse to "" so the banner omits the segment. Sub-10 tok/s keeps one decimal: reasoning models hover near 1 tok/s where it's the signal.

(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 1

humanRateFunction · 0.85

Tested by

no test coverage detected