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

FlexMeasures / flexmeasures / 30673063886
83%
main: 85%

Build:
Build:
LAST BUILD BRANCH: feat/paginate-jobs-endpoint
DEFAULT BRANCH: main
Ran 31 Jul 2026 11:44PM UTC
Jobs 1
Files 172
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

31 Jul 2026 11:29PM UTC coverage: 83.296% (+0.03%) from 83.271%
30673063886

Pull #2295

github

Flix6x
fix: pin a scoped commitment's commodity to its scoped devices; tests + comment tidy

Addresses Copilot's review on #2295:
- A scoped commitment now takes its commodity from the (single) commodity of its
  scoped devices, overriding the schema's electricity default, so its cost is not
  misattributed to the wrong commodity.
- Add tests for the commodity pinning and for the 'scope matches no device -> warn
  and bind nothing' path.
- Fix the sensor-scoped test docstring (it mentioned a battery the test never had).
- Reflow the CommitmentSchema scoping comment to break only after punctuation.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TaMepbxRYzJxQKFtu6Hq4p
Signed-off-by: F.N. Claessen <felix@seita.nl>
Pull Request #2295: Commitments can be scoped to specific sensors, binding their aggregate flow

35 of 36 new or added lines in 2 files covered. (97.22%)

131 existing lines in 2 files now uncovered.

16341 of 19618 relevant lines covered (83.3%)

0.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
91.35
0.12% flexmeasures/data/models/planning/storage.py

Coverage Regressions

Lines Coverage ∆ File
101
91.35
0.12% flexmeasures/data/models/planning/storage.py
30
93.74
0.09% flexmeasures/data/schemas/scheduling/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 30673063886.1 31 Jul 2026 11:44PM UTC 172
83.3
GitHub Action Run
Source Files on build 30673063886
  • Tree
  • List 172
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30673063886
  • Pull Request #2295
  • PR Base - main (#30657663831)
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