6046c71d5e0948ea8200a5864ad25bea9eb51958,sacred/observers/flatfile.py,FlatfileObserver,heartbeat_event,#FlatfileObserver#Any#Any#Any#,75
Before Change
self.run_entry["info"] = info
self.save_cout(captured_out)
self.run_entry["heartbeat"] = beat_time
self.save()
def completed_event(self, stop_time, result):
self.run_entry["stop_time"] = stop_time
self.run_entry["result"] = result
After Change
with open(os.path.join(self.dir, "report.html"), "w") as f:
f.write(report)
def heartbeat_event(self, info, captured_out, beat_time):
self.cout = captured_out
self.info = info
self.run_entry["heartbeat"] = beat_time
self.save_cout()
self.save_json(self.run_entry, "run.json")
self.save_json(self.info, "info.json")
def completed_event(self, stop_time, result):
self.run_entry["stop_time"] = stop_time
self.run_entry["result"] = result
In pattern: SUPERPATTERN
Frequency: 9
Non-data size: 4
Instances
Project Name: IDSIA/sacred
Commit Name: 6046c71d5e0948ea8200a5864ad25bea9eb51958
Time: 2016-06-10
Author: qwlouse@gmail.com
File Name: sacred/observers/flatfile.py
Class Name: FlatfileObserver
Method Name: heartbeat_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: 6046c71d5e0948ea8200a5864ad25bea9eb51958
Time: 2016-06-10
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: completed_event
Project Name: IDSIA/sacred
Commit Name: 6046c71d5e0948ea8200a5864ad25bea9eb51958
Time: 2016-06-10
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: interrupted_event
Project Name: IDSIA/sacred
Commit Name: 6046c71d5e0948ea8200a5864ad25bea9eb51958
Time: 2016-06-10
Author: qwlouse@gmail.com
File Name: sacred/observers/flatfile.py
Class Name: FlatfileObserver
Method Name: started_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: artifact_event