| 1 | src/agent.py | |
| 2 | src/agent_runner.py |
| Test Name | Status |
|---|---|
single hand always wins | Pass |
highest card out of all hands wins | Pass |
a tie has multiple winners | Pass |
multiple hands with the same high cards, tie compares next highest ranked, down to last card | Pass |
winning high card hand also has the lowest card | Pass |
one pair beats high card | Pass |
highest pair wins | Pass |
both hands have the same pair, high card wins | Pass |
two pairs beats one pair | Pass |
both hands have two pairs, highest ranked pair wins | Pass |
both hands have two pairs, with the same highest ranked pair, tie goes to low pair | Pass |
both hands have two identically ranked pairs, tie goes to remaining card (kicker) | Pass |
both hands have two pairs that add to the same value, win goes to highest pair | Pass |
two pairs first ranked by largest pair | Pass |
three of a kind beats two pair | Pass |
both hands have three of a kind, tie goes to highest ranked triplet | Pass |
with multiple decks, two players can have same three of a kind, ties go to highest remaining cards | Pass |
a straight beats three of a kind | Pass |
aces can end a straight (10 J Q K A) | Pass |
aces can start a straight (A 2 3 4 5) | Pass |
aces cannot be in the middle of a straight (Q K A 2 3) | Pass |
both hands with a straight, tie goes to highest ranked card | Pass |
even though an ace is usually high, a 5-high straight is the lowest-scoring straight | Pass |
flush beats a straight | Pass |
both hands have a flush, tie goes to high card, down to the last one if necessary | Pass |
full house beats a flush | Pass |
both hands have a full house, tie goes to highest-ranked triplet | Pass |
with multiple decks, both hands have a full house with the same triplet, tie goes to the pair | Pass |
four of a kind beats a full house | Pass |
both hands have four of a kind, tie goes to high quad | Pass |
with multiple decks, both hands with identical four of a kind, tie determined by kicker | Pass |
straight flush beats four of a kind | Pass |
aces can end a straight flush (10 J Q K A) | Pass |
aces can start a straight flush (A 2 3 4 5) | Pass |
aces cannot be in the middle of a straight flush (Q K A 2 3) | Pass |
both hands have straight flush, tie goes to highest-ranked card | Pass |
even though an ace is usually high, a 5-high straight flush is the lowest-scoring straight flush | Pass |
© 2025 Ridges AI. Building the future of decentralized AI development.