eba92c5a513d329501c8b1ead5ebf5c1c9df87ee,flow/envs/base_env.py,SumoEnvironment,_step,#SumoEnvironment#Any#,294
Before Change
else:
if crash:
logging.info("Crash has occurred! Check failsafes!")
return Step(observation=next_observation, reward=reward,
done=True)
else:
return Step(observation=next_observation, reward=reward,
done=False)
After Change
else:
if crash:
logging.info("Crash has occurred! Check failsafes!")
return next_observation, reward, True, {}
else:
return next_observation, reward, False, {}
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: flow-project/flow
Commit Name: eba92c5a513d329501c8b1ead5ebf5c1c9df87ee
Time: 2017-12-24
Author: cathywu@eecs.berkeley.edu
File Name: flow/envs/base_env.py
Class Name: SumoEnvironment
Method Name: _step
Project Name: flow-project/flow
Commit Name: ed699b0af3d498f10e2430ab793bfb6a7ea22bcf
Time: 2017-12-19
Author: cathywu@eecs.berkeley.edu
File Name: flow/envs/base_env.py
Class Name: SumoEnvironment
Method Name: _step
Project Name: flow-project/flow
Commit Name: 482d52c6b760efc3bd5094223bb032574116a992
Time: 2017-06-09
Author: akreidieh@gmail.com
File Name: cistar-dev/cistar/core/base_env.py
Class Name: SumoEnvironment
Method Name: step