7670799bd45cb91f9f0c6b4143d15837b4f93669,app/tests/evaluation_tests/test_utils.py,,test_results_display,#,129

Before Change


    ]

    for e, r in zip(queryset, results):
        e.create_result(result=r[metrics])

    phase.score_jsonpath = "a"
    phase.result_display_choice = Phase.ALL
    phase.save()

After Change


    ]

    for e, r in zip(queryset, results):
        e.outputs.add(
            ComponentInterfaceValue.objects.create(
                interface=ComponentInterface.objects.get(
                    slug="metrics-json-file"
                ),
                value=r[metrics],
            )
        )

    phase.score_jsonpath = "a"
    phase.result_display_choice = Phase.ALL
    phase.save()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 9

Instances


Project Name: comic/grand-challenge.org
Commit Name: 7670799bd45cb91f9f0c6b4143d15837b4f93669
Time: 2021-01-19
Author: 51329283+miriam-groeneveld@users.noreply.github.com
File Name: app/tests/evaluation_tests/test_utils.py
Class Name:
Method Name: test_results_display


Project Name: comic/grand-challenge.org
Commit Name: 7670799bd45cb91f9f0c6b4143d15837b4f93669
Time: 2021-01-19
Author: 51329283+miriam-groeneveld@users.noreply.github.com
File Name: app/tests/evaluation_tests/test_utils.py
Class Name:
Method Name: test_calculate_ranks


Project Name: comic/grand-challenge.org
Commit Name: 7670799bd45cb91f9f0c6b4143d15837b4f93669
Time: 2021-01-19
Author: 51329283+miriam-groeneveld@users.noreply.github.com
File Name: app/tests/evaluation_tests/test_config.py
Class Name:
Method Name: test_setting_display_all_metrics


Project Name: comic/grand-challenge.org
Commit Name: 7670799bd45cb91f9f0c6b4143d15837b4f93669
Time: 2021-01-19
Author: 51329283+miriam-groeneveld@users.noreply.github.com
File Name: app/tests/evaluation_tests/test_utils.py
Class Name:
Method Name: test_null_results