1db1fdc63962bf880b0a16783424cc587dc917c1,decisionmaker/outs_calculator.py,Outs_Calculator,evaluate_hands,#Outs_Calculator#Any#Any#Any#,128

Before Change


        self.pocket = pocket
        self.hand = hand

        pocket_score, pocket_cards, pocket_result = oc.calc_score(pocket)
        board_score, board_cards, board_result = oc.calc_score(board)
        hand_score, hand_cards, hand_result = oc.calc_score(hand)

        """print("----------pocket-------")
        print(pocket_score)
        print(pocket_cards)
        print(pocket_result)
        print("----------board-------")
        print(board_score)
        print(board_cards)
        print(board_result)
        print("----------hand-------")
        print(hand_score)
        print(hand_cards)
        print(hand_result)"""

        print("---------CALCULATING OUTS--------")

        self.calculate_outs(pocket_score, pocket_cards, pocket_result, board_score, board_cards, board_result, hand_score,
                          hand_cards, hand_result, hand)

    def calculate_outs(self, pocket_score, pocket_cards, pocket_result, board_score, board_cards, board_result,
                       hand_score,
                       hand_cards, hand_result, hand):

After Change



        print("---------CALCULATING OUTS--------")

        outs = self.calculate_outs(oc)

        return outs

    def calculate_outs(self, oc):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: dickreuter/Poker
Commit Name: 1db1fdc63962bf880b0a16783424cc587dc917c1
Time: 2016-11-08
Author: cumhur.guener@gmail.com
File Name: decisionmaker/outs_calculator.py
Class Name: Outs_Calculator
Method Name: evaluate_hands


Project Name: dickreuter/Poker
Commit Name: 4fbb3bc1fe7014e4232f92fee7d7341703cddd87
Time: 2016-11-08
Author: cumhur.guener@gmail.com
File Name: decisionmaker/outs_calculator.py
Class Name: Outs_Calculator
Method Name: evaluate_hands


Project Name: dickreuter/Poker
Commit Name: 3ab203076e8b93c72d1298fb9c449085b54273aa
Time: 2016-11-06
Author: cumhur.guener@gmail.com
File Name: decisionmaker/outs_calculator.py
Class Name: Outs_Calculator
Method Name: evaluate_hands