Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CommonstackAI/UncommonRoute
/ _collapse_tier
Function
_collapse_tier
tests/test_bench.py:29–31 ·
view source on GitHub ↗
(tier: str)
Source
from the content-addressed store, hash-verified
27
28
29
def
_collapse_tier(tier: str) -> str:
30
normalized = str(tier).strip().upper()
31
return
"COMPLEX"
if
normalized ==
"REASONING"
else
normalized
32
33
34
def
_evaluate(dataset: list[TestCase]) -> list[dict]:
Callers
1
_evaluate
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected