BBO Discussion Forums: BBO hand generator not random enough? - BBO Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

BBO hand generator not random enough?

#1 User is offline   frank0 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 472
  • Joined: 2011-April-17
  • Gender:Male
  • Location:US, Irvine CA

Posted 2012-February-15, 21:13

I just tried to create an example deal of "maximal double" for bidding practice, using BBO hand generator.

Here is my setting
South, 5, 1~4 in other 3 suits, 15~19HCP
West, no restriction
North, 3, 2~4 in other 3 suits, 8~9HCP
East, 6+ and 10+HCP

Trying to make the auction become 1-P-2-3-X

This is not a problem. However, I just noticed under this condition I cannot generate any hand that South does not have K and J(I've redealed about 50 times). Is there any flaw with the random hand generator?
0

#2 User is offline   BunnyGo 

  • Lamentable Bunny
  • PipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 1,505
  • Joined: 2008-March-01
  • Gender:Male
  • Location:Portland, ME

Posted 2012-February-15, 21:30

Probably just the law of small numbers. It took me one simulation to not have this...
Bridge Personality: 44 44 43 34

Never tell the same lie twice. - Elim Garek on the real moral of "The boy who cried wolf"
0

#3 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 21,928
  • Joined: 2004-August-21
  • Gender:Male

Posted 2012-February-15, 21:35

I just tried it and I got lots of hands where South doesn't have those cards.

#4 User is offline   frank0 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 472
  • Joined: 2011-April-17
  • Gender:Male
  • Location:US, Irvine CA

Posted 2012-February-15, 22:02

View PostBunnyGo, on 2012-February-15, 21:30, said:

Probably just the law of small numbers. It took me one simulation to not have this...

It may be, but 50 is not very small though...

Hm, I just log in again and notice this is not the problem of this specific condition. The problem is it remembers part of South's hand after you do the editing.

Try this,
1. generate a random deal w/o restriction.
2. Switching 2 South's card with 2 East's card.
3. Keep clicking redeal, one of South/East will always have the 2 cards it gains from East/South.
0

#5 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 21,928
  • Joined: 2004-August-21
  • Gender:Male

Posted 2012-February-15, 22:07

I dealt a couple of dozen hands, and hardly had any where South had those two cards. It frequently had a small singleton.

#6 User is offline   BunnyGo 

  • Lamentable Bunny
  • PipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 1,505
  • Joined: 2008-March-01
  • Gender:Male
  • Location:Portland, ME

Posted 2012-February-15, 22:22

View Postfrank0, on 2012-February-15, 22:02, said:

It may be, but 50 is not very small though...

Hm, I just log in again and notice this is not the problem of this specific condition. The problem is it remembers part of South's hand after you do the editing.

Try this,
1. generate a random deal w/o restriction.
2. Switching 2 South's card with 2 East's card.
3. Keep clicking redeal, one of South/East will always have the 2 cards it gains from East/South.


This is definitely the law of small numbers. Remember Frank that it's not just this one pattern that you were "looking for", rather it was thousands of patterns your mind could have picked out. Any specific one of these occurring is certainly rare, but humans are good at finding patterns in randomness.
Bridge Personality: 44 44 43 34

Never tell the same lie twice. - Elim Garek on the real moral of "The boy who cried wolf"
0

#7 User is offline   billw55 

  • enigmatic
  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 4,757
  • Joined: 2009-July-31
  • Gender:Male

Posted 2012-February-16, 07:26

Assuming frank's report is fully accurate, this must be a flaw in the dealer as running on his machine. 50 deals with two specific cards in the same hand is far, far too many to reasonably be attributed to chance.
Life is long and beautiful, if bad things happen, good things will follow.
-gwnn
0

#8 User is offline   fred 

  • PipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 4,610
  • Joined: 2003-February-11
  • Gender:Male
  • Location:Las Vegas, USA

Posted 2012-February-16, 09:06

The hand editor in the web-client allows you to assign specific cards to specific players and then generate the rest of the deal randomly (with or without constraints).

I imagine that is what happened here. Frank (unintentionally from the sound of it) assigned the King and Jack of hearts to South. I suppose it is also possible that a bug was responsible for assigning these cards to South, but if so I strongly suspect it is a bug in the web-client itself (as opposed to a bug in the hand generator).

Fred Gitelman
Bridge Base Inc.
www.bridgebase.com
0

#9 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 21,928
  • Joined: 2004-August-21
  • Gender:Male

Posted 2012-February-16, 13:45

I was doing my test using the web client.

#10 User is offline   frank0 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 472
  • Joined: 2011-April-17
  • Gender:Male
  • Location:US, Irvine CA

Posted 2012-February-16, 20:21

View Postfred, on 2012-February-16, 09:06, said:

The hand editor in the web-client allows you to assign specific cards to specific players and then generate the rest of the deal randomly (with or without constraints).

I think it's the reason. :D
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users