Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ps-eval does not accept pokerstove style ranges #39

Open
tiltmine opened this issue Feb 17, 2017 · 3 comments
Open

ps-eval does not accept pokerstove style ranges #39

tiltmine opened this issue Feb 17, 2017 · 3 comments

Comments

@tiltmine
Copy link

tiltmine commented Feb 17, 2017

For example, using simple preflop ranges:

$ ./ps-eval "77+,ATs+,KTs+,QJs,AJo+,KQo" "99-22,AQs-A8s,A5s-A4s,K9s+,Q9s+,J9s+,T8s+,97s+,87s,76s,65s,AQo-AJo,KQo"
Assertion failed: (dists[i].size() > 0), function calculateEquity, file /src/lib/pokerstove/penum/ShowdownEnumerator.cpp, line 40.
Abort trap: 6

Also if you start your ranges off using individual cards, then add a range like AQo+ below:
./ps-eval "KcQc" "6c5c,AQo+"
The hand KcQc has 63.6617 % equity (1083296 6785.5 0 0)
The hand 6c5c,AQo+ has 36.3383 % equity (615437 6785.5 0 0)

It works, but the calculation is incorrect. Actual results according to PokerStove GUI should be 31.3% KcQc and 68.624% to 6c5c,AQ+.

@RamboWu
Copy link

RamboWu commented Dec 15, 2021

found the same problem, and the code compute really slow, but the app is really fast? how is that?

@RamboWu
Copy link

RamboWu commented Dec 15, 2021

@andrewprock

@andrewprock
Copy link
Owner

That portion of the code has not yet been open sourced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants