358c6d5cec99f8c67c0c0ca165d07f3e766fd5d5,optuna/structs.py,FrozenTrial,__hash__,#FrozenTrial#,134

Before Change


    def __hash__(self):
        // type: () -> int

        return hash(self.__dict__)

    @property
    def trial_id(self):
        // type: () -> int

After Change


    def __hash__(self):
        // type: () -> int

        return hash(tuple(getattr(self, field) for field in self._fields))

    def __repr__(self):
        // type: () -> str
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pfnet/optuna
Commit Name: 358c6d5cec99f8c67c0c0ca165d07f3e766fd5d5
Time: 2019-11-05
Author: hiroyuki.vincent.yamazaki@gmail.com
File Name: optuna/structs.py
Class Name: FrozenTrial
Method Name: __hash__


Project Name: markovmodel/PyEMMA
Commit Name: ff07957b91c3d78b0e0cfa0f92715e916d2179fb
Time: 2019-05-22
Author: m.scherer@fu-berlin.de
File Name: pyemma/util/numeric.py
Class Name:
Method Name: _hash_numpy_array


Project Name: RasaHQ/rasa
Commit Name: 13e5fb6abb1223e377886469e48945477a7fcf28
Time: 2018-10-23
Author: alan@golastmile.com
File Name: rasa_core/training/structures.py
Class Name: Story
Method Name: as_story_string