fedden / poker_ai

🤖 An Open Source Texas Hold'em AI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validate before creating combos

GaussianZero opened this issue · comments

Is your feature request related to a problem? Please describe.
Not a problem, a recommendation to help users of the library speed up their interactions with the library.

Describe the solution you'd like
When I ran "poker_ai cluster" with an invalid set of values, the code first created combos of flop/turn/river (takes ~3 minutes), and then validated the inputs. I think it will help folks have faster iterations with the code base if validation happens before the creation of combos.

ValueError: Preflop lossless abstraction only works for a short deck with ranks [10, jack, queen, king, ace]. What was specified={2, 3, 4, 5, 6} doesn't equal what is allowed={10, 11, 12, 13, 14}