e84bd0ffe1f98efca057dde34244a82fa6486090,gym/envs/algorithmic/algorithmic_env.py,AlgorithmicEnv,_get_str_target,#AlgorithmicEnv#Any#,58
Before Change
else:
ret = self.target[pos]
if self.chars:
return chr(ret + ord("A"))
return str(ret)
def _render_observation(self):
x = self.x
After Change
if pos < 0 or len(self.target) <= pos:
return " "
else:
return self.charmap[self.target[pos]]
def _render_observation(self):
Return a string representation of the input tape/grid.
raise NotImplemented
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: openai/gym
Commit Name: e84bd0ffe1f98efca057dde34244a82fa6486090
Time: 2016-10-21
Author: colin.morris2@gmail.com
File Name: gym/envs/algorithmic/algorithmic_env.py
Class Name: AlgorithmicEnv
Method Name: _get_str_target
Project Name: openai/gym
Commit Name: e84bd0ffe1f98efca057dde34244a82fa6486090
Time: 2016-10-21
Author: colin.morris2@gmail.com
File Name: gym/envs/algorithmic/algorithmic_env.py
Class Name: AlgorithmicEnv
Method Name: _get_str_obs
Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 2f4537c4fd2d559f402514e1ed935c87b9fad81e
Time: 2019-03-29
Author: ferneyhough@google.com
File Name: perfkitbenchmarker/providers/azure/azure_disk.py
Class Name: AzureDisk
Method Name: GetDevicePath