Trust Level growth graph mangled

AI-generated summary

The Trust Level growth graph in built-in reports appears to be mangled. ganncamp initially found the growth startling, but upon closer inspection, realized the query results weren’t properly ordered. dax confirmed the issue and stated it would be looked into. Further investigation by ganncamp revealed the ordering issue occurs when days are collapsed to weeks.

A related question was asked by Discoursenaut about running a report to show total user growth (trust level 0) over a set period of time, but this was not directly addressed.

A fix for the graph issue is in progress, with a pull request (https://github.com/discourse/discourse/pull/19050) now merged as of JammyDodger’s update.

I’ve been looking at some of the built-in reports, and I initially found the Trust Level growth startling:

On closer inspection, it looks like the query results aren’t properly ordered before they’re fed into the graph. I don’t know how else to explain seeing this sequence

  • 2021-12-05
  • 2021-12-26
  • 2022-01-16
  • 2021-12-10
2 Likes

Thank for the report, I can confirm that the order in which the data is presented is incorrect, we will take a look.

2 Likes

Is there a way to run a report that shows total user growth (trust level 0) over a set period of time? I see the trust report, but it doesn’t include level 0. Is that something the data explorer can help with?

Following up on this, the default time range looks well ordered:

It looks like it’s when days get collapsed to weeks that things get weird:

Any progress? I have C-levels asking for metrics & I’d like to use this…

1 Like

Good news. :balloon:

There’s a fix on the cards:

https://github.com/discourse/discourse/pull/19050

It’s not merged quite yet, but hopefully shouldn’t be too long. :crossed_fingers:

EDIT merged now! :confetti_ball:

4 Likes

This topic was automatically closed after 7 days. New replies are no longer allowed.