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

Add win prediction to players tab #532

Merged
merged 3 commits into from
Nov 30, 2024

Conversation

jauggy
Copy link
Member

@jauggy jauggy commented Nov 30, 2024

The purpose of this feature is because often players ask, "Why did I gain little for winning but lost a lot when losing?". This is mostly governed by the win prediction. If you are predicted to win, you will gain less for winning. Unexpected results cause bigger changes. Also the OS library thinks new players are average so will expect a team with only new players to win versus a team with below average players.

Changes
The win prediction is now on the players tab for a match at the bottom. I'm not 100% sure on the code for win predict when teams are not equal two so that is excluded.

Also the rating on the players tab will be their pre-match rating, which will make the win prediction and balance make more sense.

Screenshot 2024-11-30 191936

@jauggy
Copy link
Member Author

jauggy commented Nov 30, 2024

@L-e-x-o-n when you have spare time, can you please put this on integration server? I just want to check I didn't break matches that are unrated. It works locally.

@L-e-x-o-n
Copy link
Collaborator

@L-e-x-o-n when you have spare time, can you please put this on integration server? I just want to check I didn't break matches that are unrated. It works locally.

Done, seems to be working.

@jauggy
Copy link
Member Author

jauggy commented Nov 30, 2024

@L-e-x-o-n this is ready for merge. Have checked on staging too. Working fine on rated games and bot matches not crashing.

The automated test that failed has nothing to do with this PR.

@jauggy jauggy marked this pull request as ready for review November 30, 2024 20:14
@L-e-x-o-n L-e-x-o-n merged commit c643aff into beyond-all-reason:master Nov 30, 2024
2 of 3 checks passed
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