eseidel / saycbridge Goto Github PK
View Code? Open in Web Editor NEWA bidding practice bot as seen at saycbridge.com and the Android Play Store
License: BSD 3-Clause "New" or "Revised" License
A bidding practice bot as seen at saycbridge.com and the Android Play Store
License: BSD 3-Clause "New" or "Revised" License
http://www.saycbridge.com/bid/3-30f88f19561ea08d126db8767f:1D,X,P,1S,P,3S,P,4S,P,P,P
Autobidder passes 1D with 19 points, missing a cold game.
I'm guessing that there is a hole in the logic for 5-5-x-x distribution where the hand is too big for an overcall and Michaels and UNT don't fit.
saycbridge.com needs a landscape-aware layout for phones
From a user:
"When I'm using this app on my smartphone turn it into the landscape mode and I have to scroll to see all of the screen. If the pass button was put next to the 1 club did it would not waste what half of an inch of the screen at its narrowest dimension.
Since the screen is trapped in this widest dimension(landscape) how about putting all of the bid buttons on the left side and the buttons for suggested bid etc on the right? That way we wouldn't have to scroll down.
Also in case is where we pass we don't get the prompt that says our bid matches Autobidder's bid."
['AK.72.KT942.AQT5', '1H', 'P 1C', 'N-S'] # S should bid 1H
From a user. Unfortunately I don't have the board id.
http://www.saycbridge.com/bid/6-aceb13ac71d2e4cdc2097a4d56:3S,3N,P,6N,P,P,P
A 3NT overcall of a 3S preempt shows as 18+ length points and a stopper, not 25-27 like a 3NT opening.
https://saycbot.appspot.com/bid/7-9f9ee86653fd2209088b7f4447:1H,P,P,X,2C,P,P,P
Unclear what the proper bid in SAYC here is. Jacoby 2NT is probably the right call, even though you only have 12 HCP. Maybe Jacboy 2NT should use Length points?
The bot knows that 6S is to play yet switches to 6NT anyway, converting a laydown to a contract that is doomed on a heart lead.
http://www.saycbridge.com/bid/5-fe6c521611f82ed3c1d27816ae:1N,P,2H,P,2S,P,4N,P,5H,P,6S,P,6N,P,P,P
http://z3b.saycbridge.com/bid/3-e3a74c1b2cf335e52ba1e1544a:1H,P,2C,P,2N,P,4D,P,P,P#
Yeah. That looks all wrong. The bot probably should be suggesting that you bid 2H as a minimum bid instead of 2N which is slightly stronger.
Even if you bid 2N, jumping to 4D seems wrong. Yes, it's a valid jump-shift, but probably doesn't apply after a NT bid like that. Jumping to 3N would have made more sense (slam is remote at 32 max points between you and no fit).
I also suspect that 2-over-1 would probably handle this better (the bot doesn't know that system yet) since part of how this auction got into that trouble is that the 2C bid N made has such a huge range.
Please enlarge the size of the font for the saycbridge site. I play it on my tablet and it is almost impossible to see the "hand" that is dealt. I would love to load it onto my phone, but I know I could never make out the cards in the hand. Thank you for your consideration.
In competitive.py, line 103 there is a shared implied constraint of 3 of top 5 honors for a suited overcall. This is bogus and causes problems with hands like:
http://www.saycbridge.com/bid/11-93875b35e6c6ca629d2c4383dc:P,1D,P,P,1H,1S,1N,P,P,P
There is no way this should be passed out by either north or south as the autobidder suggests. A sixth trump is every bit as good as another honor. Maybe the rule should be 3 of 5 or 2 of 3 with 5, or any 6+ that isn't already a preempt? Unfortunately I don't understand the engine enough to know how to code that.
North going to 1NT over west's raise to 1S is intriguing. It seems like the kind of bid only a computer could make but it seems to work well here (-50 vs. -80).
A request from George P. via email.
http://www.saycbridge.com/bid/8-85d5c9c234b8299f16c7ce2f92:P,1D,2N,X,P,P,P
In this case South's double shows a fair amount of points. I suppose advancer is allowed to pass to show indifference to the two options, but then overcaller has to bid. In this case overcaller can bid his 6-card suit.
http://www.saycbridge.com/bid/9-bb67a90390852d8fc17c974ec6:P,P,1C,2H,P,3C,X,P,P,P
In this case South's double showed rebiddable clubs. Clearly someone has to bid again.
Greetings!
I'm trying to use the Bidder module (z3b version) in your repository, but encountered the following problem.
I first created a bidder using a BidderFactory
self.bidder = BidderFactory.default_bidder()
then
self.bidder.find_call_for(hand, call_history)
which raised the following exception
File "C:\saycbridge-master\src\z3b\bidder.py", line 207, in __exit__
_solver_pool.restore(previous_history._solver.take())
AttributeError: 'functools._lru_cache_wrapper' object has no attribute 'take'
It seems that the _solver is missing a take() method. I'm wondering what's the expected behavior of take() here. Is there a possible workaround? Thanks.
The 5D bid might be wrong but it cannot be passed.
http://www.saycbridge.com/bid/10-be057b068ef0e7871a0255a7f1:P,P,P,1H,P,2H,P,4D,P,5D,P,P,P
As a side note a jump shift is unnecessary here. Just go to game.
When a player is learning opening bids, it would be good to show only bids where they make the first choice as dealer.
South should have bid hearts after partner's cue-bid-response to takeout double
https://saycbot.appspot.com/bid/2-363e6492ebc769850893379d3c:P,P,2S,P,P,P
I think this just isn't a case which is well tested. Cuebid responses to takeout doubles are quite rare. :)
"It's OK, but how do you exit the app? Undo is tedious! Seriously, people...." was one such email from a user.
From jill:
"I just bid a hand where I open one club, opponent over calls 1 diamonds, and my partner bids 2NT. your program says that is no trump bid over minor...13 to 15 points. I am told that two no trump bid over minor should be 11 to 12 points. Why wouldn't you just jump to three no trump if you had 13 to 15 points?"
It'd be nice to have a place to practice suit combinations--basically learning to apply http://www.bridgehands.com/S/Suit_Combination_6.htm
I know saycbridge is centered on bidding practice, but was just wondering if you've considered play of the hand practice?
http://www.saycbridge.com/bid/2-40b17d7014d067ab79ec6ea8b3:1C,2C,P,2N,P
Autobidder asks for a minor which is illogical.
http://www.saycbridge.com/bid/6-243fb09518dc2755ae3268faf4:P,P,P,2N,P,3H,P,3S,P,3N,P,P,P
Autobidder has multiple issues here.
http://www.saycbridge.com/bid/3-18d3f271a616b0b2b65f9104fe:1D,X,P,1N,P,P,P
The 1NT overcall is more descriptive so it should take priority. E/W should end up in 3NT.
http://www.saycbridge.com/bid/4-f1f01a7a542e4359f09beac4c6:P,P,1D
Click "suggest bid" and it tells you (correctly) to double, but doesn't explain the idea of a big-hand double.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.