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

FlexMeasures / flexmeasures / 28865400828
81%
main: 83%

Build:
Build:
LAST BUILD BRANCH: feat/sensor-scoped-commitments
DEFAULT BRANCH: main
Ran 07 Jul 2026 12:30PM UTC
Jobs 1
Files 166
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 12:16PM UTC coverage: 80.671% (-0.2%) from 80.821%
28865400828

push

github

web-flow
feat: Split flex-context settings by commodity for dynamic capacity scheduling (#2172)

* dev: Support commodity-specific prices and site capacities in storage scheduler

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* dev: Add commodity-specific flex-context schema

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* dev: Add dynamic commodity prices and split flex-context settings to capacity scheduling test

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* feat: create a shared schema for flex-context and commodity-context

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* update the test case to have inflexible-devices-sensors for each commodity-flex-context

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* refactor: loop over flex-context fields and choose all fields except 'gas-price' for electricity as commodity

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* fix: add inflexible-device-sensors to the gas commodity model

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* fix: remove self

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* fix: fall back to deprecated price fields

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* fix: typo

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* feat: store commitment costs on job meta

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* refactor: clarify which job is which

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* fix: update test expectation: the battery could save more?

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* dev: add todo

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* fix: price window should match scheduling window

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* fix: comment out unreasoned check

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* fix: update test expectation; apparently the battery could save more?

Signed-off-by: F.N. Claessen <claessen@seita.nl>

* dev: add todo

Signed-o... (continued)

242 of 259 new or added lines in 12 files covered. (93.44%)

37 existing lines in 3 files now uncovered.

13464 of 16690 relevant lines covered (80.67%)

0.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
88.47
0.15% flexmeasures/data/models/planning/storage.py
5
93.38
-0.52% flexmeasures/data/schemas/scheduling/__init__.py
2
89.39
-0.14% flexmeasures/data/models/planning/linear_optimization.py
1
74.56
0.98% flexmeasures/utils/coding_utils.py

Coverage Regressions

Lines Coverage ∆ File
31
76.19
-17.01% flexmeasures/data/schemas/scheduling/storage.py
5
88.24
-9.68% flexmeasures/api/common/schemas/utils.py
1
88.47
0.15% flexmeasures/data/models/planning/storage.py
Jobs
ID Job ID Ran Files Coverage
1 28865400828.1 07 Jul 2026 12:30PM UTC 166
80.67
GitHub Action Run
Source Files on build 28865400828
  • Tree
  • List 166
  • Changed 12
  • Source Changed 12
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28865400828
  • f95ad5ec on github
  • Prev Build on feat/multi-feed-stock (#26954329978)
  • Next Build on feat/multi-feed-stock (#28866359246)
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