When using the random agent, the raise action is still an available action, even when the player does not have enough chips to raise.
Here's what I tested:
Player_chips bet_amount Previous_raise Expected_chips_to_raise Chips_to_raise
500 10 5 15 15
500 550 490 n/a 990
200 210 200 n/a 410
When using the random agent, the raise action is still an available action, even when the player does not have enough chips to raise.
Here's what I tested: