()
| 22 | |
| 23 | |
| 24 | def test_weights_stay_normalized(): |
| 25 | tracker = SignalWeightTracker(initial_weights=[0.4, 0.3, 0.3]) |
| 26 | for _ in range(100): |
| 27 | tracker.update([0, 1, 2], [False, False, False], 0) |
| 28 | total = sum(tracker.weights) |
| 29 | assert abs(total - 1.0) < 0.01 |
| 30 | |
| 31 | |
| 32 | def test_learning_rate_decays(): |
nothing calls this directly
no test coverage detected