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

FlexMeasures / flexmeasures / 29335332994
81%
main: 82%

Build:
Build:
LAST BUILD BRANCH: feat/api-rate-limiting
DEFAULT BRANCH: main
Ran 14 Jul 2026 01:26PM 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

14 Jul 2026 01:09PM UTC coverage: 81.482%. Remained the same
29335332994

push

github

Flix6x
fix: guard against missing 'name' key when scanning scheduler result dicts

trigger_and_get_next_schedule's post-processing loop used result["name"]
(unguarded) right after result.get("name") on the line above, for the
"commitment_costs" check. Schedulers whose result dicts don't carry a
"name" key at all - e.g. CommunityScheduler, which only returns
{"sensor": ..., "data": ...} entries - hit a bare KeyError here,
surfacing as an opaque "Scheduling job failed with str: 'name'" via the
API. Use .get() consistently.

Found while running a FLEXED community simulation against the
soc-value-at-end merge.

Signed-off-by: F.N. Claessen <felix@seita.nl>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LQFkeGxDwErydUV5ZmHmki
Signed-off-by: F.N. Claessen <felix@seita.nl>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LQFkeGxDwErydUV5ZmHmki

1 of 1 new or added line in 1 file covered. (100.0%)

14538 of 17842 relevant lines covered (81.48%)

0.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29335332994.1 14 Jul 2026 01:26PM UTC 168
81.48
GitHub Action Run
Source Files on build 29335332994
  • Tree
  • List 168
  • Changed 1
  • Source Changed 1
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29335332994
  • 4b818d1a on github
  • Prev Build on main (#29319375371)
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