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

FlexMeasures / flexmeasures / 18964786904

31 Oct 2025 06:33AM UTC coverage: 73.522% (+0.6%) from 72.89%
18964786904

Pull #1546

github

web-flow
Add max training period param to cap training window (#1741)

* feat: add max-training-period option to CLI command

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

* feat: add max_training_period field to ForecasterParametersSchema and enforce its limit in validation

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

* feat: add logging for train-period exceeding max-training-period in ForecasterParametersSchema validation

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

* test: add test to verify logging and capping of train_period exceeding max_training_period

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

* style: run pre-commit

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

---------

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>
Signed-off-by: Mohamed Belhsan Hmida <149331360+BelhsanHmida@users.noreply.github.com>
Pull Request #1546: feat: fixed-view-point forecasting pipeline, available as CLI cmd `flexmeasures add forecasts`

1352 of 1972 branches covered (68.56%)

Branch coverage included in aggregate %.

673 of 827 new or added lines in 21 files covered. (81.38%)

1 existing line in 1 file now uncovered.

9977 of 13437 relevant lines covered (74.25%)

2.97 hits per line

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

56.25
/flexmeasures/data/models/forecasting/exceptions.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