fec5b38cd84de7f0e12048f7cc5df605dd993af0,nilmtk/emeter.py,EMeter,__hash__,#EMeter#,117

Before Change


            return False

    def __hash__(self):
        return hash(((k,v) for k,v in self.id.iteritems()))

    def power_series(self, measurement_preferences=None, 
                     required_measurement=None,

After Change


            return False

    def __hash__(self):
        return hash((self.metadata.get(k) for k in EMeter.key_attrs))

    def power_series(self, measurement_preferences=None, 
                     required_measurement=None,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: nilmtk/nilmtk
Commit Name: fec5b38cd84de7f0e12048f7cc5df605dd993af0
Time: 2014-05-09
Author: jack-list@xlk.org.uk
File Name: nilmtk/emeter.py
Class Name: EMeter
Method Name: __hash__


Project Name: UFAL-DSG/tgen
Commit Name: 72d22e70b310098d8198a78a3c008ffde96bc28e
Time: 2014-10-30
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/eval.py
Class Name: Stats
Method Name: __str__


Project Name: jazzband/django-debug-toolbar
Commit Name: e403821323d529980407c05da77409c7e1c5c2a0
Time: 2008-09-08
Author: rob@cogit8.org
File Name: debug_toolbar/panels/headers.py
Class Name: HeaderDebugPanel
Method Name: content