()
| 25 | |
| 26 | |
| 27 | def test_all_abstain(): |
| 28 | votes = [TierVote(tier_id=None, confidence=0.0), TierVote(tier_id=None, confidence=0.0)] |
| 29 | ens = Ensemble(weights=[0.5, 0.5]) |
| 30 | result = ens.decide(votes) |
| 31 | assert result.tier_id is None |
| 32 | |
| 33 | |
| 34 | def test_risk_tolerance_shifts_threshold(): |