vishal2241 / opentestbed

Automatically exported from code.google.com/p/opentestbed
0 stars 0 forks source link

Odd History #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Any random simulation

What is the expected output? What do you see instead?
The bets and raises are perfoming very strangely on No-Limit simulations.
See the history below for more information:

*** FLOP *** [9c Kh 5s]
Agt#2 (DemoBot/SimpleBot) bets $0.04
Agt#3 (DemoBot/SimpleBot) raises to $0.04
Agt#4 (DemoBot/SimpleBot) calls $0.04
Agt#2 (DemoBot/SimpleBot) raises to $0.16
Agt#3 (DemoBot/SimpleBot) folds
Agt#4 (DemoBot/SimpleBot) raises to $0.18
Agt#2 (DemoBot/SimpleBot) raises to $0.15
Agt#4 (DemoBot/SimpleBot) raises to $0.19
Agt#2 (DemoBot/SimpleBot) raises to $0.47
Agt#4 (DemoBot/SimpleBot) raises to $0.68
Agt#2 (DemoBot/SimpleBot) raises to $0.64
Agt#4 (DemoBot/SimpleBot) raises to $0.99
Agt#2 (DemoBot/SimpleBot) raises to $1.00 
Agt#4 (DemoBot/SimpleBot) calls $0.20

As you can see, the bots are going crazy raising unavailable amounts. This
probably should be checked both on the agent side and game side.

Original issue reported on code.google.com by FelipeKu...@gmail.com on 7 Jun 2010 at 6:45

GoogleCodeExporter commented 8 years ago
thanks for this report. 
Can you give the full history (I need preflop and bot cards) so that I can 
reproduce
and debug this ? 
Very strange this history, seems like some number had an overflow.

Original comment by bluegasp...@gmail.com on 7 Jun 2010 at 11:49

GoogleCodeExporter commented 8 years ago
Sure. I've just set up a random simulation of one hand and four bots, with 
permutations. All bots are DemoBot/SimpleBot. The game was no-limit and the bug 
seems to occur on all hands. See the attached file.

Original comment by FelipeKu...@gmail.com on 7 Jun 2010 at 8:40

Attachments:

GoogleCodeExporter commented 8 years ago
Damn doubles again.
Problem is that when adding or multiplying doubles you get strange numbers soon.
Furthermore corrected bug in calculating the wanted bet-amounts. It should be 
2/3 of the pot (+callamount) to deny any drawing odds.

Original comment by bluegasp...@gmail.com on 7 Jun 2010 at 8:46