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

FlexMeasures / flexmeasures / 16540412451
73%
main: 73%

Build:
Build:
LAST BUILD BRANCH: feat/consultants-see-client-assets-on-dashboard
DEFAULT BRANCH: main
Ran 26 Jul 2025 01:50PM UTC
Jobs 4
Files 160
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 01:41PM UTC coverage: 72.936% (+0.006%) from 72.93%
16540412451

push

github

Flix6x
Backport #1628: 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>
(cherry picked from commit a77a601f44412bb... (continued)

1210 of 1779 branches covered (68.02%)

Branch coverage included in aggregate %.

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

1 existing line in 1 file now uncovered.

8977 of 12188 relevant lines covered (73.65%)

5.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.24
0.82% flexmeasures/data/schemas/scheduling/__init__.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
78.75
-0.35% flexmeasures/data/models/time_series.py
Jobs
ID Job ID Ran Files Coverage
1 16540412451.1 26 Jul 2025 01:50PM UTC 310
73.23
GitHub Action Run
2 16540412451.2 26 Jul 2025 01:50PM UTC 310
73.27
GitHub Action Run
3 16540412451.3 26 Jul 2025 01:51PM UTC 310
73.27
GitHub Action Run
4 16540412451.4 26 Jul 2025 01:51PM UTC 310
73.27
GitHub Action Run
Source Files on build 16540412451
  • Tree
  • List 160
  • 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 #16540412451
  • 0d693e38 on github
  • Prev Build on main (#16401426947)
  • Next Build on 0.27.x (#16575827573)
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

© 2025 Coveralls, Inc