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

FlexMeasures / flexmeasures / 36719204342
86%

Build:
DEFAULT BRANCH: main
Ran 30 Sep 2026 01:19PM UTC
Jobs 1
Files 188
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

30 Sep 2026 01:05PM UTC coverage: 86.206% (+0.02%) from 86.188%
36719204342

push

github

web-flow
Let the scheduler clean its inputs with bounds on a sensor reference (#2561)

* Let a forecast target name the sources it trains on

The three regressor options accept a source-filtered sensor reference, so a
regressor can say which of the sources recording on a sensor it reads. The
target sensor took a bare ID only, so a sensor that several sources report on
was trained on whichever of them won each event, with no way to say which one
holds the truth.

The target now accepts the same reference. A bare ID keeps behaving as before:
every source is trained on except forecasters, which are left out so that a
forecaster does not learn from its own forecasts. A reference replaces that
default rather than adding to it, so pass exclude-source-types yourself to keep
forecasters out alongside another filter.

Forecasts are still recorded on the sensor itself, never on a source-filtered
view of it, so the output sensor unwraps a referenced target. The reference
survives serialization into a queued job and storage on an automation.

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

* docs: changelog entry for the forecast target source filter

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

* data/models/forecasting: extract reusable bound parsing and application

Context:
- Clipping and snapping are about to be applied to forecaster inputs as well as
  to forecast output, so the logic can no longer live inside the output path.

Change:
- Split parse_bounds and apply_bounds_to_values out of apply_forecast_post_processing,
  keeping snap-then-clip order and the [first, second) interval semantics.
- Let error messages carry a label, so input bounds can name the sensor at fault.
- Move _is_parseable_quantity here from the schema, where the input reference
  schema can reach it too without importing the pipeline schema.

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

* data/models/forecasting: hand the... (continued)

39 of 40 new or added lines in 3 files covered. (97.5%)

1 existing line in 1 file now uncovered.

20717 of 24032 relevant lines covered (86.21%)

0.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
87.57
0.42% flexmeasures/data/schemas/sensors.py

Coverage Regressions

Lines Coverage ∆ File
1
87.57
0.42% flexmeasures/data/schemas/sensors.py
Jobs
ID Job ID Ran Files Coverage
1 36719204342.1 30 Sep 2026 01:19PM UTC 188
86.21
GitHub Action Run
Source Files on build 36719204342
  • Tree
  • List 188
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36719204342
  • 6e0ba02c on github
  • Prev Build on main (#36697434606)
  • Next Build on main (#36756765420)
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