9163c404a731ce79899287c6e4709c6f9c900f55,mlflow/store/sqlalchemy_store.py,SqlAlchemyStore,list_run_infos,#SqlAlchemyStore#Any#Any#,232

Before Change


        raise NotImplementedError()

    def list_run_infos(self, experiment_id, _=None):
        exp = self.session.query(SqlExperiment).get(experiment_id)
        infos = []
        for run in exp.runs:
            infos.append(run.to_mlflow_entity().info)
        return infos

After Change


        return [run for run in exp.runs if run.lifecycle_stage in stages]

    def list_run_infos(self, experiment_id, run_view_type):
        return [r.to_mlflow_entity().info for r in self._list_runs(experiment_id, run_view_type)]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: mlflow/mlflow
Commit Name: 9163c404a731ce79899287c6e4709c6f9c900f55
Time: 2019-01-25
Author: mani@databricks.com
File Name: mlflow/store/sqlalchemy_store.py
Class Name: SqlAlchemyStore
Method Name: list_run_infos


Project Name: pfnet/optuna
Commit Name: 660058570d5337431d28e5a08814fbf96989afc0
Time: 2021-01-22
Author: gohome.x105.gn@gmail.com
File Name: tests/storages_tests/rdb_tests/test_storage.py
Class Name:
Method Name: test_record_heartbeat


Project Name: home-assistant/home-assistant
Commit Name: 61909e873f894591419ef25015df8360650886c3
Time: 2017-02-26
Author: paulus@paulusschoutsen.nl
File Name: tests/components/recorder/test_init.py
Class Name:
Method Name: _add_entities


Project Name: google/deepvariant
Commit Name: e30f5c4613cde9d03a07be745b604cc7e316c2e6
Time: 2018-03-12
Author: mdepristo@google.com
File Name: deepvariant/labeler/positional_labeler.py
Class Name: PositionalVariantLabeler
Method Name: _find_matching_variant_in_reader