29573a73ddf5cb1b3cd89301c84f0057c04cc084,mushroom_rl/environments/gym_env.py,Gym,step,#Gym#Any#,68
Before Change
def step(self, action):
action = self._convert_action(action)
return self.env.step(action)
def render(self, mode="human"):
self.env.render(mode=mode)
After Change
action = self._convert_action(action)
obs, reward, absorbing, info = self.env.step(action)
return np.atleast_1d(obs), reward, absorbing, info
def render(self, mode="human"):
self.env.render(mode=mode)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: AIRLab-POLIMI/mushroom
Commit Name: 29573a73ddf5cb1b3cd89301c84f0057c04cc084
Time: 2020-06-03
Author: carlo.deramo@gmail.com
File Name: mushroom_rl/environments/gym_env.py
Class Name: Gym
Method Name: step
Project Name: pymc-devs/pymc3
Commit Name: bdd3dc0a47c80609b6a273e602a2b76992c83d5a
Time: 2018-09-26
Author: ColCarroll@users.noreply.github.com
File Name: pymc3/distributions/distribution.py
Class Name:
Method Name: to_tuple
Project Name: elfi-dev/elfi
Commit Name: 22f2dc35b690d47dbf8291dd3a4e1818448bf718
Time: 2016-11-11
Author: henri.vuollekoski@helsinki.fi
File Name: tests/unit/test_methods.py
Class Name: Test_BOLFI
Method Name: mock_summary
Project Name: utiasSTARS/liegroups
Commit Name: 784586f02d063d39360a287422a6384f30f10d12
Time: 2017-01-30
Author: clement.leopold@gmail.com
File Name: liegroups/so2.py
Class Name: SO2
Method Name: wedge