Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When tallying, cap the expected win rate at 1:1M #57

Merged

Conversation

dexonsmith
Copy link
Contributor

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.

@dexonsmith
Copy link
Contributor Author

This prevents math domain errors here

To be clear, "here" is the "computation of the prediction_cost metric".

@anoek
Copy link
Member

anoek commented Jan 13, 2024

Interesting that that prediction returns values in excess of those bounds. Thanks for the patch :)

@anoek anoek merged commit 64bf1de into online-go:master Jan 13, 2024
@dexonsmith dexonsmith deleted the cap-expected-win-rate-to-1-in-a-million branch January 13, 2024 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants