Closed Quackaholic-Quacktivity closed 1 year ago
please always mention the issue a PR is closing. Did it for this one
Something is still odd. Your formula looks alright for me, but when I tested with Leu community, the numbers don't match:
(12 newbies+16 endorsees)/201 reputables = 13.9%, not 6%
and I just realized that we probably need to only count newbies that have been assigned (if assignments have been done). As you already feature "newbies unassigned", this should be easy to do?
Found the problem that we had with the tentative growth function. when we do newbies + endorsees we actually concatenate the two numbers together (why? newbies and endorsees have the type 'any' which might explain the problem). And only using the assigned Newbies shouldn't be a problem.
I have to assume you didn't test this. Your code now displays 0.11% tentative community growth which probably should be 11%?
yes, honest mistake. Now it should be correct
closes #101