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

FlexMeasures / flexmeasures / 47070835272
89%

Build:
DEFAULT BRANCH: main
Ran 03 Dec 2026 09:02AM UTC
Jobs 1
Files 202
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

03 Dec 2026 08:54AM UTC coverage: 88.987% (+0.04%) from 88.947%
47070835272

push

github

web-flow
Feat: reporter output source type (#2804)

* Let a reporter's config set the type of source its report is saved under

An output-source-type in the reporter config (e.g. forecaster, for a sum of forecasts) replaces the class default 'reporter'.
The field has no default, so configs that leave it out dump unchanged and existing sources keep their attributes hash.
MemberFilterSchema now derives from Schema, as a member filter is no reporter config.

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

* Find a source's data generator among the other kinds of data generator, too

A reporter configured to save under a forecaster-type source left that source unable to set its reporter up again,
because only the registry named by the source's type was looked in.
A data generator found that way is only accepted if its config says to save under the source's type.

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

* Track partial aggregates on sources of the report's own type

The aggregator looked for its partial aggregates, and the sensor status for the members they left out, among reporter-type sources only.
A report saved under another type (see output-source-type) would leave a stale partial aggregate as the latest belief, and drop the missing-members warning.

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

* Pick an automation's source by the kind of data generator it stores

The sources API gets a generator_type filter, matching sources by model against the registered data generators of that kind.
The automation source picker uses it instead of the source type, so a report automation can pick an aggregator saving under a forecaster-type source,
and a forecast automation no longer lists such a source, which it would refuse.

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

* Document saving a sum of forecasts under a forecaster-type source

Includes when not to set output-sou... (continued)

116 of 123 new or added lines in 6 files covered. (94.31%)

26325 of 29583 relevant lines covered (88.99%)

0.89 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
94.99
-0.12% flexmeasures/data/services/automations.py
1
95.69
0.04% flexmeasures/api/v3_0/sources.py
1
81.99
-0.01% flexmeasures/cli/data_add.py
1
90.91
-0.15% flexmeasures/data/services/sensors.py
Jobs
ID Job ID Ran Files Coverage
1 47070835272.1 03 Dec 2026 09:02AM UTC 202
88.99
GitHub Action Run
Source Files on build 47070835272
  • Tree
  • List 202
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #47070835272
  • 384c3b16 on github
  • Prev Build on main (#46963072432)
  • Next Build on main (#47074390574)
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