d5ba2ae7ba1a656700087ae4d53ad536c9adadf9,mlflow/store/tracking/file_store.py,FileStore,get_metric_history,#FileStore#Any#Any#,498

Before Change


    def get_metric_history(self, run_id, metric_key):
        _validate_run_id(run_id)
        _validate_metric_name(metric_key)
        parent_path, metric_files = self._get_run_files(run_id, "metric")
        if metric_key not in metric_files:
            raise MlflowException("Metric "%s" not found under run "%s"" % (metric_key, run_id),
                                  databricks_pb2.RESOURCE_DOES_NOT_EXIST)
        return [FileStore._get_metric_from_line(metric_key, line)

After Change


    def get_metric_history(self, run_id, metric_key):
        _validate_run_id(run_id)
        _validate_metric_name(metric_key)
        run_info = self._get_run_info(run_id)
        return self._get_metric_history(run_info, metric_key)

    def _get_metric_history(self, run_info, metric_key):
        parent_path, metric_files = self._get_run_files(run_info, "metric")
        if metric_key not in metric_files:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: mlflow/mlflow
Commit Name: d5ba2ae7ba1a656700087ae4d53ad536c9adadf9
Time: 2020-01-23
Author: jonas.fonseca@gmail.com
File Name: mlflow/store/tracking/file_store.py
Class Name: FileStore
Method Name: get_metric_history


Project Name: mlflow/mlflow
Commit Name: d5ba2ae7ba1a656700087ae4d53ad536c9adadf9
Time: 2020-01-23
Author: jonas.fonseca@gmail.com
File Name: mlflow/store/tracking/file_store.py
Class Name: FileStore
Method Name: get_all_metrics


Project Name: mlflow/mlflow
Commit Name: d5ba2ae7ba1a656700087ae4d53ad536c9adadf9
Time: 2020-01-23
Author: jonas.fonseca@gmail.com
File Name: mlflow/store/tracking/file_store.py
Class Name: FileStore
Method Name: get_all_tags


Project Name: mlflow/mlflow
Commit Name: d5ba2ae7ba1a656700087ae4d53ad536c9adadf9
Time: 2020-01-23
Author: jonas.fonseca@gmail.com
File Name: mlflow/store/tracking/file_store.py
Class Name: FileStore
Method Name: get_all_params