5a1e69219fbabaa760c056c60bade01006490c9a,studio/model.py,FirebaseProvider,delete_experiment,#FirebaseProvider#Any#,504

Before Change


                     experiment_key)

        for key in experiment.artifacts.keys():
            self._delete_file(self._get_experiments_keybase() +
                              experiment_key + "/" + key + ".tgz")

        self._delete(self._get_experiments_keybase() + experiment_key)

After Change


        self._delete(self._get_user_keybase() + "experiments/" +
                     experiment_key)

        for tag,art in experiment.artifacts.iteritems():
            self.logger.debug("Deleting artifact with tag {} at key {}"
                    .format(tag, art["key"]))
            self._delete_file(art["key"])

        self._delete(self._get_experiments_keybase() + experiment_key)

    def checkpoint_experiment(self, experiment, blocking=False):
        checkpoint_threads = [
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: studioml/studio
Commit Name: 5a1e69219fbabaa760c056c60bade01006490c9a
Time: 2017-06-20
Author: peter.zhokhov@sentient.ai
File Name: studio/model.py
Class Name: FirebaseProvider
Method Name: delete_experiment


Project Name: studioml/studio
Commit Name: 3da3f379af16e198b7ca5ec4d3c35f05c18a791d
Time: 2017-06-30
Author: peter.zhokhov@sentient.ai
File Name: studio/model.py
Class Name: FirebaseProvider
Method Name: add_experiment


Project Name: studioml/studio
Commit Name: addbe43e93bea82a3eda2b8051df6b7e40fd9ec1
Time: 2017-06-19
Author: peter.zhokhov@sentient.ai
File Name: studio/lworker.py
Class Name:
Method Name: worker_loop