(self)
| 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() |
nothing calls this directly
no test coverage detected