0f099d7f26572e40062cf3e4ad6e66021cae295b,talos/utils/logging.py,,clean_dict,#,4

Before Change


                _cd_out[key] = None
            elif len(s.split(".")) > 1:
                _cd_out[key] = self.params[key]
            elif type(self.params[key]) == type(1):
                _cd_out[key] = int(s)
            else:
                _cd_out[key] = s

After Change


                _cd_out[key] = None
            elif len(s.split(".")) > 1:
                _cd_out[key] = self.params[key]
            elif isinstance(self.params[key], int):
                _cd_out[key] = int(s)
            else:
                _cd_out[key] = s
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: autonomio/talos
Commit Name: 0f099d7f26572e40062cf3e4ad6e66021cae295b
Time: 2018-07-28
Author: mailme@mikkokotila.com
File Name: talos/utils/logging.py
Class Name:
Method Name: clean_dict


Project Name: autonomio/talos
Commit Name: b8205ef52b15dbbdc87ef69b7cdba9d26e611bec
Time: 2018-07-28
Author: mailme@mikkokotila.com
File Name: talos/parameters/handling.py
Class Name:
Method Name: param_format


Project Name: ntucllab/libact
Commit Name: f816d081e57e99ad4fde832ce51e509a29eeadc1
Time: 2016-05-01
Author: yangarbiter@gmail.com
File Name: libact/query_strategies/active_learning_by_learning.py
Class Name: ActiveLearningByLearning
Method Name: __init__