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

Method test_status

tests/test_feedback.py:182–188  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

180 assert result.action == "rate_limited"
181
182 def test_status(self) -> None:
183 fc = FeedbackCollector()
184 fc.capture("req1", _dummy_features(), "SIMPLE")
185 s = fc.status()
186 assert s["pending_contexts"] == 1
187 assert s["total_online_updates"] == 0
188 assert isinstance(s["online_model_active"], bool)
189
190 def test_ngrams_stripped(self) -> None:
191 fc = FeedbackCollector()

Callers

nothing calls this directly

Calls 4

captureMethod · 0.95
statusMethod · 0.95
FeedbackCollectorClass · 0.90
_dummy_featuresFunction · 0.85

Tested by

no test coverage detected