4e9b9bc043990db1a48b42011b7c9ba23fb3adee,nilmtk/metergroup.py,MeterGroup,from_list,#MeterGroup#,356

Before Change


        -------
        MeterGroup
        
        assert isinstance(meter_ids, (tuple, list))
        meter_ids = list(set(meter_ids))  // make unique
        meters = []
        for meter_id in meter_ids:
            if isinstance(meter_id, ElecMeterID):

After Change


        -------
        MeterGroup
        
        meter_ids = list(meter_ids)
        meter_ids = list(set(meter_ids))  // make unique
        meters = []
        for meter_id in meter_ids:
            if isinstance(meter_id, ElecMeterID):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: nilmtk/nilmtk
Commit Name: 4e9b9bc043990db1a48b42011b7c9ba23fb3adee
Time: 2014-12-12
Author: jack-list@xlk.org.uk
File Name: nilmtk/metergroup.py
Class Name: MeterGroup
Method Name: from_list


Project Name: DistrictDataLabs/yellowbrick
Commit Name: dfd377ee6413c816c74ed1c88fe0fcd3e53a6d8b
Time: 2018-03-10
Author: benjamin@bengfort.com
File Name: tests/test_style/test_colors.py
Class Name: TestGetColorCycle
Method Name: test_mpl_ge_150


Project Name: taehoonlee/tensornets
Commit Name: aaa61015afe89739663529916f42ac11cc77057a
Time: 2018-05-03
Author: me@taehoonlee.com
File Name: tests/basics_test.py
Class Name:
Method Name: test_detection_basics


Project Name: tensorflow/models
Commit Name: 8da4857396fcedb1abd19a08cd4de40d16c7bc50
Time: 2020-08-17
Author: 30733558+plakal@users.noreply.github.com
File Name: research/audioset/yamnet/yamnet_test.py
Class Name: YAMNetTest
Method Name: clip_test


Project Name: dit/dit
Commit Name: 9c4c33461ddb2d621c2b393a779aa67fea3bef84
Time: 2013-10-18
Author: ryangregoryjames@gmail.com
File Name: dit/utils/tests/test_misc.py
Class Name:
Method Name: test_flatten1