MahjongPantheon / pantheon

Primary Pantheon project repository
https://riichimahjong.org
GNU General Public License v3.0
43 stars 12 forks source link

"riichi won" and "riichi in yaku stats" are not equal #310

Closed alexeydergunov closed 1 year ago

alexeydergunov commented 1 year ago

wins with riichi: 71 riichi bets won: 71 riichi in yaku stats: 70

изображение

https://rating.riichimahjong.org/eid146/user/187

71 / 71 / 70

alexeydergunov commented 1 year ago

https://rating.riichimahjong.org/eid146/user/743 also not equal, 57 / 55 / 57

and this time the comparison result is the opposite

alexeydergunov commented 1 year ago

https://rating.riichimahjong.org/eid146/user/239

52 / 51 / 51

So we have three different cases: where 1st and 2nd numbers are equal, 1st and 3rd, 2nd and 3rd

alexeydergunov commented 1 year ago

1st and 3rd numbers may be not equal in case of double riichi.

If we calculate the sum of "riichi" and "double riichi" on the histogram, it is equal to "wins with riichi". So no bug here.

alexeydergunov commented 1 year ago

2nd number is number of riichi sticks won. Player can lose the sticks in case of double ron. I will investigate it more carefully, but on the first glance no bug here too.

ctizen commented 1 year ago

OK, let's reopen this if anything emerges