Closed charleskawczynski closed 3 years ago
Not sure if this is only isolated to tournament!
play, introduced in #67, but it seems that this bug has somehow returned:
[ Info: Human[1] called 4.0.
[ Info: River: 2♡
Human[1]'s turn to act:
> Check
Raise [$1.0, $1.0]
Fold
[ Info: Human[1] checked!
[ Info: Bot5050[2] raised to 1.0 (all-in).
[ Info: Human[1] wins $195.0 ($98.0 profit) with TwoPair!
[ Info: Final bank roll summary: (200.0, 0.0)
There's probably a simple way to check for this in the transaction manager. It might be good to add a bot test, if easy/possible, to protect against this.
We should probably fix #72 / #73 first, since these affect flow control and game logic.
Hmm, raises don't always need to be called, and I'm not seeing this error anymore. Closing for now.
Okay, okay, there is still a bug. Good news though, I think I have a dev branch where I’m tracking down the problems.
I think this was closed by #85. We'll reopen if that's not the case.
As of #58, there is a relatively rare bug (1 in ~1000 games?) that is caught from the fuzz tests. Here is the log:
It seems that the first issue here is that the
Bot5050[2]
raise to166.0.
is not called byBot5050[1]
. This demos something we can check for: if all BRs are equal to start, then any all-in should lead to everyone (still playing) being all in.