Fail clearly on insufficient forecasting history by translating Darts fit errors#2192
Fail clearly on insufficient forecasting history by translating Darts fit errors#2192Copilot wants to merge 6 commits into
Conversation
Co-authored-by: BelhsanHmida <149331360+BelhsanHmida@users.noreply.github.com>
Co-authored-by: BelhsanHmida <149331360+BelhsanHmida@users.noreply.github.com>
Co-authored-by: BelhsanHmida <149331360+BelhsanHmida@users.noreply.github.com>
|
@copilot I don’t think the Issue #2191 is about translating the Darts “no common feature times” failure into a clear Please remove the schema/test changes around preserving the default 48h duration when only For this PR, I think the scope should stay focused on:
|
Agent-Logs-Url: https://github.com/FlexMeasures/flexmeasures/sessions/9b879494-1d9b-4a4a-a0b5-c2b704f6dee9 Co-authored-by: BelhsanHmida <149331360+BelhsanHmida@users.noreply.github.com>
Addressed in 9183269. I removed the schema/defaulting behavior change and reverted the related schema test expectations, so this PR no longer changes max-forecast-horizon/predict-period semantics. I also replaced the unit-level wrapping test with an integration-style regression test that goes through Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot 1. The new test goes through |
Agent-Logs-Url: https://github.com/FlexMeasures/flexmeasures/sessions/3b7e7c11-a298-40b5-9088-79972afb9ec1 Co-authored-by: BelhsanHmida <149331360+BelhsanHmida@users.noreply.github.com>
Implemented in 18f55c8. The regression test no longer monkeypatches |
Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
|
Now what? There should be a second human in the loop right? |
Yes i was thinking to ask second review from yourself or felix. |
Forecasting could fail with a low-level Darts
ValueErrorwhen requested horizon exceeded usable training history.Error translation at model-fit boundary
ValueError(no common times for which features can be created) asNotEnoughDataException.Regression coverage (integration-style)
TrainPredictPipeline.compute(...)that reproduces the Darts fit failure path and asserts it is converted toNotEnoughDataException.