e001a978a88cdeb352404e653704521e343c78f2,game/board.py,Board,make_move,#Board#Any#Any#,104

Before Change


                start_flipping = False
                for pp in reversed(to_flip):
                    if not start_flipping:
                        if pp.get_state() == opponent:
                            continue
                    start_flipping = True

After Change


                    else:
                        tile += d

                ours = [i for i in to_flip if i.get_state()==player]
                if len(ours)==0:
                    continue
                our = ours[0]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: suragnair/alpha-zero-general
Commit Name: e001a978a88cdeb352404e653704521e343c78f2
Time: 2017-12-04
Author: jjw.megha@gmail.com
File Name: game/board.py
Class Name: Board
Method Name: make_move


Project Name: home-assistant/home-assistant
Commit Name: 2e10d7223a935c296cbc51fbb70acd6618eadd0f
Time: 2014-04-24
Author: Paulus@PaulusSchoutsen.nl
File Name: homeassistant/components/group.py
Class Name:
Method Name: get_entity_ids


Project Name: flow-project/flow
Commit Name: 1439884477e114f630a4dec1b043dc87d9254d98
Time: 2017-11-03
Author: kanaadp@gmail.com
File Name: flow/core/generator.py
Class Name: Generator
Method Name: make_routes