Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by leandot

10 years ago

  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.

0 comments

leandot

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities