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

FlexMeasures / flexmeasures / 31967587727
84%

Build:
DEFAULT BRANCH: main
Ran 16 Aug 2026 07:37PM UTC
Jobs 1
Files 176
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

16 Aug 2026 07:26PM UTC coverage: 84.094% (+0.004%) from 84.09%
31967587727

push

github

web-flow
test: multi-session same-sensor schedules accumulate (sum) (#2344)

* test: multi-session same-sensor schedules accumulate (sum)

Regression for #1947 after core fix #1948: two flex-model sessions
sharing one power sensor must return a summed schedule, not overwrite.

Signed-off-by: Sankalp Thakur <sankalphimself@gmail.com>

* test: cover overlapping multi-session same-sensor accumulation

Strengthen the non-overlap regression with per-half assertions and add
a companion case where capacity is pre-split across concurrent sessions
on one power sensor (sum, not overwrite).

Signed-off-by: Sankalp Thakur <sankalphimself@gmail.com>

* style: black-format multi-session same-sensor tests

Signed-off-by: Sankalp Thakur <sankalphimself@gmail.com>

* test: use charge point with connectors instead of building/shared sensor

Per review: an EVSE session's generic asset should be a charge point, not
a building, and two sessions cannot physically overlap on the same
connector's power sensor. Add a charge_point fixture and rewrite the
overlapping-sessions test to use two connectors (separate power sensors)
on one charge point, sharing its site-power-capacity - which is what
actually makes overlap physically meaningful. The non-overlapping test
keeps the single shared sensor, since that's the actual #1947 regression,
just moved onto the charge_point asset.

Signed-off-by: Sankalp Thakur <sankalphimself@gmail.com>

* test: pre-split connector capacity for overlapping sessions

Review asked for different power sensors on a charge point, with each
connector's power-capacity decreased during the shared hours. Drop the
site-cap pin and pre-allocate those windows in the flex-models instead.

Signed-off-by: Sankalp Thakur <sankalphimself@gmail.com>

* test: drop issue cross-references from docstrings per review

Signed-off-by: Sankalp Thakur <sankalphimself@gmail.com>

---------

Signed-off-by: Sankalp Thakur <sankalphimself@gmail.com>

17347 of 20628 relevant lines covered (84.09%)

0.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 31967587727.1 16 Aug 2026 07:37PM UTC 176
84.09
GitHub Action Run
Source Files on build 31967587727
  • Tree
  • List 176
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31967587727
  • 26a0f015 on github
  • Prev Build on main (#31953497598)
  • Next Build on main (#32028641639)
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