MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / expected_tier_for_view

Function expected_tier_for_view

bench/evaluate.py:27–30  ·  view source on GitHub ↗
(tc: TestCase, view: str)

Source from the content-addressed store, hash-verified

25
26
27def expected_tier_for_view(tc: TestCase, view: str) -> str:
28 if view == "classifier" and tc.expected_classifier_tier:
29 return collapse_tier(tc.expected_classifier_tier)
30 return collapse_tier(tc.expected_tier)
31
32
33def build_routing_features(payload: dict[str, object] | None) -> RoutingFeatures | None:

Callers 1

evaluate_datasetFunction · 0.85

Calls 1

collapse_tierFunction · 0.85

Tested by

no test coverage detected