df3f08264d8e017c977adf6ffacf0fdfd3f1de92,sacred/observers/mongo.py,MongoObserver,started_event,#MongoObserver#,87

Before Change


    def started_event(self, name, ex_info, host_info, start_time, config):
        self.experiment_entry = dict()
        self.experiment_entry["name"] = name
        self.experiment_entry["experiment_info"] = ex_info
        self.experiment_entry["host_info"] = host_info
        self.experiment_entry["start_time"] = \
            datetime.fromtimestamp(start_time)
        self.experiment_entry["config"] = config

After Change


        self.host_entry = dict()
        self.host_entry = host_info

        self.run_entry = dict()
        self.run_entry["start_time"] = datetime.fromtimestamp(start_time)
        self.run_entry["config"] = config
        self.run_entry["status"] = "RUNNING"
        self.run_entry["resources"] = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: IDSIA/sacred
Commit Name: df3f08264d8e017c977adf6ffacf0fdfd3f1de92
Time: 2015-02-27
Author: qwlouse@gmail.com
File Name: sacred/observers/mongo.py
Class Name: MongoObserver
Method Name: started_event


Project Name: oval-group/logger
Commit Name: b0be7c8fe8a0b6a628a992fb87044f3d1596ccb7
Time: 2017-03-02
Author: leonardbj@hotmail.fr
File Name: logger/main.py
Class Name: Experiment
Method Name: __init__


Project Name: jbms/beancount-import
Commit Name: ff005d4104f638bb4ceaaeb709dc8e1ed69ed5cc
Time: 2016-01-10
Author: jeremy@jeremyms.com
File Name: beancount_import/cli.py
Class Name: JournalState
Method Name: apply_changes