Closed dexonsmith closed 10 months ago
This prevents math domain errors here
To be clear, "here" is the "computation of the prediction_cost
metric".
Interesting that that prediction returns values in excess of those bounds. Thanks for the patch :)
Cap the expected win rate to 1 in a million when tallying game analytics. This prevents math domain errors here regardless of what the Glicko-2 math functions return.
Effectively replaces #54 (although that could still be committed).
Relates to #45.