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

FlexMeasures / flexmeasures / 28902397985
81%
main: 81%

Build:
Build:
LAST BUILD BRANCH: feat/add-configurable-forecast-post-processing
DEFAULT BRANCH: main
Ran 07 Jul 2026 10:29PM UTC
Jobs 1
Files 167
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

07 Jul 2026 10:14PM UTC coverage: 81.03% (-0.05%) from 81.08%
28902397985

Pull #1946

github

Flix6x
fix: count only device models, not stock entries, when enumerating devices in _prepare

The commodity_to_devices mapping and the num_flexible_devices count
were built from the re-copied flex_model, which includes stock-model
entries. This overran the sensors list (IndexError at sensor_d =
sensors[d]) whenever the flex-model contained a stock entry, and gave
stock entries bogus device indices in commodity groups. Enumerate
device_models instead, keeping the earlier num_flexible_devices =
len(device_models) and matching _compute_commodity_aggregate_schedules,
which already uses self._device_models.

Signed-off-by: F.N. Claessen <claessen@seita.nl>
Pull Request #1946: Add multi‑commodity support to device scheduler

465 of 503 new or added lines in 12 files covered. (92.45%)

41 existing lines in 5 files now uncovered.

14032 of 17317 relevant lines covered (81.03%)

0.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
17
89.24
0.47% flexmeasures/data/models/planning/storage.py
11
84.36
-2.86% flexmeasures/data/models/planning/__init__.py
5
93.38
0.32% flexmeasures/data/schemas/scheduling/__init__.py
3
89.39
0.92% flexmeasures/data/models/planning/linear_optimization.py
1
76.19
-16.77% flexmeasures/data/schemas/scheduling/storage.py
1
74.56
0.98% flexmeasures/utils/coding_utils.py

Coverage Regressions

Lines Coverage ∆ File
31
76.19
-16.77% flexmeasures/data/schemas/scheduling/storage.py
5
88.24
-9.68% flexmeasures/api/common/schemas/utils.py
3
84.36
-2.86% flexmeasures/data/models/planning/__init__.py
1
89.39
0.92% flexmeasures/data/models/planning/linear_optimization.py
1
93.38
0.32% flexmeasures/data/schemas/scheduling/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 28902397985.1 07 Jul 2026 10:29PM UTC 167
81.03
GitHub Action Run
Source Files on build 28902397985
  • Tree
  • List 167
  • Changed 12
  • Source Changed 12
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28902397985
  • Pull Request #1946
  • PR Base - main (#28826943174)
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