d5ba2ae7ba1a656700087ae4d53ad536c9adadf9,mlflow/store/tracking/file_store.py,FileStore,get_all_metrics,#FileStore#Any#,478

Before Change



    def get_all_metrics(self, run_uuid):
        _validate_run_id(run_uuid)
        parent_path, metric_files = self._get_run_files(run_uuid, "metric")
        metrics = []
        for metric_file in metric_files:
            metrics.append(self._get_metric_from_file(parent_path, metric_file))
        return metrics

    @staticmethod
    def _get_metric_from_line(metric_name, metric_line):
        metric_parts = metric_line.strip().split(" ")

After Change



    def get_all_metrics(self, run_uuid):
        _validate_run_id(run_uuid)
        run_info = self._get_run_info(run_uuid)
        return self._get_all_metrics(run_info)

    def _get_all_metrics(self, run_info):
        parent_path, metric_files = self._get_run_files(run_info, "metric")
        metrics = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

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_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_params


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