c3b700521c737ed57f41becce2ce0d9edc069bcf,mlflow/utils/validation.py,,_validate_metric_name,#Any#,16
Before Change
def _validate_metric_name(name):
Check that `name` is a valid metric name and raise an exception if it isn"t.
if _METRIC_AND_PARAM_NAME_REGEX.match(name) is None:
raise Exception("Invalid metric name: "%s"" % name )
def _validate_param_name(name):
After Change
def _validate_metric_name(name):
Check that `name` is a valid metric name and raise an exception if it isn"t.
if not _VALID_PARAM_AND_METRIC_NAMES.match(name) :
raise Exception("Invalid metric name: "%s". %s" % (name, _BAD_CHARACTERS_MESSAGE))
if _path_not_unique(name):
raise Exception("Invalid metric name: "%s". %s" % (name, _bad_path_message(name)))
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances Project Name: mlflow/mlflow
Commit Name: c3b700521c737ed57f41becce2ce0d9edc069bcf
Time: 2018-08-05
Author: aaron@databricks.com
File Name: mlflow/utils/validation.py
Class Name:
Method Name: _validate_metric_name
Project Name: mlflow/mlflow
Commit Name: c3b700521c737ed57f41becce2ce0d9edc069bcf
Time: 2018-08-05
Author: aaron@databricks.com
File Name: mlflow/utils/validation.py
Class Name:
Method Name: _validate_param_name
Project Name: bokeh/bokeh
Commit Name: 531452908b70f7eeb128c955aebe2e4247e5ee08
Time: 2020-11-01
Author: bryan@bokeh.org
File Name: bokeh/core/property/visual.py
Class Name: FontSize
Method Name: validate
Project Name: bokeh/bokeh
Commit Name: 531452908b70f7eeb128c955aebe2e4247e5ee08
Time: 2020-11-01
Author: bryan@bokeh.org
File Name: bokeh/core/property/dataspec.py
Class Name: FontSizeSpec
Method Name: validate