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

FlexMeasures / flexmeasures / 22305931956
78%
main: 78%

Build:
Build:
LAST BUILD BRANCH: copilot/sub-pr-1981
DEFAULT BRANCH: main
Ran 23 Feb 2026 12:32PM UTC
Jobs 3
Files 173
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Feb 2026 12:22PM UTC coverage: 77.793% (-0.03%) from 77.821%
22305931956

push

github

web-flow
Update timing defaults in forecasting schema (#1974)

* feat: make predict retrain-frequency default to planning horizon then min(planning_horizon, data["max_forecast_horizon"])

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

* refactor:  simplify end_date calculation to use predict_period instead of timedelta

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

* feat: default max_forecast_horizon to predict_period

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

* feat: add validation for max_forecast_horizon to ensure it does not exceed predict_period

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

* feat: set default forecast_frequency based on min of planning_horizon, predict_period, and max_forecast_horizon

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

* fix: add planning horizon from config

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

* dev: uncomment out tests that were failing

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

* fix: fix test cae forecast_frequency expectation it should be 12 hours not 48hours since we want New forecast viewpoint every 12 hours

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

* fix: tests should expect 5 cycles. the test passes when we expect 1cycle

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

* feat: add duration to schema

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* feat: pass original data to `resolve_config` so we can check whether start, end and duration have been passed

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* feat: move end_date calculation up

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

* feat: fix max-forecast-horizon and forecast freq default calculation

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

* dev: remove breakpoint

Sig... (continued)

1629 of 2158 branches covered (75.49%)

Branch coverage included in aggregate %.

89 of 93 new or added lines in 4 files covered. (95.7%)

8 existing lines in 2 files now uncovered.

11227 of 14368 relevant lines covered (78.14%)

4.69 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
91.72
1.3% flexmeasures/data/schemas/forecasting/pipeline.py

Uncovered Existing Lines

Lines Coverage ∆ File
3
78.38
-4.5% flexmeasures/data/models/forecasting/model_spec_factory.py
5
83.33
-14.29% flexmeasures/data/models/forecasting/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 22305931956.1 23 Feb 2026 12:32PM UTC 336
77.91
GitHub Action Run
2 22305931956.2 23 Feb 2026 12:32PM UTC 336
77.95
GitHub Action Run
3 22305931956.3 23 Feb 2026 12:32PM UTC 336
77.95
GitHub Action Run
Source Files on build 22305931956
  • Tree
  • List 173
  • Changed 8
  • Source Changed 6
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #22305931956
  • 4ca13197 on github
  • Prev Build on feat/optional-training-start (#22072296305)
  • Next Build on feat/optional-training-start (#22306018209)
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