430935629ef08dbecb84f6225d55504c2ee606c9,smac/tae/execute_func.py,AbstractTAFunc,__init__,#AbstractTAFunc#Any#Any#Any#Any#Any#Any#,24

Before Change


        super().__init__(ta=ta, stats=stats, runhistory=runhistory,
                         run_obj=run_obj, par_factor=par_factor)

        signature = inspect.signature(ta).parameters
        self._accepts_seed = len(signature) > 1
        self._accepts_instance = len(signature) > 2

        if memory_limit is not None:
            memory_limit = int(math.ceil(memory_limit))
        self.memory_limit = memory_limit

After Change


                    runtime (None if not returned by TA)
                additional_info: dict
                    all further additional run information
        

        arguments = {"logger": logging.getLogger("pynisher"),
                     "wall_time_in_s": cutoff,
                     "mem_in_mb": self.memory_limit}
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: automl/SMAC3
Commit Name: 430935629ef08dbecb84f6225d55504c2ee606c9
Time: 2017-05-07
Author: joshua.marben@neptun.uni-freiburg.de
File Name: smac/tae/execute_func.py
Class Name: AbstractTAFunc
Method Name: __init__


Project Name: pantsbuild/pants
Commit Name: efdb32a6d9a8aeea5f59100f1659583507f643b2
Time: 2014-11-10
Author: benjyw@gmail.com
File Name: src/python/pants/commands/goal_runner.py
Class Name: GoalRunner
Method Name: setup_parser


Project Name: facebook/FAI-PEP
Commit Name: 6cb62da4205e52f91c9c8fd94dbcdfaca717eb36
Time: 2018-06-04
Author: 34827865+llyfacebook@users.noreply.github.com
File Name: benchmarking/frameworks/caffe2/caffe2.py
Class Name: Caffe2Framework
Method Name: _collectDelayData