Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CommonstackAI/UncommonRoute
/ test_metrics_reset
Function
test_metrics_reset
tests/test_observability.py:38–42 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
36
37
38
def
test_metrics_reset():
39
m = RoutingMetrics()
40
m.record_routing(tier=0, model=
"test"
, method=
"direct"
, confidence=0.9)
41
m.reset()
42
assert m.total_requests == 0
Callers
nothing calls this directly
Calls
3
record_routing
Method · 0.95
reset
Method · 0.95
RoutingMetrics
Class · 0.90
Tested by
no test coverage detected