My use case for this particular report is to identify users who are most, or least, aligned with moderation. From that perspective, 15/0 and 0/15 are equally important for different reasons, and a score of 255 / -255 in those cases I think would make the situation much more precise, but I’m not sure how the algorithm could do that while also weighting for flag volume as well, which us equally important.
Wow, that means that keeping the agreed number constant, as the disagreed number increases, the score will be better and better (when disagreed > agreed).
A more reasonable and direct formula may be something like:
(agreed * agreed) - (disagreed * disagreed)
That is, the agreed will always make the score higher, and the disagreed will always make it lower. I don’t know if there is a need to make the formula more complex than that, but anyway, just my opinion (if it’s ok for the score to be negative).
I think this is okay, though. Is there a problem with it, considering that both values (one that should increase and the other that should decrease the score) are the same?
Didn’t write most of it, I mostly fixed a bug which was preventing to show records when you had more disagreed than agreed. So not sure about most of the logic. @eviltrout
I did the agreed * agreed as it thought it would be interesting to emphasize users with which we never disagree. But this is edge case and most users won’t be in this bucket, so we should probably optimize the other branch.
Feel free to correct the formula to better handle any specific case this doesn’t take into account.