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

Class BanditConfig

uncommon_route/router/types.py:444–453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442
443@dataclass(frozen=True, slots=True)
444class BanditConfig:
445 enabled: bool = True
446 reward_weight: float = 0.12
447 exploration_weight: float = 0.18
448 prior_n: float = 5.0
449 warmup_pulls: int = 2
450 min_samples_for_guardrail: int = 3
451 min_reliability: float = 0.25
452 max_cost_ratio: float = 3.0
453 enabled_tiers: tuple[Tier, ...] = (Tier.SIMPLE, Tier.MEDIUM)
454
455
456@dataclass(frozen=True, slots=True)

Calls

no outgoing calls