Describe the bug
The passing_smart_sequence() and pick_trouble_card() in LowLayer.py is incorrectly selecting the right cards to pass. On line 244, the statement if len(suit) > num_cards is selecting cards suits with the most amount of cards, when it should be selecting the suit with the least amount of cards.
Also going off Mark's strategy for method 1 passing, trouble suits are the suits where its lowest card is higher than the lowest cards of all the other suits.
To Reproduce
Steps to reproduce the behavior:
Un-comment line 53 in get_action(). three_cards = self.passing_smart_sequence(partial_state)
Comment out line 54 in get_action(). three_cards = self.passing_smart_facevalues(partial_state)
Expected behavior
The 3 cards selected for passing should be the highest card in the trouble suit, if we define trouble suit as the suit with the least amount of cards.
or
The 3 cards are the highest cards in the trouble suit. Trouble suit is the suit where the lowest card is greater than all other lowest cards in other suits.
Describe the bug The passing_smart_sequence() and pick_trouble_card() in LowLayer.py is incorrectly selecting the right cards to pass. On line 244, the statement if len(suit) > num_cards is selecting cards suits with the most amount of cards, when it should be selecting the suit with the least amount of cards.
Also going off Mark's strategy for method 1 passing, trouble suits are the suits where its lowest card is higher than the lowest cards of all the other suits.
To Reproduce Steps to reproduce the behavior:
Expected behavior The 3 cards selected for passing should be the highest card in the trouble suit, if we define trouble suit as the suit with the least amount of cards. or The 3 cards are the highest cards in the trouble suit. Trouble suit is the suit where the lowest card is greater than all other lowest cards in other suits.