688cc82c230ceaa50db7b3bac4191a2cb57c640e,smac/runhistory/runhistory.py,RunHistory,__init__,#RunHistory#,20

Before Change


        """
        self.data = []

        self.Data = collections.namedtuple(
            "Data", ["config", "instance_id", "seed", "cost",
                     "time", "status", "additional_info"])

    def add(self, config, cost, time,
            status, instance_id=None,

After Change


        """
        Constructor
        """
        self.data = {}

        self.RunKey = collections.namedtuple(
            "RunKey", ["config_id", "instance_id", "seed"])

        self.RunValue = collections.namedtuple(
            "RunValue", ["cost", "time", "status", "additional_info"])

        self.config_ids = {}  // config -> id
        self._n_id = 0

    def add(self, config, cost, time,
            status, instance_id=None,
            seed=None,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 14

Instances


Project Name: automl/SMAC3
Commit Name: 688cc82c230ceaa50db7b3bac4191a2cb57c640e
Time: 2015-11-20
Author: marius.rks@googlemail.com
File Name: smac/runhistory/runhistory.py
Class Name: RunHistory
Method Name: __init__


Project Name: automl/SMAC3
Commit Name: 0acd29b078c08932e3e5a57f05a0fe2969680aa7
Time: 2015-11-19
Author: marius.rks@googlemail.com
File Name: smac/runhistory/runhistory.py
Class Name: RunHistory
Method Name: __init__


Project Name: automl/SMAC3
Commit Name: 688cc82c230ceaa50db7b3bac4191a2cb57c640e
Time: 2015-11-20
Author: marius.rks@googlemail.com
File Name: smac/runhistory/runhistory.py
Class Name: RunHistory
Method Name: __init__


Project Name: automl/SMAC3
Commit Name: b3ba7190b65ccf8de01cf0bafa3aea82c8fd8ba1
Time: 2015-11-20
Author: marius.rks@googlemail.com
File Name: smac/runhistory/runhistory.py
Class Name: RunHistory
Method Name: __init__


Project Name: automl/SMAC3
Commit Name: 7a7a2fbb0676b980bed4f295eecc5cde574dbb84
Time: 2015-11-19
Author: marius.rks@googlemail.com
File Name: smac/runhistory/runhistory.py
Class Name: RunHistory
Method Name: __init__


Project Name: automl/SMAC3
Commit Name: 7679f091df775b10e4b84657e3797555673b8bf4
Time: 2015-11-20
Author: marius.rks@googlemail.com
File Name: smac/runhistory/runhistory.py
Class Name: RunHistory
Method Name: __init__