Bridge Bidding #39
Replies: 40 comments 51 replies
-
I talked with Rick late yesterday afternoon. He pointed out that the bidding is in the BBA archive. I'll have to figure out how to use it. |
Beta Was this translation helpful? Give feedback.
-
Rick has been working on a command file to run files in my pbn folder through BBA. I'll see if I can include that in my chain of programs. If so, then each time I update a scenario (PBS folder), I'll create corresponding files in the following folders:
I'll put the other stuff that's in the BBA folder somewhere else. Bob, is it possible to run DDS from the command line with parameters for the input BBA pbn file and the output DDS csv file? |
Beta Was this translation helpful? Give feedback.
-
I think it is fine using this for discussions, but perhaps you should tag persons you want comments from like this
I am currently more focused on fixing bugs in the robot as the bidding is fine (Except for the issues I have created for Edward to solve) |
Beta Was this translation helpful? Give feedback.
-
I see this thread on my site and I am waiting for events to develop, but in reality I am working hard on eliminating the regression. |
Beta Was this translation helpful? Give feedback.
-
@EdwardPiwowar I trying to run BBA from the makeBBA.cmd -- here are the contents: P:\BBA.exe --ARCHIVE_FILE !P:\pbn\2N_Smolen_Leveled-S.bba! --AUTOBID --HAND !2N_Smolen_Leveled-S.pbn! --CC1 GIB-ADB.bbsa -- CC2 GIB-ADB.bbsa --DD 0 --SD 1 when I run it, the BBA program opens and it starts bidding the hands. It doesn't stop after 500 (the number of deals in each file). I click start and it stops. I then close the BBA window and it pops again. The same thing happens 4 times. I notice as it's running each file that the CC's are NOT as specified in makeBBA.cmd Do you have any suggestions? |
Beta Was this translation helpful? Give feedback.
-
@EdwardPiwowar I see that I don't have the right path for the CCs. |
Beta Was this translation helpful? Give feedback.
-
@ThorvaldAagaard it's better, now. It opens the BBA UI runs through 1 file and stops. When I close the BBA UI it runs the next. Lots of other issues; but, I have a question. Should it open the UI? I sure hope NOT!! I'm taking a break for a while. |
Beta Was this translation helpful? Give feedback.
-
It will open the UI, but you can have multiple running I created a cmd file, that will start multiple BBA
Using start "BBA" /D . will start a new BBA - number of running instance is dependent on our hardware |
Beta Was this translation helpful? Give feedback.
-
I want to run this on over 190 input files! The UI is a big issue. |
Beta Was this translation helpful? Give feedback.
-
I will create a request for BBA, but one idea for you is to combine the 190 input files into one file, and then split it after the bidding. |
Beta Was this translation helpful? Give feedback.
-
When BBA is run from the Command line, the archive file is not created AND the scores.txt file is not updated. These seem to be working: -- CC1 --CC2 -- HAND --DD --SD Here's a link to my .CMD file: https://github.com/ADavidBailey/Practice-Bidding-Scenarios/blob/main/makeBBA.cmd |
Beta Was this translation helpful? Give feedback.
-
Open BBA and make sure Achive is selected - it used to be saved, but I just tested it and it is removed on close, and that is probably the problem. |
Beta Was this translation helpful? Give feedback.
-
I observed the BBA window after starting my makeBBA.cmd. Archive is selected for each runs (I have to close BBA after the first.) |
Beta Was this translation helpful? Give feedback.
-
I think extension for outputfile is added by BBA, and are you sure directory XXX exists? |
Beta Was this translation helpful? Give feedback.
-
Paste a BBA screenshot shortly after the command is invoked. |
Beta Was this translation helpful? Give feedback.
-
C:\BBA\BBA --CC1 C:\BBA\GIB-ADB.bbsa --CC2 C:\BBA\21GF-ADB.bbsa --DD 0 --AUTOBID --HAND P:\pbn\2N_Smolen_Leveled-S.pbn --CURRENT_ARCHIVE P:\pba\ --ARCHIVE_FILE 2N_Smolen_Leveled-S.pbn |
Beta Was this translation helpful? Give feedback.
-
Yes, --ARCHIVE is only from your dream today...:) |
Beta Was this translation helpful? Give feedback.
-
--ARCHIVE_FILE... is working. The archived files have the correct name. I've tried both of the following: note that I've changed 'pba' to 'bba' --CURRENT_ARCHIVE P:\bba The archived files are in P:, my Practice-Bidding-Scenarios & GitHub root directory, instead of P:\bba |
Beta Was this translation helpful? Give feedback.
-
@ThorvaldAagaard |
Beta Was this translation helpful? Give feedback.
-
This morning I woke up thinkin' 'bout vulnerability... When I generate deals at a BBO Practice Table, I have no control over vulnerability. So, none of my dealer code considers vulnerability. But, I do have control when I map the deals into duplicate boards. Boards 1, 14, 11, and 8 all have the same vulnerability with respect to the dealer. So, when I'm creating pbn files , rotated-pbn files, and mixed-lin files I could map the deals to boards in a way that they maintain their dealer/vulnerability relationship. @ThorvaldAagaard this is all your fault!! When discussing Game_Overcalls, you mentioned 'losers would be better' and the Rule of 1-2-3-4-5 (is that what you called it?) which is based on vulnerability. It would be an interesting challenge to generate deals based on vulnerability. Is it worth it? I discovered that I'm not the first to be frightened awake by this nightmare! |
Beta Was this translation helpful? Give feedback.
-
You can specify the vulnerability for any given hand in the PBN file. You may choose to use the default vulnerabilities, but you don't have to. Some software will honor the vul as specified, and other software will just use the default value anyhow. The same goes for the dealer. When we rotate the hands, the dealer is no longer the standard, default value. For face-to-face, using the dealing machine and duplicate boards, I will tell the class hand-by-hand who is dealer. I could do the same for the vulnerability, but for these beginning and intermediate classes I don't need to. |
Beta Was this translation helpful? Give feedback.
-
I've been testing. The Dealer at a Bidding or Practice table ignores 'dealer' and 'vulnerable'; so, I cannot control or determine the dealer or vulnerability. Thus, I'm giving up on adding this logic to my scenarios. Maybe someone can show me that I'm wrong. If I were just creating pbn and lin files, I could do it. |
Beta Was this translation helpful? Give feedback.
-
I wrote a script bba_one.cmd with these contents - it runs BBA for the passed-in file, waits 5 seconds, then kills BBA. This could be put in a master script to run all 190 of your files. This could be a placeholder until the AUTOEXIT is implemented in BBA. This assumes the BBA folder is in your PATH environment variable. If not, specify the full path to BBA.exe. powershell -executionPolicy bypass -command "& {$process = start-process $args[0] -passthru -argumentlist $args[1..($args.length-1)]; exit $process.id}" bba --HAND %1.pbn --ARCHIVE_FILE %1_Archive --AUTOBID
set pid=%errorlevel%
timeout /t 5 /nobreak > NUL
taskkill /pid %pid% /T /F |
Beta Was this translation helpful? Give feedback.
-
BBA has NEVER seen an 8-card suit it didn't like!! Interestingly, playing on BBO, I bid 2H and West bid 2S all pass. With manual bidding in BBA, after 2H West bids 3H and they get to 4S. BBO's double dummy says EW make 5S and NS make 2H. N/S is vul and South has 7-losers. Do you count that as 7 losers? |
Beta Was this translation helpful? Give feedback.
-
This is not true: |
Beta Was this translation helpful? Give feedback.
-
@EdwardPiwowar this discussion was started on @ThorvaldAagaard's GitHub. The BBA bidding is getting excellent results vs. par. The following is talking about my Game_Overcalls scenario... I changed the hcp range to 5-11 (it was 9-12). This looks like a significant improvement. Out of 499 deals, 471 deals start 1x-4x, 23 dealse start 1x-5x, and 5 deals start 1x-3x IMPs to Par after is 4.33 before is 3.80 P.S. P.P.S |
Beta Was this translation helpful? Give feedback.
-
Interesting observations from my 1N_GIB scenario. https://github.com/ADavidBailey/Practice-Bidding-Scenarios/blob/main/bba/1N_GIB.pbn.txt 18 deals did not open 1N Only 4 of the 15 that started 1N-P-2N continued Only 9 splintered 1N-P-3H/S Only 2 bid Gerber Only 3 bid slam after Texas |
Beta Was this translation helpful? Give feedback.
-
How to I get BEN format?
…On Sat, Sep 28, 2024 at 6:59 PM Thorvald Aagaard ***@***.***> wrote:
Correct, you will have to change that, and also vulnerability
You could use the BEN format, that include dealer and vulnerability -
readable and pasteable. I think you can paste just 3 lines from the PBN but
then you need it with the [ ]
—
Reply to this email directly, view it on GitHub
<#39 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BC4TXI7LHXDJPAXZPJAYJJDZY47GNAVCNFSM6AAAAABOOLDKX2VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZYGYZTOMY>
.
You are receiving this because you were mentioned.Message ID:
<ADavidBailey/Practice-Bidding-Scenarios/repo-discussions/39/comments/10786373
@github.com>
--
David Bailey
918-520-9700 mobile
|
Beta Was this translation helpful? Give feedback.
-
In BEN format cards are always NESW The Sorted Bidding Sequences are interesting, when you check, that a convention has all different variations included. I just had an example where I have also decide that for training I discard a sequence if it is seen more than 50 times (using a program), and the list give an idea about how many different sequences there are |
Beta Was this translation helpful? Give feedback.
-
All of my file folders (PBS, dlr, pbn, pbn-rotated-for-4-players, lin-rotated-for-4-players, bba, bba-summary) have like-named files. And, I have a folder waiting for @Rick-Wilson's bba-filtered files. Because of the number of files, removing the dealer-suffix was non-trivial. So, let me know if you see any issues. |
Beta Was this translation helpful? Give feedback.
-
Thorvald and I were chatting about his interest in deals for game-level preemptive overcalls. He wanted to compare and contrast how various systems, conventions, and agreements worked with these deals. Here's my response:
I want to do exactly this for lots of scenarios.
... many, many more
How well are 500 deals of a single scenario bid with these different systems, conventions, and agreements? Which produces the better results?
I've written code to produce a summary of the 'notes' in BBA's archived pbn file and 'DD Bidding' from DDS's saved csv file. It's really crude and difficult to compare. It's made more difficult because every file does not have all possible 'note' or 'DD Bidding' value. Thus, the rows in my summaries don't align -- I have to manually cut/paste to fix it. Here's an example:
Jacoby_Super-Accept GIB61 vs EPBOT
I thought it was particularly interesting that GIB relied much more on Cue-Bidding and EPBot on Key Card.
All of the files in my GitHub BBA folder are efforts to compare/contrast different systems/conventions/agreements. It’s not going very well.
We’re all working on different aspects of the same problem.
Together, we can build a structure for a serious investigation of bidding and results. We can produce quantified metrics of the differences. Are you interested in pursuing this?
Each time I create or make a significant change to a scenario, I have python code to:
For a single scenario, this takes a few minutes.
I’m working on a CMD file to run pbn file(s) through BBA to create the BBA archive. And then hope to run the BBA archive(s) through DDS (is this possible?)
Here are some things that I would like your help with:
@Rick-Wilson join this discussion
Beta Was this translation helpful? Give feedback.
All reactions