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

Method test_classify

tests/test_usage_modes.py:415–420  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

413 assert 0 <= d.complexity <= 1
414
415 def test_classify(self) -> None:
416 from uncommon_route import classify
417 r = classify("implement a B-tree in C++ with deletion support")
418 assert r.tier is not None
419 assert r.tier.value in ("MEDIUM", "COMPLEX")
420 assert len(r.signals) > 0
421
422 def test_route_with_system_prompt(self) -> None:
423 from uncommon_route import route

Callers

nothing calls this directly

Calls 1

classifyFunction · 0.90

Tested by

no test coverage detected