706aa7deac1b851721adb4931e61ff344cf05d7f,hpobench/config.py,HPOBenchConfig,__create_config_file,#HPOBenchConfig#,80
Before Change
try:
self.logger.debug(f"Create a new config file here: {self.config_file}")
self.__check_dir(self.config_file.parent)
fh = self.config_file.open("w", encoding="utf-8")
for k in self.defaults:
fh.write(f"{k}={self.defaults[k]}\n")
fh.close()
except (IOError, OSError):
raise
def __parse_config(self):
After Change
self.logger.debug(f"Create a new config file here: {self.config_file}")
self.__check_dir(self.config_file.parent)
defaults = {"version": self.config_version,
"verbosity": self.verbosity,
"cache_dir": str(self.cache_dir),
"data_dir": str(self.data_dir),
"global_data_dir": str(self.global_data_dir),
"use_global_data": True,
"socket_dir": str(self.socket_dir),
"container_dir": str(self.container_dir),
"container_source": self.container_source,
"pyro_connect_max_wait": self.pyro_connect_max_wait
}
with self.config_file.open("w", encoding="utf-8") as fh:
yaml.dump(defaults, fh)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: automl/HPOlib2
Commit Name: 706aa7deac1b851721adb4931e61ff344cf05d7f
Time: 2020-12-21
Author: muller-phil@gmx.net
File Name: hpobench/config.py
Class Name: HPOBenchConfig
Method Name: __create_config_file
Project Name: automl/HPOlib2
Commit Name: 706aa7deac1b851721adb4931e61ff344cf05d7f
Time: 2020-12-21
Author: muller-phil@gmx.net
File Name: hpobench/config.py
Class Name: HPOBenchConfig
Method Name: __create_config_file
Project Name: commonsense/conceptnet5
Commit Name: db4b9f4d50af9e83733fc301c32e85cbe6d9c812
Time: 2014-02-25
Author: rob@luminoso.com
File Name: conceptnet5/builders/json_to_solr.py
Class Name:
Method Name: convert_to_solr
Project Name: lingpy/lingpy
Commit Name: 02b1345a9b521639f8966f35b6103fcdecdb8f91
Time: 2013-09-16
Author: mattis.list@posteo.de
File Name: setup.py
Class Name:
Method Name: