bf81a08cb2293be7290ecd19a1a45c0da2d2fe83,main.py,TableScreenBased,init_get_other_players_info,#TableScreenBased#,552
Before Change
return False
def init_get_other_players_info(self):
self.other_players=dict()
for i in range (5):
self.other_players[str(i)]=dict()
self.other_players[str(i)]["abs_position"]=i
self.other_players[str(i)]["utg_position"] = ""
self.other_players[str(i)]["name"] = ""
self.other_players[str(i)]["status"] = ""
self.other_players[str(i)]["funds"] = ""
self.other_players[str(i)]["pot"] = ""
After Change
other_player["pot"] = ""
self.other_players = []
for i in range (5):
op=copy(other_player)
op["abs_position"]=i
self.other_players.append(op)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: dickreuter/Poker
Commit Name: bf81a08cb2293be7290ecd19a1a45c0da2d2fe83
Time: 2016-09-27
Author: dickreuter@yahoo.com
File Name: main.py
Class Name: TableScreenBased
Method Name: init_get_other_players_info
Project Name: OpenMined/PySyft
Commit Name: 59d4bbaaf06850e2dfb357855f50b05f6c9aadb1
Time: 2020-10-02
Author: skywind29@users.noreply.github.com
File Name: syft/frameworks/torch/fl/utils.py
Class Name:
Method Name: add_model
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: bef76705a436b92e8ae4c7d6fcd2fe09274be567
Time: 2018-10-04
Author: deitz@google.com
File Name: perfkitbenchmarker/linux_benchmarks/hpcc_benchmark.py
Class Name:
Method Name: ParseOutput