Skip to content

Commit

Permalink
README: reformat SteamDB's formula
Browse files Browse the repository at this point in the history
  • Loading branch information
woctezuma committed Mar 7, 2024
1 parent c656eae commit f5303dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ return (C * m + game.positiveVotes) / ( C + game.votes) ;
const C = 1 ;
const m = 0.50 ;
const p = game.positiveVotes / game.votes ;
return p + (m-p) * (C+game.votes)**Math.log10(m) ;
const alpha = (C+game.votes) ** Math.log10(m) ;
return alpha*m + (1-alpha)*p ;
```

## Appendix: data
Expand Down

0 comments on commit f5303dd

Please sign in to comment.