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

FlexMeasures / flexmeasures / 35593021279
86%

Build:
DEFAULT BRANCH: main
Ran 21 Sep 2026 11:23AM UTC
Jobs 1
Files 185
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

21 Sep 2026 11:14AM UTC coverage: 85.704% (-0.01%) from 85.718%
35593021279

push

github

web-flow
perf: find built-in data generators from an explicit list (#2566)

* perf: find built-in data generators from an explicit list

Previous solution walked flexmeasures.data.models at start-up and imported every module under it which increased import times. A test checks the list against a full walk. Plugins keep being discovered as before.

Signed-off-by: Stijn van Houwelingen <teadrinkingprogrammer@proton.me>

* fix: name the data generator in the "not registered" error

The message was a plain string holding {self.model}, so it printed that
placeholder literally instead of the name that was not found.

This path gets easier to reach now that the built-in data generators come
from an explicit list: a DataSource row naming a generator this instance
does not register, such as MetaStorageScheduler, ends up here.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013hmaQdpTPcMaL9HvfzpotY
Signed-off-by: F.N. Claessen <felix@seita.nl>

---------

Signed-off-by: Stijn van Houwelingen <teadrinkingprogrammer@proton.me>
Signed-off-by: F.N. Claessen <felix@seita.nl>
Co-authored-by: F.N. Claessen <felix@seita.nl>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>

17 of 22 new or added lines in 3 files covered. (77.27%)

19508 of 22762 relevant lines covered (85.7%)

0.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
74.81
-0.63% flexmeasures/utils/coding_utils.py
Jobs
ID Job ID Ran Files Coverage
1 35593021279.1 21 Sep 2026 11:23AM UTC 185
85.7
GitHub Action Run
Source Files on build 35593021279
  • Tree
  • List 185
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35593021279
  • 4aed0c3f on github
  • Prev Build on main (#35576920207)
  • Next Build on main (#35604016315)
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