-
Notifications
You must be signed in to change notification settings - Fork 2
Karma and ListAlgorithm
Jan Vincent edited this page Jun 14, 2017
·
3 revisions
KarmaForPosts = (Upvotes.count - Downvotes.count) * 5 + Comments.count
KarmaForUser = Sum(myPosts.karma) + 2*(myUpvotes.count+myDownvotes.count) + 5*(myComments.count)
Hot is for overall best posts in a long range for our purpose (not too many posts a week) it is set to one week.
Trending is for overall best posts in a rather short range (here still 24h since we don't expect each solution to have millions of users).
Fresh simply for new posts. A range is not necessary. It is just ordered by it's release day (Descending).