[deploy] Fiddle with hotness score calc (#10019)

This commit is contained in:
Ben Halpern 2020-08-26 11:18:53 -04:00 committed by GitHub
parent bd6a996bce
commit 14e85493c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -55,8 +55,8 @@ class BlackBox
def last_mile_hotness_calc(article)
score_from_epoch = article.featured_number.to_i - OUR_EPOCH_NUMBER # Approximate time of publish - epoch time
score_from_epoch / 1000 +
(article.score * 50) +
(article.comment_score * 50) -
(article.score * 25) +
(article.comment_score * 25) -
(article.spaminess_rating * 5)
end