Should return strategy statistics.
(self)
| 227 | assert strategies[0]["success_rate"] >= strategies[-1]["success_rate"] |
| 228 | |
| 229 | def test_statistics(self): |
| 230 | """Should return strategy statistics.""" |
| 231 | tracker = StrategyTracker() |
| 232 | tracker.record_attempt("test_strategy", "test_error", True, 1.0) |
| 233 | |
| 234 | stats = tracker.get_statistics() |
| 235 | assert "total_strategies" in stats |
| 236 | assert "overall_success_rate" in stats |
| 237 | |
| 238 | |
| 239 | class TestLearningManager: |
nothing calls this directly
no test coverage detected