andrewprock / pokerstove

poker evaluation and enumeration software
BSD 3-Clause "New" or "Revised" License
804 stars 350 forks source link

ps-eval does not accept pokerstove style ranges #39

Open tiltmine opened 7 years ago

tiltmine commented 7 years ago

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 commented 2 years ago

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

RamboWu commented 2 years ago

@andrewprock

andrewprock commented 1 year ago

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