4 ms·
Ask HN: How do Ask HN rankings work?
I've submitted a Ask HN today, which tanked in rankings within minutes. After 30 minutes it got off the ask hn front page and after 3 hours it went off all ask hn pages despite having scored 3 points. I still see some ask hn post on the front page with 2 points after 15 hours...
I am not complaining (just a little bit, but what comes into play? karma? number of comments?
- BayesStreet 10y agoScore = (P-1) / (T+2)^G where, P = points of an item (and -1 is to negate submitters vote) T = time since submission (in hours) G = Gravity, defaults to 1.8 in news.arc Edit: obsolete algorithm, find updated below. From https://medium.com/hacking-and-gonzo/how-hacker-news-ranking-algorithm-works-1d9b0cf2c08d#.etm5srfyo https://medium.com/hacking-and-gonzo/how-hacker-news-ranking...
- bsvalley 10y agoIt's much more complex... PG posted an updated version once. (= gravity* 1.8 timebase* 120 front-threshold* 1 nourl-factor* .4 lightweight-factor* .17 gag-factor* .1) (def frontpage-rank (s (o scorefn realscore) (o gravity gravity*)) (* (/ (let base (- (scorefn s) 1) (if (> base 0) (expt base .8) base)) (expt (/ (+ (item-age s) timebase*) 60) gravity)) (if (no (in s!type 'story 'poll)) .8 (blank s!url) nourl-factor* (mem 'bury s!keys) .001
- deleted 10y ago[deleted]
- arisAlexis 10y agosounds like the fate of all my submissions