Duplicate trophies


#1

Hi all,

On my profile page I have duplicate trophie badges.
This is not a UI issue but it’s a backend bug:

$ curl -s https://online-go.com/api/v1/players/321195/full | jq .trophies[].tournament_id
38467
38467
39073
39073
24220
24220
24317
24317
27909
27909
39078
39078


#2

Same here

$curl -s https://online-go.com/api/v1/players/449941/full | jq .trophies[].tournament_id
39559
39400
39400
28660
38587
39348
28819

In my case only one tournament is affected.

I had a quick look at the other winners of tournament 39400 and 38467.

It seems, all the “Blitz 19x19 Elimination Tournament” are double badged. Player 535250 has also a 9x9 Blitz Single elimination doubled.

I think this is a bug in the code for resolving the Single Elimination Tournaments, since in the short list I’ve looked at, all affected were and the others weren’t “single elimination” tournaments.


#3

Added this to the ogs issue tracker on github.