Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's limited by time and other factors. If you haven't commented on anything for a considerable time then there aren't enough values to average.

I think it works like this: Take the last N values from the last T time, discard the largest (and perhaps the smallest) and compute the average of what's left. If there aren't enough, don't bother.

For more details, read the code. It's available here somewhere ...



From the last release of news.arc (which may have been a while ago but should be somewhat close to what news.yc is running):

    ; Ignore the most recent 5 comments since they may still be gaining votes.  
    ; Also ignore the highest-scoring comment, since possibly a fluff outlier.
https://github.com/nex3/arc/blob/master/news.arc#L2301




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: