Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Validate before creating combos #127

Open
GaussianZero opened this issue Jan 3, 2021 · 0 comments
Open

Validate before creating combos #127

GaussianZero opened this issue Jan 3, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@GaussianZero
Copy link

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}

@GaussianZero GaussianZero added the enhancement New feature or request label Jan 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants