Skip to content

Commit

Permalink
README: minor reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
woctezuma committed Mar 7, 2024
1 parent f5303dd commit 0c8b570
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ Results are shown in the Wiki for:
```js
const C = 1117 ;
const m = 0.756 ;
return (C * m + game.positiveVotes) / ( C + game.votes) ;
return (C * m + game.positiveVotes) / (C + game.votes) ;
```

- Using **median values** obtained on September 3, 2023 for the **prior**:

```js
const C = 17 ;
const m = 0.822 ;
return (C * m + game.positiveVotes) / ( C + game.votes) ;
return (C * m + game.positiveVotes) / (C + game.votes) ;
```

- For comparison, **replicating** SteamDB's formula, which does not use Bayesian average::
Expand All @@ -82,7 +82,7 @@ return (C * m + game.positiveVotes) / ( C + game.votes) ;
const C = 1 ;
const m = 0.50 ;
const p = game.positiveVotes / game.votes ;
const alpha = (C+game.votes) ** Math.log10(m) ;
const alpha = (C + game.votes) ** Math.log10(m) ;
return alpha*m + (1-alpha)*p ;
```

Expand Down

0 comments on commit 0c8b570

Please sign in to comment.