r/programming • • Dec 09 '13

Reddit’s empire is founded on a flawed algorithm

http://technotes.iangreenleaf.com/posts/2013-12-09-reddits-empire-is-built-on-a-flawed-algorithm.html
2.9k Upvotes

503 comments sorted by

View all comments

Show parent comment

3

u/NeoKabuto Dec 10 '13

I was talking about zero as the point where the behavior changes, not the side effects of that or the other code (incredibly negative posts getting a bonus doesn't seem intentional). It's pretty obviously chosen, just without much thought.

-1

u/[deleted] Dec 10 '13

It's pretty obviously chosen

nope. like i said, the reddit devs were surprised by it.

are you saying they chose it and then forgot?

4

u/NeoKabuto Dec 10 '13

No, I'm saying you're arguing over nothing (welcome to the internet). The zero is intentional (it's obviously taking the sign of the score), the return value of that function, and everything that happens as a result of it, might be erroneous (which is the bug you're thinking of).

If you still think the number zero magically appeared by itself: It's a number used multiple times in the code, and it seems like a rational choice at first glance. Using the sign of the score is generally a pretty zero-centric thing.

0

u/[deleted] Dec 10 '13 edited Dec 10 '13

i really don't understand what you're saying.

what i'm saying is: this odd behavior of negative rankings being flipped was not intended by the reddit devs.

you can see that discussion here: http://www.reddit.com/comments/6ph35/reddits_collaborative_filtering_algorithm/c04ixtd

spez says that the behavior in undesired but it doesn't matter because things with negative scores are never seen.

when i point out that they are indeed seen in comments and posts in small subs, he does not respond.

0

u/[deleted] Dec 10 '13

[deleted] — view deleted comment

-2

u/[deleted] Dec 10 '13

i ask that you look at my other response to this question.

0

u/[deleted] Dec 10 '13

[deleted] — view deleted comment

-1

u/[deleted] Dec 10 '13

the reddit devs answered that the odd behavior was not important because it was not visible to the user.

i pointed out that it was visible to the user in many places.

perhaps "surprised" was a poor choice of words, but the intent is the same - the devs were in error about the behavior of this system.

1

u/NeoKabuto Dec 10 '13

so why is "0" the magic point at which the behavior should flip?

Is what I responded to, not a comment about anything else in the ranking algorithm. You claimed it wasn't intentional at all to change based on zero, but it's obviously a specifically chosen number. That's all.

From the looks of that link, even the "bug" is fully intentional, just not thought out enough (you probably would've had a better chance at changing it if your ideas were presented better). Their idea is that negative/zero posts were already downvoted on the new/rising pages, so they don't belong on the top or hot pages at all (the idea being, if they're already on those pages, they were popular already). His lack of a response is meaningless, though.

-1

u/[deleted] Dec 10 '13

i guess you and i are just going to have to agree to disagree.

take care.