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

FlexMeasures / flexmeasures / 30574728630
83%

Build:
DEFAULT BRANCH: main
Ran 30 Jul 2026 07:37PM UTC
Jobs 1
Files 172
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 Jul 2026 07:24PM UTC coverage: 83.218% (+0.1%) from 83.07%
30574728630

push

github

web-flow
Replace flex-context field inflexible-device-sensors with inflexible-consumption and inflexible-production (#2358)

* feat: replace inflexible-device-sensors with sign-explicit flex-context fields

Introduce the inflexible-consumption and inflexible-production flex-context
fields (issue #2239): lists of sensor references (with optional source
filters) whose key name makes explicit how the sign of each inflexible
device's power data is read. Deprecate inflexible-device-sensors (still
supported; sign read from each sensor's consumption_is_positive attribute),
reject mixing the deprecated and newer keys in one flex-context, and treat
the three keys as one field family when merging flex-contexts across
sources (request over DB, asset-tree inheritance).

Includes a behavior-preserving data migration splitting stored contexts by
each sensor's consumption_is_positive attribute, scheduler support via the
device inventory, sequential-scheduling injection routed by the same
attribute, UI editor support, docs/tutorial updates and OpenAPI regeneration.

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

* docs: fill in PR number in changelog

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

* fix: gather inflexible device sensors from nested commodities entries too

Addresses Copilot review on #2358: get_inflexible_device_sensors only
inspected the top-level flex-context keys, omitting inflexible devices
configured within per-commodity contexts from sensor status/metadata.

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

* refactor: iterate migration result cursor directly

Addresses Copilot revi... (continued)

148 of 152 new or added lines in 12 files covered. (97.37%)

391 existing lines in 12 files now uncovered.

16270 of 19551 relevant lines covered (83.22%)

0.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
90.94
-0.37% flexmeasures/data/services/scheduling.py
1
79.25
0.45% flexmeasures/data/models/planning/__init__.py
1
95.14
0.91% flexmeasures/data/models/planning/devices.py

Coverage Regressions

Lines Coverage ∆ File
73
91.23
0.0% flexmeasures/data/models/planning/storage.py
64
80.5
0.31% flexmeasures/data/models/generic_assets.py
59
79.25
0.45% flexmeasures/data/models/planning/__init__.py
57
80.5
2.63% flexmeasures/data/services/sensors.py
30
93.83
1.06% flexmeasures/data/schemas/scheduling/__init__.py
28
87.61
-0.72% flexmeasures/data/schemas/scheduling/storage.py
20
90.94
-0.37% flexmeasures/data/services/scheduling.py
17
90.52
0.0% flexmeasures/api/v3_0/sensors.py
14
81.19
0.0% flexmeasures/api/v3_0/assets.py
14
95.14
0.91% flexmeasures/data/models/planning/devices.py
8
87.33
0.03% flexmeasures/data/schemas/sensors.py
7
88.27
1.06% flexmeasures/data/models/planning/utils.py
Jobs
ID Job ID Ran Files Coverage
1 30574728630.1 30 Jul 2026 07:37PM UTC 172
83.22
GitHub Action Run
Source Files on build 30574728630
  • Tree
  • List 172
  • Changed 13
  • Source Changed 13
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30574728630
  • 279df223 on github
  • Prev Build on main (#30497297146)
  • Next Build on main (#30587447484)
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