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

FlexMeasures / flexmeasures / 28956729277
81%

Build:
DEFAULT BRANCH: main
Ran 08 Jul 2026 04:13PM UTC
Jobs 1
Files 168
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

08 Jul 2026 03:58PM UTC coverage: 81.161% (-0.05%) from 81.212%
28956729277

push

github

web-flow
Add multi‑commodity support to device scheduler (#1946)

* docs: new section describing commitments

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

* docs: rewrite the overview in commitments section

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

* docs: keep ems variables, but explain them as representing the site context

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

* docs: cross-reference the commitments section and the linear problem formulation

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

* fix: cross-references

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

* docs: add commitments section to index

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

* feat: add a util function for printing out commitments in a tabulated format

* refactor: move pretty printing method to class

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

* feat: Commitment supports device groups

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

* feat: start testing device grouping

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

* dev: test multi-feed

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

* update the ids of devices to be integers

* feat: function that group commitment quantities

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

* add commitments for multi group

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

* fix: get unique list of devices for a frame column

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

* fix: create util functions that extract devices for a list of values and map them to the respective group id

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

* fix: create a series for a list of grouped devices

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

* drop outdated comments

* use commitment costs and add asserts for electricity and gas

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

* and an assert for commodity costs

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

* add an extra assert on c... (continued)

470 of 508 new or added lines in 12 files covered. (92.52%)

42 existing lines in 6 files now uncovered.

14122 of 17400 relevant lines covered (81.16%)

0.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
17
90.84
0.06% 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
90.84
0.06% flexmeasures/data/models/planning/storage.py
1
93.38
0.32% flexmeasures/data/schemas/scheduling/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 28956729277.1 08 Jul 2026 04:13PM UTC 168
81.16
GitHub Action Run
Source Files on build 28956729277
  • Tree
  • List 168
  • Changed 12
  • Source Changed 12
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #28956729277
  • 003c145c on github
  • Prev Build on main (#28945563950)
  • Next Build on main (#28966381617)
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