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 | Lists | API | Security | Legal | Apply to YC | Contact

Search: