d216c8cf961da1f138b5ca48e14849b6ada67943,polyaxon/db/models/tensorboards.py,TensorboardJob,outputs_path,#TensorboardJob#,66

Before Change



        if self.experiment_group and self.experiment_group.is_study:
            return ",".join([get_named_experiment_outputs_path(experiment)
                             for experiment in self.experiment_group.experiments.all()])
        if self.experiment_group and self.experiment_group.is_selection:
            return ",".join([get_named_experiment_outputs_path(experiment)
                             for experiment in self.experiment_group.selection_experiments.all()])

After Change


            return get_named_experiment_outputs_path(self.experiment)

        if self.experiment_group and self.experiment_group.is_study:
            experiments = self.experiment_group.experiments.all()
        elif self.experiment_group and self.experiment_group.is_selection:
            experiments = self.experiment_group.selection_experiments.all()
        else:
            experiments = self.project.experiments.all()

        outputs_specs = []
        tensorboard_paths = []
        for experiment in experiments:
            outputs_spec, tensorboard_path = get_named_experiment_outputs_path(
                experiment)
            outputs_specs += outputs_spec
            tensorboard_paths += tensorboard_path

        return outputs_specs, ",".join(tensorboard_paths)


class TensorboardJobStatus(AbstractJobStatus):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: polyaxon/polyaxon
Commit Name: d216c8cf961da1f138b5ca48e14849b6ada67943
Time: 2018-11-01
Author: mouradmourafiq@gmail.com
File Name: polyaxon/db/models/tensorboards.py
Class Name: TensorboardJob
Method Name: outputs_path


Project Name: AlexsLemonade/refinebio
Commit Name: 1a47b9bc2f35b65038929fd409f3286d4f6d1d92
Time: 2019-03-14
Author: miserlou@gmail.com
File Name: common/data_refinery_common/migrations/0017_auto_20190312_2011.py
Class Name:
Method Name: make_sample_platform_names_readable


Project Name: chakki-works/doccano
Commit Name: 49d41416e440926f0a9a8243b4d77f6f5468efe9
Time: 2019-03-12
Author: light.tree.1.13@gmail.com
File Name: app/server/api.py
Class Name: StatisticsAPI
Method Name: label_per_data