#4801 The stats graph looks inaccurate
Closed: Fixed 4 years ago by pingou. Opened 4 years ago by sudoman.

Stats look a bit off here:

https://pagure.io/pagure/stats#commits

Screenshot_from_2020-04-10_11-26-05.png

If you look at the beginning of 2019, and the end of 2020, it looks like there is a point in December and a point in January, and a long straight line is drawn between them. Then immediately afterwards, there is brief spike.

It looks like the period between points changes with time, or lines aren't returning back to the origin the next day.

It also looks like the graph never dips below one commit, so there is probably an off by one error.

Thanks : )


I meant to say "the end of 2019, and the beginning of 2020".

It also looks like the graph never dips below one commit, so there is probably an off by one error.

This is likely because the data is gathered per week, so that would mean there are always been at least one commit per week on the project.

I think https://pagure.io/pagure/pull-request/4814 will fix this by smoothing the line a little bit.

Metadata Update from @pingou:
- Issue assigned to pingou

4 years ago

Metadata Update from @pingou:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata
Attachments 1
Related Pull Requests
  • #4814 Merged 4 years ago