b649cc365040d9cd63631c763d1c485dfe981399,experiments/working_npmle.py,,create_turnball_intervals,#,32

Before Change



        elif left__ < right_:
            left_ = left__
        elif right_ <= left__:
            yield interval(left_, right_)
            left_ = left__
            right_ = heappop(right)
            while right_ <= left_:
                right_ = heappop(right)
        else:
            print("why am I here")


def is_subset(query_interval, super_interval):
    return super_interval.left <= query_interval.left and query_interval.right <= super_interval.right

After Change



    

    left, right = list(set(left)), list(set(right))
    heapify(left)
    heapify(right)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: CamDavidsonPilon/lifelines
Commit Name: b649cc365040d9cd63631c763d1c485dfe981399
Time: 2020-05-11
Author: cam.davidson.pilon@gmail.com
File Name: experiments/working_npmle.py
Class Name:
Method Name: create_turnball_intervals


Project Name: Logan1x/Python-Scripts
Commit Name: 2ef5c047b4296a807eea8366f67d7f271f0d47de
Time: 2020-06-28
Author: 59202862+Monsieurvishal@users.noreply.github.com
File Name: bin/password-strength-checker.py
Class Name:
Method Name: pass1


Project Name: rasbt/mlxtend
Commit Name: c9e82bb1ab323d4a79793e47dbdd9204302e36af
Time: 2015-04-06
Author: se.raschka@me.com
File Name: mlxtend/file_io/find.py
Class Name:
Method Name: find_filegroups