f23d4dcaad857e85261ecfea4ee3ca255b628515,app/grandchallenge/core/management/commands/export_results.py,Command,handle,#Command#,13
Before Change
short_name__iexact=options["challenge_short_name"][0]
)
results = Result.objects.filter(
job__method__challenge=challenge,
).select_related("job__submission", "job__method")
print("[")
for r in results:
After Change
)
jobs = (
Job.objects.filter(method__challenge=challenge,)
.select_related("submission", "method")
.prefetch_related("outputs")
)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 2
Instances
Project Name: comic/grand-challenge.org
Commit Name: f23d4dcaad857e85261ecfea4ee3ca255b628515
Time: 2020-07-06
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/grandchallenge/core/management/commands/export_results.py
Class Name: Command
Method Name: handle
Project Name: polyaxon/polyaxon
Commit Name: 28e1c03f49a3870b157cbfd43ac27df68c250111
Time: 2019-07-09
Author: mouradmourafiq@gmail.com
File Name: polyaxon/api/experiments/queries.py
Class Name:
Method Name:
Project Name: polyaxon/polyaxon
Commit Name: 28e1c03f49a3870b157cbfd43ac27df68c250111
Time: 2019-07-09
Author: mouradmourafiq@gmail.com
File Name: polyaxon/api/jobs/queries.py
Class Name:
Method Name:
Project Name: comic/grand-challenge.org
Commit Name: 8dbe566774c782faecdf1814bc9a71a0971d9897
Time: 2020-09-04
Author: 12661555+jmsmkn@users.noreply.github.com
File Name: app/grandchallenge/evaluation/views/__init__.py
Class Name: EvaluationList
Method Name: get_queryset