[bug report] problem with Evaluator.BestHand

This forum is for all things Hold 'Em, including bot strategy, bug reports, and anything else.

8/8/2011 5:56:53 AM
eu
View user profile for eu
Total Posts 2

[bug report] problem with Evaluator.BestHand

I think evaluator gives wrong answer here:

// three aces, three 10s => ThreeOfAKind (should be FullHouse, right?)

var bestHand = Evaluator.BestHand(new[]
                                          {
                                            new Card(Ranks.Ace, Suits.Clubs), new Card(Ranks.Ace, Suits.Diamonds), new Card(Ranks.Ace, Suits.Hearts),
                                            new Card(Ranks.Ten, Suits.Clubs), new Card(Ranks.Ten, Suits.Spades), new Card(Ranks.Ten, Suits.Hearts),
                                            new Card(Ranks.Five, Suits.Spades)
                                          });

 

// three aces, two 10s => FullHouse (as expected)

var bestHand2 = Evaluator.BestHand(new[]
                                          {
                                            new Card(Ranks.Ace, Suits.Clubs), new Card(Ranks.Ace, Suits.Diamonds), new Card(Ranks.Ace, Suits.Hearts),
                                            new Card(Ranks.Ten, Suits.Clubs), new Card(Ranks.Ten, Suits.Spades), 

                                            new Card(Ranks.Nine, Suits.Hearts),
                                            new Card(Ranks.Five, Suits.Spades)
                                          });

 

Regards,

- Eugene

8/8/2011 6:34:16 AM
View user profile for Ed Kaim
Total Posts 35

Re: [bug report] problem with Evaluator.BestHand

We've confirmed your bug and will have updated bits before the next tournament. Thank you for raising this.