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

FlexMeasures / flexmeasures / 16537118334
74%

Build:
DEFAULT BRANCH: main
Ran 26 Jul 2025 06:49AM UTC
Jobs 4
Files 157
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

26 Jul 2025 06:40AM UTC coverage: 73.217% (+0.007%) from 73.21%
16537118334

push

github

web-flow
Fix/per kWh price sensors in flex context (#1628)

* feat: add test case covering flex-context sensors sharing the same unit

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

* fix: do not convert share currency unit to base units

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

* refactor: no conversion needed if not converting to base units

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

* feat: test shared SEK/MWh, too

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

* feat: check mixing SEK/kWh with SEK/MWh, too

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

* fix: add field name to ValidationError

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

* docs: changelog entry

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

* fix: update test expectations

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

* Revert "refactor: no conversion needed if not converting to base units"

This reverts commit 1375efc5e.

* Revert "fix: do not convert share currency unit to base units"

This reverts commit 89b4b1a47.

* Revert "fix: update test expectations"

This reverts commit 035827800.

* feat: convert compatible units to support mixed price units like SEK/MWh with SEK/kWh

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

* fix: tests

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

* fix: derive shared currency unit from deprecated fields, for backwards compatibility

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

* refactor: use static class util method

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

* refactor: simplify using walrus operator

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

* refactor: simplify using string concatenation

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

* docs: add docstring and doctests

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

---------

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

1212 of 1776 branches covered (68.24%)

Branch coverage included in aggregate %.

8 of 9 new or added lines in 1 file covered. (88.89%)

9001 of 12173 relevant lines covered (73.94%)

5.91 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.24
0.82% flexmeasures/data/schemas/scheduling/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 16537118334.1 26 Jul 2025 06:49AM UTC 304
73.55
GitHub Action Run
2 16537118334.2 26 Jul 2025 06:50AM UTC 304
73.55
GitHub Action Run
3 16537118334.3 26 Jul 2025 06:50AM UTC 304
73.55
GitHub Action Run
4 16537118334.4 26 Jul 2025 06:50AM UTC 304
73.51
GitHub Action Run
Source Files on build 16537118334
  • Tree
  • List 157
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16537118334
  • a77a601f on github
  • Prev Build on main (#16520092808)
  • Next Build on main (#16540666615)
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