9199dfcdf27b7395e5094acececa52b26ca4e6e2,mlflow/utils/search_utils.py,SearchFilter,does_run_match_clause,#Any#Any#Any#,233

Before Change


                raise MlflowException("Invalid comparator "%s" "
                                      "not one of "%s"" % (comparator, cls.VALID_PARAM_COMPARATORS),
                                      error_code=INVALID_PARAMETER_VALUE)
            param = next((p for p in run.data.params if p.key == key), None)
            lhs = param.value if param else None
        elif key_type == cls._TAG_IDENTIFIER:
            if comparator not in cls.VALID_TAG_COMPARATORS:
                raise MlflowException("Invalid comparator "%s" "

After Change


                                      "not one of "%s" % (comparator,
                                                          cls.VALID_METRIC_COMPARATORS),
                                      error_code=INVALID_PARAMETER_VALUE)
            lhs = run.data.metrics.get(key, None)
            value = float(value)
        elif key_type == cls._PARAM_IDENTIFIER:
            if comparator not in cls.VALID_PARAM_COMPARATORS:
                raise MlflowException("Invalid comparator "%s" "
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: mlflow/mlflow
Commit Name: 9199dfcdf27b7395e5094acececa52b26ca4e6e2
Time: 2019-04-16
Author: smurching@gmail.com
File Name: mlflow/utils/search_utils.py
Class Name: SearchFilter
Method Name: does_run_match_clause


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: df4ac0ed8a1f42b864b49d45056ad8dc95b3510c
Time: 2015-12-08
Author: carlos.torres@rackspace.com
File Name: perfkitbenchmarker/providers/openstack/os_disk.py
Class Name: OpenStackDisk
Method Name: Attach


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 874170dad8d905dcae3513b7a9cf7f95803480a2
Time: 2015-12-03
Author: carlos.torres@rackspace.com
File Name: perfkitbenchmarker/providers/openstack/os_disk.py
Class Name: OpenStackDisk
Method Name: Attach