• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FlexMeasures / flexmeasures / 19992158477

06 Dec 2025 05:54PM UTC coverage: 73.468% (-0.04%) from 73.503%
19992158477

push

github

web-flow
Return meaningful results from the Train-Predict pipeline compute method (#1822)

* Feat: add endpoint to trigger forecasting job for a sensor

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* chore: update tags for trigger_forecast to sensors

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* style: run pre-commit.

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* chore: remove unused imports

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: add source parameter to forecaster instantiation in SensorAPI

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: allow dynamic model selection for forecaster instantiation in SensorAPI if model passed in as field in api call

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: return bdf from prediction pipeline upon successful completion

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: return forecasts from run_cycle in TrainPredictPipeline

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: return forecasts list from run_cycle in TrainPredictPipeline

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* fix: correctly pass as_job param in forecasting parameters

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: return forecasts in dict forma with data and sensor fields

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: initialize jobs list before while loop so we can store all jobs created

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: initialize return_values to store forecasts and jobs in TrainPredictPipeline

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* Feat: append forecasts and sensor data to return_values in run_cycle

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsa... (continued)

1393 of 2050 branches covered (67.95%)

Branch coverage included in aggregate %.

15 of 26 new or added lines in 5 files covered. (57.69%)

10298 of 13863 relevant lines covered (74.28%)

5.94 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

30.94
/flexmeasures/cli/data_add.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc