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

FlexMeasures / flexmeasures / 29204849793
81%

Build:
DEFAULT BRANCH: main
Ran 12 Jul 2026 07:14PM UTC
Jobs 1
Files 168
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

12 Jul 2026 06:57PM UTC coverage: 81.35% (+0.004%) from 81.346%
29204849793

push

github

web-flow
Add num-beliefs to scheduling job result (#2280)

* Initial plan

* scheduling: add num-beliefs to scheduling job result

Context:
- Issue #2081: report the number of created beliefs in the scheduling job's meta information
- This extends the `result` object introduced in #2030

Change:
- Add `num_beliefs: int = 0` field to `SchedulingJobResult` dataclass, serialized as `"num-beliefs"` in JSON via `to_dict()` / `from_dict()`
- Fix pre-existing bug in `from_dict()`: default for `unresolved` and `resolved` was `{}` instead of `[]`
- Track `num_beliefs_created` counter in `make_schedule()` across all output sensors and add it to the returned scheduling result dict (0 in dry-run mode since no beliefs are saved)
- Update API docs in `jobs.py`: description and example updated to include `num-beliefs`
- Update tests to expect `"num-beliefs"` in the result dict
- Add changelog entry

Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>

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

14373 of 17668 relevant lines covered (81.35%)

0.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29204849793.1 12 Jul 2026 07:14PM UTC 168
81.35
GitHub Action Run
Source Files on build 29204849793
  • Tree
  • List 168
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29204849793
  • ea9f899f on github
  • Prev Build on main (#29187478224)
  • Next Build on main (#29204895686)
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