slumbot2019 icon indicating copy to clipboard operation
slumbot2019 copied to clipboard

Slumbot betsize error

Open lbn187 opened this issue 1 year ago • 1 comments

b200b1103c/b940c/ b200b1103c/b940c/b778b6957 Sending incremental action: b13136

{'old_action': 'b200b1103c/b940c/b778b6957', 'action': 'b200b1103c/b940c/b778b6957b13136b17957', 'client_pos': 0, 'hole_cards': ['Ah', 'Qc'], 'board': ['Qh', 'Jd', '6s', 'Ks']} Action: b200b1103c/b940c/b778b6957b13136b17957 Client hole cards: ['Ah', 'Qc'] Board: ['Qh', 'Jd', '6s', 'Ks'] Error parsing action b200b1103c/b940c/b778b6957b13136b17957: Bet too small

b13136 is my action which is legal(minraise), b17957 is slumbot's action, same as Allin, however api judge its bet size error

lbn187 avatar Apr 29 '23 13:04 lbn187

There was a bug in the sample_api.py script that was fixed in March. If you're using that script (or code derived from that script), you may be running into that issue. The script on the website now should be correct. To verify, the correct code has this line:

remaining = STACK_SIZE - total_last_bet_to

The old buggy code was:

remaining = STACK_SIZE - street_last_bet_to

ericgjackson avatar May 01 '23 21:05 ericgjackson