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

FlexMeasures / flexmeasures / 29701746249
82%
main: 82%

Build:
Build:
LAST BUILD BRANCH: feat/asset-chart-annotations
DEFAULT BRANCH: main
Ran 19 Jul 2026 08:14PM 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

19 Jul 2026 08:01PM UTC coverage: 82.099% (-0.002%) from 82.101%
29701746249

Pull #2330

github

Flix6x
refactor: derive the UI flex-model schema from the DB schema

Make DBStorageFlexModelSchema the single source of truth for which
flex-model fields the UI editor exposes. UI_FLEX_MODEL_SCHEMA is now built
by iterating the DB schema's fields against a per-field UI-presentation
registry; a DB field without a presentation entry raises at import time,
so adding a flex-model field can no longer silently break DB/UI parity.

The rendered UI_FLEX_MODEL_SCHEMA is identical (key-for-key, value-for-value)
to the previous hand-maintained dict, verified by a committed baseline
fixture and a guardrail test. The parity test is repurposed to assert each
derived entry is well-formed. OpenAPI spec is unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016MLCUiSdXDqDBmg8GbYp1B
Signed-off-by: F.N. Claessen <claessen@seita.nl>
Pull Request #2330: refactor: derive the UI flex-model schema from the DB schema

13 of 16 new or added lines in 1 file covered. (81.25%)

15314 of 18653 relevant lines covered (82.1%)

0.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
92.91
-0.47% flexmeasures/data/schemas/scheduling/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 29701746249.1 19 Jul 2026 08:14PM UTC 171
82.1
GitHub Action Run
Source Files on build 29701746249
  • Tree
  • List 171
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29701746249
  • Pull Request #2330
  • PR Base - main (#29662786777)
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