0782241b89d6b1341ef52434be1ee8c67077de97,tests/test_reverseTables.py,TestReverseTables,test_preflop_state1,#TestReverseTables#,8

Before Change


        abs_pos=2
        sheet_name=preflop_state.get_reverse_sheetname(abs_pos, t)

        self.assertEqual(t.other_players[2]["utg_position"]+1, 5)
        self.assertEqual("5R1R2C2C3", sheet_name)

After Change


        t, p, gui_signals, h, logger = init_table("tests/screenshots/76s.png", strategy=strategy)
        p = StrategyHandler()
        p.read_strategy(strategy)
        l = MagicMock()
        t.totalPotValue = 0.5
        t.equity = 0.5
        t.checkButton = False
        d = Decision(t, h, p, logger, l)
        t.isHeadsUp = True
        t.gameStage = "PreFlop"
        d.__init__(t, h, p, logger, l)
        d.preflop_override(t, logger, h, p)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: dickreuter/Poker
Commit Name: 0782241b89d6b1341ef52434be1ee8c67077de97
Time: 2016-10-29
Author: dickreuter@yahoo.com
File Name: tests/test_reverseTables.py
Class Name: TestReverseTables
Method Name: test_preflop_state1


Project Name: ecs-vlc/torchbearer
Commit Name: 655cd1417d50077e766587c015ab806fc90e1b5f
Time: 2018-09-19
Author: ewah1g13@soton.ac.uk
File Name: tests/test_trial.py
Class Name: TestTrialValEvalPred
Method Name: test_evaluate


Project Name: polyaxon/polyaxon
Commit Name: 979546167c1e0f935a368e9d01895d1cd624986c
Time: 2019-02-11
Author: mouradmourafiq@gmail.com
File Name: tests/test_stores/test_gcs_store.py
Class Name: TestGCSStore
Method Name: test_delete


Project Name: google/deepvariant
Commit Name: 0a159f32075b2e8a9c0875ff54a68b7ed457bd9a
Time: 2018-02-27
Author: mdepristo@google.com
File Name: deepvariant/make_examples_test.py
Class Name: RegionProcessorTest
Method Name: test_process_calls_with_candidates