373734c22079735ff8383e711ae893741ad0f205,othello/OthelloPlayers.py,HumanOthelloPlayer,play,#HumanOthelloPlayer#,17
Before Change
while True:
a = input()
x,y = int(a[0]),int(a[1])
a = self.game.n * x + y if x!= -1 else self.game.n ** 2
if valid[a]:
break
else:
After Change
while True:
a = input()
x,y = [int(x) for x in a.split(" ")]
a = self.game.n * x + y if x!= -1 else self.game.n ** 2
if valid[a]:
break
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: suragnair/alpha-zero-general
Commit Name: 373734c22079735ff8383e711ae893741ad0f205
Time: 2017-12-17
Author: suragnair@hotmail.com
File Name: othello/OthelloPlayers.py
Class Name: HumanOthelloPlayer
Method Name: play
Project Name: TheAlgorithms/Python
Commit Name: c359768e257a7bcbfe93e137a0fc1e81b92d6573
Time: 2020-12-08
Author: 58473917+Joe-Sin7h@users.noreply.github.com
File Name: sorts/bitonic_sort.py
Class Name:
Method Name:
Project Name: fizyr/keras-retinanet
Commit Name: 8c061d60a4eaed31b900855b11b68b5efa4ff819
Time: 2020-09-27
Author: hansoli@live.co.kr
File Name: keras_retinanet/utils/gpu.py
Class Name:
Method Name: setup_gpu