Skip to content

Fix gross sum add tests#81

Open
paairs wants to merge 11 commits intoishikota:masterfrom
paairs:fix_gross_sum_add_tests
Open

Fix gross sum add tests#81
paairs wants to merge 11 commits intoishikota:masterfrom
paairs:fix_gross_sum_add_tests

Conversation

@paairs
Copy link
Copy Markdown

@paairs paairs commented Apr 24, 2026

No description provided.

paairs and others added 11 commits April 17, 2026 14:05
Fix: replace nose with pytest for Python 3.12 compatibility
- Fix A-2-3-4-5 wheel straight not recognized (issue ishikota#68/ishikota#69)
- Fix flush comparison using only highest card instead of top 5 (issue ishikota#68)
- Fix best 5-card combination not always chosen correctly from 7 (issue ishikota#78)
- Fix duplicate cards in tests, ace rank 1 -> 14, update expected values
- Add royal flush (treys class 0) to strength map
Fix: replace HandEvaluator with treys-based implementation
- Previously legal_actions() returned -1 for raise when max_raise < min_raise
- Now returns all-in amount when max_raise > call amount (player can still raise)
- Update test_legal_actions_when_short_of_money and test_need_amount_after_ante
  to reflect correct behaviour
- Add test_raise_allin_when_stack_below_min_raise to cover the fixed case
Fix: allow all-in raise when stack is between call and min raise amount
PokerStars hand history generation
It should be gross amount, not net.
fix wrong calculated "Hero collected" -line.
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

Successfully merging this pull request may close these issues.

1 participant