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

FlexMeasures / flexmeasures / 14057034383
74%

Build:
DEFAULT BRANCH: main
Ran 25 Mar 2025 10:18AM UTC
Jobs 5
Files 161
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

25 Mar 2025 10:13AM UTC coverage: 67.392% (-0.3%) from 67.734%
14057034383

push

github

web-flow
Renamed confusing capacity variable and refactored logic (#1380)

* refactor: refactored downgrade and upgrade logic handling flex_context site-power_capacity

Signed-off-by: Joshua Edward <oghenerobojosh01@gmail.com>

* refactor: more concise code

Signed-off-by: Joshua Edward <oghenerobojosh01@gmail.com>

* chore: minor additons

Signed-off-by: Joshua Edward <oghenerobojosh01@gmail.com>

* refactor: flexcontext downgrade logic refactoring

Signed-off-by: Joshua Edward <oghenerobojosh01@gmail.com>

* feat: retain any new flex-context fields upon downgrading and upgrading again

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

* dev: fix broken downgrade

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

* fix: JSON (de)serialization

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

* fix: get_market looks for consumption-price instead of market_id

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

* fix: the soc-usage field is not a flex-context field, but a flex-model field, which currently still has its fallbacks under the attributes column

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

* feat: support searching for multiple fallbacks in the order given

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

* feat: patch TimedBelief.search rather than the outdated get_prices

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

* refactor: stop using get_prices and get_market

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

* dev: add todos on utils that seem to have become obsolete

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

* refactor: much more elegant way of letting DBFlexContext override FlexContext

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

* refactor: much more elegant way of letting DBFlexContext override FlexContext

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

* fix: update tests

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

* refactor: fallback attributes for get_continuous_series_sensor_or_quantity on flex-context fields became obsolete

Signed-o... (continued)

7512 of 12028 branches covered (62.45%)

Branch coverage included in aggregate %.

33 of 33 new or added lines in 4 files covered. (100.0%)

23 existing lines in 1 file now uncovered.

8398 of 11580 relevant lines covered (72.52%)

7.17 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
23
39.22
-10.64% flexmeasures/data/models/generic_assets.py
Jobs
ID Job ID Ran Files Coverage
1 14057034383.1 25 Mar 2025 10:18AM UTC 322
69.09
GitHub Action Run
2 14057034383.2 25 Mar 2025 10:18AM UTC 322
69.08
GitHub Action Run
3 14057034383.3 25 Mar 2025 10:18AM UTC 318
71.79
GitHub Action Run
4 14057034383.4 25 Mar 2025 10:19AM UTC 313
71.64
GitHub Action Run
5 14057034383.5 25 Mar 2025 10:21AM UTC 322
69.08
GitHub Action Run
Source Files on build 14057034383
  • Tree
  • List 161
  • Changed 41
  • Source Changed 5
  • Coverage Changed 41
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #14057034383
  • 889c017b on github
  • Prev Build on main (#13942431691)
  • Next Build on main (#14068607839)
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