2cb8599c0ea174253d05c390c1eb7e2eed1d88ec,app/grandchallenge/datasets/models.py,IndexMixin,index,#IndexMixin#,24

Before Change


    def index(self: Union["ImageSet", "AnnotationSet"]):
        images = self.images.all()
        common_prefix = commonprefix([i.name.lower() for i in images])
        return {i.sorter_key(start=len(common_prefix)): i for i in images}


class ImageSet(UUIDModel, IndexMixin):
    TRAINING = "TRN"

After Change


                for i in images
            }
        else:
            return {
                find_first_int(instr=i.name[len(common_prefix) :]): i
                for i in images
            }


class ImageSet(UUIDModel, IndexMixin):
    TRAINING = "TRN"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: comic/grand-challenge.org
Commit Name: 2cb8599c0ea174253d05c390c1eb7e2eed1d88ec
Time: 2018-09-02
Author: jamesmeakin@gmail.com
File Name: app/grandchallenge/datasets/models.py
Class Name: IndexMixin
Method Name: index


Project Name: miso-belica/sumy
Commit Name: e6f71428c8fb8c2725f6fc428a7230f39e7a53f2
Time: 2016-05-30
Author: cclauss@bluewin.ch
File Name: sumy/summarizers/edmundson_cue.py
Class Name: EdmundsonCueMethod
Method Name: rate_sentences


Project Name: scikit-learn-contrib/categorical-encoding
Commit Name: 429ddb8fb8cc6d1492c9d459cd2120b75352f125
Time: 2018-10-23
Author: jkleint
File Name: category_encoders/leave_one_out.py
Class Name: LeaveOneOutEncoder
Method Name: fit_leave_one_out


Project Name: has2k1/plotnine
Commit Name: 6bed5c19be10a34ecc64040f4a00bd336b3e20d0
Time: 2020-03-28
Author: akdor1154@gmail.com
File Name: plotnine/aes.py
Class Name:
Method Name: make_labels