3f40d5d2df611a3a76c325730f87a06bd0db0a00,sacred/commands.py,,cfgprint,#Any#Any#Any#Any#Any#Any#,8
Before Change
print(colored("{}{}:".format(indent, last_key)))
cfgprint(v, (key + "." + k).strip("."), added, updated, typechanges, indent + " ")
else:
print(colored("{}{} = {}".format(indent, last_key, x)))
def flatten_keys(d):
After Change
else:
printer = pprint.PrettyPrinter(indent=len(indent)+2)
printer.format = my_safe_repr
print(colored("{}{} = {}".format(indent, last_key,
printer.pformat(x))))
def flatten_keys(d):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: IDSIA/sacred
Commit Name: 3f40d5d2df611a3a76c325730f87a06bd0db0a00
Time: 2014-05-19
Author: klaus@idsia.ch
File Name: sacred/commands.py
Class Name:
Method Name: cfgprint
Project Name: pyprob/pyprob
Commit Name: c0903df4bc6d6dfef0a8040795f728e2efcff815
Time: 2019-02-25
Author: atilimgunes.baydin@gmail.com
File Name: pyprob/nn/inference_network.py
Class Name: InferenceNetwork
Method Name: optimize
Project Name: wkentaro/labelme
Commit Name: d1a0092557861775f786686e3bcda1a39ac75197
Time: 2020-03-06
Author: www.kentaro.wada@gmail.com
File Name: labelme/logger.py
Class Name: ColoredFormatter
Method Name: format