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

FlexMeasures / flexmeasures / 10669342002
74%

Build:
DEFAULT BRANCH: main
Ran 02 Sep 2024 02:59PM UTC
Jobs 4
Files 158
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

02 Sep 2024 02:52PM UTC coverage: 67.426% (-0.05%) from 67.475%
10669342002

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)

6140 of 9950 branches covered (61.71%)

Branch coverage included in aggregate %.

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

7766 of 10674 relevant lines covered (72.76%)

5.76 hits per line

Jobs
ID Job ID Ran Files Coverage
1 10669342002.1 02 Sep 2024 02:59PM UTC 0
69.03
GitHub Action Run
2 10669342002.2 02 Sep 2024 02:59PM UTC 0
71.86
GitHub Action Run
3 10669342002.3 02 Sep 2024 02:59PM UTC 0
69.02
GitHub Action Run
4 10669342002.4 02 Sep 2024 02:59PM UTC 0
69.02
GitHub Action Run
Source Files on build 10669342002
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #10669342002
  • cd3e068b on github
  • Prev Build on main (#10564935098)
  • Next Build on main (#10671708182)
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