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

Before Change


        ),
    )

    challenge.evaluation_ranking.save()

After Change


                challenge.evaluation_config.score_jsonpath]
        except KeyError:
            rank = 0
        Result.objects.filter(pk=res.pk).update(rank=rank)

    return ranks
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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: AlexsLemonade/refinebio
Commit Name: 98041421256c3efefbe169284308e70f69dcbdb4
Time: 2019-09-30
Author: arielsvn@gmail.com
File Name: foreman/data_refinery_foreman/foreman/management/commands/check_computed_files.py
Class Name: Command
Method Name: handle


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