codebattle icon indicating copy to clipboard operation
codebattle copied to clipboard

Bug: user's rank does not change after winning or losing a match

Open ksenrika opened this issue 2 months ago • 1 comments

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

Image Image Image

Browsers

Firefox

OS

Windows 11

Current version: 602181c

ksenrika avatar Dec 05 '25 15:12 ksenrika

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:

  1. Log in to the Codebattle platform
  2. Create the match
  3. Win the match
  4. Go to the user profile
  5. Create another match
  6. Lose the match
  7. 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

Image Image Image

Kamzazik avatar Dec 10 '25 07:12 Kamzazik

Rank changes only after tournament matches, because otherwise players could boost their rating by playing with friends or bots.

vtm9 avatar Dec 24 '25 15:12 vtm9

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

x8pcvf4xmc-del avatar Dec 26 '25 05:12 x8pcvf4xmc-del