Skip to content

Scoring

tilttek/predictions

By choice

The member picks one outcome. A right pick earns the question's points; a wrong one earns nothing and costs nothing.

By probability

The member gives each outcome a probability, in whole percents summing to 100. Once the outcome is declared, the forecast is scored by the Brier score: the sum, over the outcomes, of the square of the gap between the probability given and what happened — 100 % for the outcome that happened, 0 % for the others. A perfect forecast scores 0; full confidence in an outcome that did not happen scores 2.

The library computes it in whole numbers, in ten-thousandths, so that no rounding of floating-point numbers changes a member's points: from 0 to 20 000. The points are the share of the question's points left once the score is taken from 20 000, rounded half up:

points = round(maximum × (20000 − score) / 20000)

The Brier score is a proper scoring rule: a member earns the most, on average, by giving the probabilities they believe. A bold 100 % earns everything when right and nothing when wrong; a cautious forecast earns some points either way.

Worked values

For a question of 100 points:

ForecastOutcomeScorePoints
yes 100 %, no 0 %yes0100
yes 100 %, no 0 %no20 0000
yes 50 %, no 50 %either5 00075
yes 70 %, no 30 %yes1 80091
yes 70 %, no 30 %no9 80051
home 60 %, draw 30 %, away 10 %home2 60087
home 60 %, draw 30 %, away 10 %away12 60037

Brier::score() and Brier::points() compute them for an application that shows a member their score.