Hacker News new | past | comments | ask | show | jobs | submit login

  book_entry['rank'] = (avg_karma_count * avg_karma + book_entry['karma'] * book_entry['karma_count']) / (book_entry['karma_count'] + avg_karma_count)
Where avg_karma_count and avg_karma are the weekly values.



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

Search: