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

Function test_abstaining_signal_excluded

tests/test_ensemble.py:20–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18
19
20def test_abstaining_signal_excluded():
21 votes = [TierVote(tier_id=2, confidence=0.7), TierVote(tier_id=None, confidence=0.0)]
22 ens = Ensemble(weights=[0.5, 0.5])
23 result = ens.decide(votes)
24 assert result.tier_id == 2
25
26
27def test_all_abstain():

Callers

nothing calls this directly

Calls 3

decideMethod · 0.95
TierVoteClass · 0.90
EnsembleClass · 0.90

Tested by

no test coverage detected