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

FlexMeasures / flexmeasures / 30483630671
83%
main: 83%

Build:
Build:
LAST BUILD BRANCH: test-1947-multi-session-same-sensor
DEFAULT BRANCH: main
Ran 29 Jul 2026 07:29PM UTC
Jobs 1
Files 171
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

29 Jul 2026 07:15PM UTC coverage: 83.061% (+0.02%) from 83.039%
30483630671

push

github

Flix6x
fix: address round-2 Copilot findings (count_annotations bug, docstrings, exclude overwrite)

- GenericAsset.count_annotations() called .count() directly on the Select
  returned by query_asset_annotations(), which has no such method (a
  pre-existing bug, surfaced by this PR's Query->Select type-hint fix).
  Now executes via db.session.scalar(select(func.count()).select_from(...)).
  Added a regression test.
- AssetChartOpenAPISchema/AssetChartDataOpenAPISchema.__init__ overwrote
  kwargs["exclude"] instead of extending it; now appends to any
  caller-supplied excludes.
- dev/sensors.py docstrings still mentioned legacy underscored names
  (include_data, chart_type, most_recent_beliefs_only) for fields now
  canonically hyphenated; updated to the hyphenated spelling with a
  legacy-alias note, matching the start/end/prior docs already updated.

The OpenAPI spec's info.version ("1.0.0") flagged by Copilot predates
this PR (confirmed unchanged since before any of these commits) and is
unrelated to this diff -- no action taken.

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

2 of 4 new or added lines in 2 files covered. (50.0%)

16147 of 19440 relevant lines covered (83.06%)

0.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
81.19
0.0% flexmeasures/api/v3_0/assets.py
Jobs
ID Job ID Ran Files Coverage
1 30483630671.1 29 Jul 2026 07:29PM UTC 171
83.06
GitHub Action Run
Source Files on build 30483630671
  • Tree
  • List 171
  • Changed 3
  • Source Changed 3
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30483630671
  • 5c672e8b on github
  • Prev Build on fix/annotation-belief-time (#30481823469)
  • Next Build on fix/annotation-belief-time (#30484376063)
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