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

FlexMeasures / flexmeasures / 29741403016
82%
main: 83%

Build:
Build:
LAST BUILD BRANCH: test-1947-multi-session-same-sensor
DEFAULT BRANCH: main
Ran 20 Jul 2026 12:26PM 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

20 Jul 2026 12:13PM UTC coverage: 82.104% (+0.005%) from 82.099%
29741403016

Pull #2332

github

Ahmad-Wahid
Compare beliefs at float4 precision when detecting unchanged data

Now that timed_belief stores cumulative_probability and event_value as
single-precision floats (float4), values read back from the database are
rounded, while an incoming candidate belief still carries full double
precision. The exact-equality check in _drop_unchanged_beliefs_compared_to_db
therefore saw a re-submission of already-stored data as a value change,
which surfaced as a rejected replacement (403) instead of an idempotent
"data has already been received" (200).

Round the candidate (and, symmetrically, the DB) values to float4 before the
comparison so re-ingesting identical data is correctly recognised as
unchanged. Fixes test_post_sensor_data_twice.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Pull Request #2332: Shrink timed_belief value columns from float8 to float4

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

15319 of 18658 relevant lines covered (82.1%)

0.82 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29741403016.1 20 Jul 2026 12:26PM UTC 171
82.1
GitHub Action Run
Source Files on build 29741403016
  • Tree
  • List 171
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29741403016
  • Pull Request #2332
  • PR Base - main (#29721054646)
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