cmu-dsc / poker-engine-2024

https://pokerai.cmudsc.com
Do What The F*ck You Want To Public License
7 stars 0 forks source link

bot log ending bankroll doesn't match engine? #27

Closed clementou closed 6 months ago

clementou commented 6 months ago
Screenshot 2024-03-27 at 10 37 33 Screenshot 2024-03-27 at 10 37 43

@dongkyuk can u take a look at this

clementou commented 6 months ago
Screenshot 2024-03-27 at 10 40 43

engine log

dongkyunk commented 6 months ago

wdym it doesn't match?? Both are 12000 right? Also it doesn't say -11600 cuz the game ends before the bot has a chance to log

clementou commented 6 months ago

in the database it records the bankroll from the second to last round. the correct number from the last round is 12000 not 11600.

the database and the logs are written by the engine

we have board meeting right now!!

dongkyunk commented 6 months ago

Yeah so I don't understand what the problem is. 12000 is correct?

clementou commented 6 months ago

no it says 12000 on the log but it says 11600 on the database

12000 is correct

this line: https://github.com/cmu-dsc/poker-engine-2024/blob/master/engine/engine.py#L188

clementou commented 6 months ago

this doesn't happen for every game? wtf?

clementou commented 6 months ago

bogos binted