Comment on How Hacker News ranking algorithm worksparentComments−sstrudeau15yThere's a python implementation in the original article: def calculate_score(votes, item_hour_age, gravity=1.8): return (votes - 1) / pow((item_hour_age+2), gravity)
Comments
There's a python implementation in the original article: