A weather forecaster gives a chance of rain every day. Write penalty(chance): the forecaster gave chance to what actually happened; how much do they lose? 0 means nothing to lose; bigger means a worse forecast.
chance given to what happened: 70% rain on Monday, 20% on Tuesday, and it rained both days