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

Class _RecentPrediction

uncommon_route/v2_lifecycle.py:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30@dataclass
31class _RecentPrediction:
32 tier_id: int
33 signal_a_tier: int | None
34 signal_a_abstained: bool
35 signal_c_tier: int | None
36 signal_c_abstained: bool
37
38_recent_predictions: deque[tuple[str, _RecentPrediction]] = deque(maxlen=500)
39_pending_telemetry: dict[str, Any] = {} # request_id → TelemetryRecord (Stage 1, awaiting outcome)

Callers 1

on_route_completeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected