Skip to content

Commit

Permalink
README: mention SteamDB's formula
Browse files Browse the repository at this point in the history
  • Loading branch information
woctezuma authored Mar 7, 2024
1 parent d28b54f commit 27604f9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@ const m = 0.822 ;
return (C * m + game.positiveVotes) / ( C + game.votes) ;
```

- Replicating SteamDB's formula:

```js
const C = 1 ;
const m = 0.50 ;
const p = game.positiveVotes / game.votes ;
return p + (m-p) * (C+game.votes)**Math.log10(m) ;
```

## Appendix: data

The current algorithm relies solely on SteamSpy data. In case SteamSpy API stops providing the numbers of positive and
Expand Down

0 comments on commit 27604f9

Please sign in to comment.