7e016711c3f45d68f8a663dc37bbeb1186086703,sacred/observers/flatfile.py,FlatfileObserver,interrupted_event,#FlatfileObserver#,87

Before Change


    def interrupted_event(self, interrupt_time, status):
        self.run_entry["stop_time"] = interrupt_time
        self.run_entry["status"] = status
        self.save()

    def failed_event(self, fail_time, fail_trace):
        self.run_entry["stop_time"] = fail_time
        self.run_entry["status"] = "FAILED"

After Change


    def interrupted_event(self, interrupt_time, status):
        self.run_entry["stop_time"] = interrupt_time
        self.run_entry["status"] = status
        self.save_json(self.run_entry, "run.json")

    def failed_event(self, fail_time, fail_trace):
        self.run_entry["stop_time"] = fail_time
        self.run_entry["status"] = "FAILED"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: IDSIA/sacred
Commit Name: 7e016711c3f45d68f8a663dc37bbeb1186086703
Time: 2016-06-08
Author: qwlouse@gmail.com
File Name: sacred/observers/flatfile.py
Class Name: FlatfileObserver
Method Name: interrupted_event


Project Name: IDSIA/sacred
Commit Name: 7e016711c3f45d68f8a663dc37bbeb1186086703
Time: 2016-06-08
Author: qwlouse@gmail.com
File Name: sacred/observers/flatfile.py
Class Name: FlatfileObserver
Method Name: resource_event


Project Name: IDSIA/sacred
Commit Name: 7e016711c3f45d68f8a663dc37bbeb1186086703
Time: 2016-06-08
Author: qwlouse@gmail.com
File Name: sacred/observers/flatfile.py
Class Name: FlatfileObserver
Method Name: failed_event


Project Name: IDSIA/sacred
Commit Name: 7e016711c3f45d68f8a663dc37bbeb1186086703
Time: 2016-06-08
Author: qwlouse@gmail.com
File Name: sacred/observers/flatfile.py
Class Name: FlatfileObserver
Method Name: artifact_event


Project Name: IDSIA/sacred
Commit Name: 7e016711c3f45d68f8a663dc37bbeb1186086703
Time: 2016-06-08
Author: qwlouse@gmail.com
File Name: sacred/observers/flatfile.py
Class Name: FlatfileObserver
Method Name: completed_event