Bug: user's rank does not change after winning or losing a match
Summary
Closed issue with the same bug: "https://github.com/hexlet-codebattle/codebattle/issues/2153#issue-3022296287"
After the end of the match with a friend (tolya), the user's rating value remains unchanged
Reproduction steps
1 Click "Sign In"
2 Fill out the form
3 Click "Submit"
4 Click "Create battle"
5 Choose Level=medium, "battle with a friend", Choose task by name or tags=random
6 Click "Create a battle"
Expected result
After completing a match with a friend (tolya), the user's rating value should increase after winning and decrease after losing
Actual result
After the end of the match with a friend (tolya), the user's rating value remains unchanged
Browsers
Firefox
OS
Windows 11
Current version: 602181c
summary: user's rank does not change after winning or losing a match
environment: Yandex: 25.10.1.1136 ОS: Windows 11 25H2 26200.7171 Current version: 4df7e60
steps-to-reproduce:
- Log in to the Codebattle platform
- Create the match
- Win the match
- Go to the user profile
- Create another match
- Lose the match
- Go to the user profile
expected-result: User rating increased after winning the match User rating decreased after losing a match
Actual result: Regardless of the outcome of the game, the user's rating does not change
Rank changes only after tournament matches, because otherwise players could boost their rating by playing with friends or bots.
summary: user's rank does not change after winning or losing a match
environment: Yandex: 25.10.1.1136 ОS: Windows 11 25H2 26200.7171 Current version: 4df7e60
steps-to-reproduce:
Log in to the Codebattle platform Create the match Win the match Go to the user profile Create another match Lose the match Go to the user profile expected-result: User rating increased after winning the match User rating decreased after losing a match
Actual result: Regardless of the outcome of the game, the user's rating does not change