Tech IndustryNov 2, 2022
Basis Global Technologiesyour_crush

Reddit, what's the algorithm behind sort by controversial?

I kinda know the methodology behind (downvotes, common phrases, etc) but would like to get more insights if any of the engineers can share it here #tech #algorithm

Pegasystems stuffedham Nov 2, 2022

You would honestly get a better answer asking on the engineering subreddit. They have a blog subreddit engineers at Reddit post to

Shopify percocets Nov 2, 2022

If upvote = downvote and votes > 10 then: controversial

VMware vLul Nov 2, 2022

Isn't it based on upvote/downvote ratio?

Best Buy BBoyz Nov 2, 2022

I would do something like: Take minimum of absolute value of ups and downs. 1000 up, 100 down, controversy ranking 100. 200 up 200 down, rank 200 10 up, 100 down, rank 10 You want a bunch of contention, not decisively good or bad.

Capital One huluweenie Nov 2, 2022

The more based the commet, the higher rank for controversial

Microsoft ptleo Nov 2, 2022

I thought it was just the upvote/downvote ratio

Reddit oeicnn Nov 5, 2022

Here’s the old open source algo https://github.com/reddit-archive/reddit/blob/master/r2/r2/lib/db/_sorts.pyx#L60 This is old but gives an idea