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

FlexMeasures / flexmeasures / 28902397985 / 1
81%
main: 81%

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

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

14032 of 17317 relevant lines covered (81.03%)

0.81 hits per line

Source Files on job 28902397985.1
  • Tree
  • List 167
  • Changed 12
  • Source Changed 12
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28902397985
  • d39a6a2f on github
  • Prev Job for on feat/multi-commodity (#28826943174.1)
  • Next Job for on feat/multi-commodity (#28954781718.1)
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