lemmy icon indicating copy to clipboard operation
lemmy copied to clipboard

Change how number of votes affects controversy rank

Open dullbananas opened this issue 1 year ago • 3 comments

Requirements

  • [X] Is this a feature request? For questions or discussions use https://lemmy.ml/c/lemmy_support
  • [X] Did you check to see if this issue already exists?
  • [X] Is this only a feature request? Do not put multiple feature requests in one issue.
  • [X] Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.
  • [X] Do you agree to follow the rules in our Code of Conduct?

Is your proposal related to a problem?

Controversial sort is sometimes too similar to top sort.

Example:

https://lemmy.ca/u/dullbananas?page=1&sort=Controversial&view=Overview

This post should be closer to the top: https://lemmy.ca/post/23418411

Completely ignoring the vote count would also be bad because it would cause a lot of stuff to go to the top by having an insignificant amount of downvotes.

Describe the solution you'd like.

Replace (upvotes + downvotes) with least(upvotes + downvotes, 10)

Describe alternatives you've considered.

Use logarithmic scale, just like hot sort

Additional context

No response

dullbananas avatar Jun 20 '24 15:06 dullbananas

Here's the controversy_rank function.

Which is basically (upvotes + downvotes) / (upvotes / downvotes)

Some discussion of that function is here: #2515 , and reddits algo, which is what ours matches, is here.

The fact that it takes the magnitude of upvotes + downvotes, tells me that it intentionally biases popular posts no matter what.

dessalines avatar Jun 20 '24 18:06 dessalines

Reddit algorithm appears to use exponent instead of multiplication

dullbananas avatar Jun 20 '24 22:06 dullbananas

Ah ** means exp. Should be an easy fix then, just changing that function.

dessalines avatar Jun 21 '24 13:06 dessalines

https://github.com/LemmyNet/lemmy/pull/4872

Nutomic avatar Sep 19 '24 10:09 Nutomic