ef00c480c4122f107f7d1ad481991d38b8da4f20,test/unittest_agent.py,UnittestAgent,test_pretrain,#UnittestAgent#,64
Before Change
actions_batch.append(actions)
states, terminal, reward = environment.execute(actions=actions)
terminal_batch.append(terminal)
reward_batch.append(reward)
agent.experience(
states=states_batch, actions=actions_batch, terminal=terminal_batch,
reward=reward_batch
After Change
agent.close()
environment.close()
for filename in os.listdir(path=self.__class__.directory):
os.remove(path=os.path.join(self.__class__.directory, filename))
assert filename.startswith("trace-")
os.rmdir(path=self.__class__.directory)
self.finished_test()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: reinforceio/tensorforce
Commit Name: ef00c480c4122f107f7d1ad481991d38b8da4f20
Time: 2019-08-30
Author: alexkuhnle@t-online.de
File Name: test/unittest_agent.py
Class Name: UnittestAgent
Method Name: test_pretrain
Project Name: nilmtk/nilmtk
Commit Name: 03d22bbb0177117498b3021e068611c6b9421e15
Time: 2014-07-21
Author: oliparson@gmail.com
File Name: nilmtk/dataset_converters/wikienergy/download_wikienergy.py
Class Name:
Method Name: download_wikienergy
Project Name: CellProfiler/CellProfiler
Commit Name: af5f79e90c2739fcf4b2ce54d49fd39b711e124d
Time: 2012-12-19
Author: leek@broadinstitute.org
File Name: bioformats/__init__.py
Class Name:
Method Name: start_cellprofiler_jvm