8f99d532baf09b23d74843575bb3235e15456dc1,app/evaluation/tasks.py,,calculate_ranks,#,103

Before Change


        ),
    )

    challenge.evaluation_ranking.save()

After Change



    for res in Result.objects.filter(Q(challenge__pk=challenge_pk)):
        try:
            rank = ranks[str(res.pk)][
                challenge.evaluation_config.score_jsonpath]
        except KeyError:
            rank = 0
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: comic/grand-challenge.org
Commit Name: 8f99d532baf09b23d74843575bb3235e15456dc1
Time: 2018-02-16
Author: jamesmeakin@gmail.com
File Name: app/evaluation/tasks.py
Class Name:
Method Name: calculate_ranks


Project Name: comic/grand-challenge.org
Commit Name: 6ac71c8dea5f7bb18e6f5ca040ad9313427b2d9b
Time: 2020-01-28
Author: 57257130+MikeOverkamp-diag@users.noreply.github.com
File Name: app/grandchallenge/reader_studies/signals.py
Class Name:
Method Name: assign_score


Project Name: samuelclay/NewsBlur
Commit Name: b2e52858eaa04dda7a13803aeff84e2897c2c453
Time: 2013-03-19
Author: samuel@ofbrooklyn.com
File Name: apps/social/views.py
Class Name:
Method Name: mark_story_as_shared


Project Name: comic/grand-challenge.org
Commit Name: 22c3895c7ede3cbeaee16c15e2ee430c2c6ede42
Time: 2018-08-15
Author: jamesmeakin@gmail.com
File Name: app/grandchallenge/cases/signals.py
Class Name:
Method Name: queue_build_image_job