Commit eb7d179
Fix test by making training period overlap detection period
- Changed training period from 14 to 30 days to overlap with 7-day detection period
- Changed normal data from 14 to 30 days (days 37-7 ago)
- Changed days_back from 30 to 40 to cover entire data range
- Changed sensitivity from 2 to 3 to allow anomaly absorption when included in training
- Set backfill_days to 0 to avoid independent exclusion of recent data
- This matches the pattern used in test_volume_anomalies.py::test_exclude_detection_from_training
Co-Authored-By: Yosef Arbiv <[email protected]>1 parent 2558e32 commit eb7d179
1 file changed
+9
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
245 | | - | |
| 244 | + | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | | - | |
| 255 | + | |
256 | 256 | | |
257 | | - | |
| 257 | + | |
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | | - | |
281 | | - | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| |||
0 commit comments