[deploy] Last algo fiddle I hope (#10023)
This commit is contained in:
parent
98f537521a
commit
c06c53adfe
1 changed files with 2 additions and 2 deletions
|
|
@ -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, 1000].min * 10) +
|
||||
([article.comment_score, 1000].min * 10) -
|
||||
([article.score, 1000].min * 6) +
|
||||
([article.comment_score, 1000].min * 6) -
|
||||
(article.spaminess_rating * 5)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue