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

FlexMeasures / flexmeasures / 10669342002 / 3
78%
main: 78%

Build:
DEFAULT BRANCH: main
Ran 02 Sep 2024 02:59PM UTC
Files 316
Run time 10s
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

02 Sep 2024 02:52PM UTC coverage: 69.022% (-2.8%) from 71.801%
10669342002.3

push

github

web-flow
sensor stats endpoint (#1116)

* Added sensors/<id>/stats api endpoint

Signed-off-by: Nikolai <nrozanov@iponweb.net>

* Added sensors/<id>/stats api endpoint

Signed-off-by: Nikolai <nrozanov@iponweb.net>

* Added cache + split by data source

Signed-off-by: Nikolai <nrozanov@iponweb.net>

* Added cache + split by data source

Signed-off-by: Nikolai <nrozanov@iponweb.net>

* Changelog

Signed-off-by: Nikolai <nrozanov@iponweb.net>

* Post review fixes

Signed-off-by: Nikolai <nrozanov@iponweb.net>

* Post review fixes

Signed-off-by: Nikolai <nrozanov@iponweb.net>

* Filter out NaN values

Signed-off-by: Nikolai <nrozanov@iponweb.net>

* call stats endpoint and put the result in table on sensor page

* update the headers and table title

* use statsTableBody to fill it with data

* add sensor name

* create dropdown for sources and have a spinner

* if the stats table is empty then show properties table full width

* filter out nan values

* refactor the query

Signed-off-by: Ahmad Wahid <ahmedwahid16101@gmail.com>

* fix the test case

* remove print statement

Signed-off-by: Ahmad Wahid <ahmedwahid16101@gmail.com>

* remove sensor.name

* pass sensor instead of sensor_id to show sensor page

* show full width properties table

* put sources dropdown below stats table and rename header to Statistics

Signed-off-by: Ahmad Wahid <ahmedwahid16101@gmail.com>

* round value to 2 decimal points

Signed-off-by: Ahmad Wahid <ahmedwahid16101@gmail.com>

* update changelog

Signed-off-by: Ahmad Wahid <ahmedwahid16101@gmail.com>

* round values to 4 points and show better warnings

* show fetch error for the stats table

* refactor sensor page

Signed-off-by: Ahmad Wahid <ahmedwahid16101@gmail.com>

---------

Signed-off-by: Nikolai <nrozanov@iponweb.net>
Signed-off-by: Ahmad Wahid <ahmedwahid16101@gmail.com>
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Co-authored-by: N... (continued)

2808 of 5148 branches covered (54.55%)

Branch coverage included in aggregate %.

15364 of 21180 relevant lines covered (72.54%)

0.73 hits per line

Source Files on job 10669342002.3
  • Tree
  • List 0
  • Changed 106
  • Source Changed 3
  • Coverage Changed 150
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 10669342002
  • cd3e068b on github
  • Prev Job for on main (#10564935098.1)
  • Next Job for on main (#10671708182.1)
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