cd50ec1c075fed30b19771879b818ba14ecfb816,test/test_features.py,TestFeatures,test_pretrain,#TestFeatures#,85
Before Change
// Remove directory if exists
if os.path.exists(path=self.__class__.directory):
for filename in os.listdir(path=self.__class__.directory):
os.remove(path=os.path.join(self.__class__.directory, filename))
os.rmdir(path=self.__class__.directory)
agent, environment = self.prepare(recorder=dict(directory=self.__class__.directory))
After Change
agent.close()
environment.close()
files = os.listdir(path=directory)
self.assertTrue(
all(file.startswith("trace-") and file.endswith(".npz") for file in files)
)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances Project Name: reinforceio/tensorforce
Commit Name: cd50ec1c075fed30b19771879b818ba14ecfb816
Time: 2020-07-05
Author: alexkuhnle@t-online.de
File Name: test/test_features.py
Class Name: TestFeatures
Method Name: test_pretrain
Project Name: comic/grand-challenge.org
Commit Name: 10be620ec5a250bc7b7a3ec89b956eb5ca6f8147
Time: 2013-07-25
Author: w.s.kerkstra@gmail.com
File Name: django/ckeditor/views.py
Class Name:
Method Name: get_image_browse_urls_project
Project Name: reinforceio/tensorforce
Commit Name: cd50ec1c075fed30b19771879b818ba14ecfb816
Time: 2020-07-05
Author: alexkuhnle@t-online.de
File Name: test/test_saving.py
Class Name: TestSaving
Method Name: test_modules
Project Name: comic/grand-challenge.org
Commit Name: ea037c194cb1f8a2957276f8a72a43f8db3d5476
Time: 2013-07-25
Author: w.s.kerkstra@gmail.com
File Name: django/ckeditor/views.py
Class Name:
Method Name: get_image_browse_urls_project