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

Function fake_classify

tests/test_quality_routing.py:2465–2476  ·  view source on GitHub ↗
(*_args, **_kwargs)

Source from the content-addressed store, hash-verified

2463 from uncommon_route.signals.base import TierVote
2464
2465 def fake_classify(*_args, **_kwargs):
2466 return api.V2ClassifyResult(
2467 complexity=0.90,
2468 confidence=0.80,
2469 tier_id=3,
2470 method="direct",
2471 signals_text=("stub-high",),
2472 vote_a=TierVote(3, 0.80),
2473 vote_b=TierVote(3, 1.00),
2474 vote_c=TierVote(3, 0.80),
2475 query_embedding=None,
2476 )
2477
2478 monkeypatch.setattr(api, "_v2_classify", fake_classify)
2479 pricing = {

Callers

nothing calls this directly

Calls 1

TierVoteClass · 0.90

Tested by

no test coverage detected