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

FlexMeasures / flexmeasures / 47514390971
89%

Build:
DEFAULT BRANCH: main
Ran 05 Dec 2026 11:34AM UTC
Jobs 1
Files 205
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

05 Dec 2026 11:25AM UTC coverage: 89.12% (+0.03%) from 89.088%
47514390971

push

github

web-flow
Decide which devices give way on SoC constraints, with breach prices per priority (#2898)

* Add the priorities flex-context field and the priority flex-model field

A flex-context can now list breach prices per priority,
overriding the soc-minima-breach-price and soc-maxima-breach-price for the devices that name that priority in their flex-model.
Priority names must be unique, each entry sets at least one breach price,
and the prices share the currency of the other price settings.
Priorities are not yet editable in the UI's flex-context editor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DWv6v1GeoEGD35NdedfTDc
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* Price each device's SoC constraints with the breach prices of its priority

A device naming a priority in its flex-model now gets its soc-minima, soc-maxima and soc-targets priced with the breach prices of that priority,
falling back to the top-level breach prices for any price its priority leaves out.
That lets an unavoidable shortfall land on the device with the lowest breach price, such as one EV out of several, rather than being spread over them.
A priority that the flex-context does not list is rejected, rather than silently falling back to the top-level prices.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DWv6v1GeoEGD35NdedfTDc
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* Add changelog entries for SoC breach priorities

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DWv6v1GeoEGD35NdedfTDc
Signed-off-by: F.N. Claessen <claessen@seita.nl>

* Let a passed list-form flex-context override the stored flex-context

The asset's stored flex-context was merged into the passed electricity context with the stored fields taking precedence,
the opposite of the dict form.
Passed fields now take precedence, and stored ... (continued)

83 of 89 new or added lines in 4 files covered. (93.26%)

26727 of 29990 relevant lines covered (89.12%)

0.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
94.29
-0.39% flexmeasures/data/schemas/scheduling/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 47514390971.1 05 Dec 2026 11:34AM UTC 205
89.12
GitHub Action Run
Source Files on build 47514390971
  • Tree
  • List 205
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #47514390971
  • 023657fc on github
  • Prev Build on main (#47512371606)
  • Next Build on main (#47522768225)
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