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

FlexMeasures / flexmeasures / 25860935330
80%

Build:
DEFAULT BRANCH: main
Ran 14 May 2026 01:01PM UTC
Jobs 1
Files 163
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

14 May 2026 12:50PM UTC coverage: 80.362% (+0.03%) from 80.333%
25860935330

push

github

web-flow
Feat/validate source type filter (#2151)

* feat: add sensor data source type filter

Context:
- Issue #2045 asks for filtering GET sensor data by data source type.
- The belief query stack already accepts source type filters.

Change:
- Add the source_type request field.
- Pass it to Sensor.search_beliefs as source_types when loading sensor data.

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* feat: document sensor data source type filter

Context:
- Issue #2045 adds source_type filtering to GET sensor data.
- The endpoint description lists supported optional query parameters.

Change:
- Mention source_type in the GET sensor data endpoint description.

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* feat: cover sensor data source type filter

Context:
- Issue #2045 needs coverage for source type filtering on GET sensor data.
- The existing sensor data fixture includes user and demo script sources.

Change:
- Add matching user and demo script source_type cases.
- Add a non-matching scheduler source_type case returning empty values.

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* docs: add source_type changelog entry

* feat: reject blank source_type filter

* tests: cover blank source_type requests

* docs: rename source-type changelog key

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* feat: rename sensor data source filter keys

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* docs: rename sensor data filter parameters

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* docs: regenerate sensor data OpenAPI specs

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* test: rename sensor data source filter cases

Signed-off-by: Mohamed Belhsan Hmida <mohamedbelhsanhmida@gmail.com>

* feat: respond with ValidationError in case no data with the given source-type exists on the sensor

Signed-off-... (continued)

35 of 41 new or added lines in 3 files covered. (85.37%)

12608 of 15689 relevant lines covered (80.36%)

0.8 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
79.88
0.62% flexmeasures/data/models/time_series.py
Jobs
ID Job ID Ran Files Coverage
1 25860935330.1 14 May 2026 01:01PM UTC 163
80.36
GitHub Action Run
Source Files on build 25860935330
  • Tree
  • List 163
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25860935330
  • ac8bf27f on github
  • Prev Build on main (#25849554317)
  • Next Build on main (#25880030595)
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

© 2026 Coveralls, Inc