Also, you can use "10" instead of "T".
Currently, both LEFTDUMMY and RIGHTDUMMY assume South is declarer. Should that change?
That brought a compass problem in a thread (I don't remember which one, maybe Ben can help here), where Ben suggested modified the hand after generated to have a partial hand represented as a full one.
I added a checkbox to allow suspension of "all hands have same number of cards" check, assuming poster knows what s/he is doing
Requests/comments/suggestions/bug reports welcome

Help

P - P - P - 1♦
1♥-X - 2♥-4♦
P - 5♦- all pass
T1. ♥K-2-7-T
T2. ♥Q-3-A-5