Pavlos Smith
Pavlos Smith
Can I give this a try?
Not bad, but it has a flaw that small changes in like/dislike ratio can lead to huge changes in "controversialness". For example 98/100 ratio isn't that different than 99/100, but...
You're right, it needs some work. Also, what I was thinking for the multiplier was actually `(upvotes + downvotes) `to represent activity, since a 50-50 post with 2 total votes...
[Printing it out as a table](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=0875f9385ffa34e0a7ffd6533337f286) made it quite clearer, I think it's good enough to keep All of the high scores are highly controversial, and the amount of activity...
That's proof enough haha, really cool!
[Here](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=8b9e00d6b82e36f2a053b41c392a078a) is a comparison between @dcormier's, @qznc's and Reddit's method. Reddit's looks like the most correct overall, but @dcormier's looks almost as good but much more performant since it doesn't...
I had a pretty lucky streak when I first wrote it but yeah, unfortunately it seems completely indeterminate now that I tried it again some times
My thinking is that this should be done on the front end if possible, I've drafted a PR but I haven't written the hiding logic yet. I think it would...
Marking as draft for now, will open it again once I divide the Sort types and do some more testing
> Yeah, you're right. I think hot makes sense