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

FlexMeasures / flexmeasures / 37850971762
87%
main: 87%

Build:
Build:
LAST BUILD BRANCH: fix/2253-constant-sensor-interpolation
DEFAULT BRANCH: main
Ran 08 Oct 2026 10:13PM UTC
Jobs 1
Files 192
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

08 Oct 2026 09:58PM UTC coverage: 86.623% (+0.03%) from 86.593%
37850971762

Pull #2693

github

Flix6x
Derive the resolution to forecast an instantaneous sensor at, when none is given

An instantaneous sensor used to need a resolution in the parameters.
Without one, it is now taken from the sensor's frequency attribute,
or else inferred from the sensor's data (the most common duration between its readings in the 30 days before the predictions start, snapped to whole minutes),
or else one hour.
The derived resolution is the one passed on, so it is also the one recorded with the forecasting jobs.

Whether max-forecast-horizon and forecast-frequency are multiples of the resolution is now checked once it is resolved,
and for a derived resolution the error says where it came from, and that setting resolution chooses another.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: F.N. Claessen <claessen@seita.nl>
Pull Request #2693: Forecast an instantaneous sensor at a resolution given in the parameters

63 of 64 new or added lines in 6 files covered. (98.44%)

33 existing lines in 3 files now uncovered.

21485 of 24803 relevant lines covered (86.62%)

0.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
96.43
1.22% flexmeasures/data/schemas/forecasting/pipeline.py

Coverage Regressions

Lines Coverage ∆ File
21
94.65
0.07% flexmeasures/data/models/forecasting/pipelines/base.py
8
96.43
1.22% flexmeasures/data/schemas/forecasting/pipeline.py
4
97.53
0.04% flexmeasures/data/models/forecasting/pipelines/train_predict.py
Jobs
ID Job ID Ran Files Coverage
1 37850971762.1 08 Oct 2026 10:13PM UTC 192
86.62
GitHub Action Run
Source Files on build 37850971762
  • Tree
  • List 192
  • Changed 8
  • Source Changed 8
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37850971762
  • Pull Request #2693
  • PR Base - main (#37834719022)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc