[Proposition] Results only competitions (with copy to predictions dir)#1879
[Proposition] Results only competitions (with copy to predictions dir)#1879ihsaan-ullah wants to merge 2 commits intodevelopfrom
Conversation
|
Closing this for now. I haven't tested this. I will reopen or create a new one after the tests |
|
Related to #1874 |
…ses and other phases. Submissions submitted to result only phases are considered result submissiona and their content is copied to predictions output for scoring, for other the submisison content is not copied to save space. Some cleanup and comments are added. Functionality added to set result only submissions to true/false from the interface
|
@Didayolo This is ready for testing |
|
So for a competition like Iris that accepts both results and code submissions, won't results submissions fail? |
|
Yes I think result submission will fail. BUT if you want both result and code submission to work, you have to set Maybe we want to change the name of |
|
Post-it: think and discuss about the design. Should we simply allow the scoring program to access the submission? Then we do not need to copy files, nor to have these flags like "result only competition". |
|
I am not sure that we want this architectural change. It adds up new options that does not really improve the platform. About the duplication of submission files, we proposed another solution here: #1874 What do you think @ihsaan-ullah ? Should we close this PR? |
|
I am closing this PR because this is not a solution we want. Check the proposed solution in 1874 |
@Didayolo
Description
Now we have two types of phases:
Users can choose this option from yaml and from the interface

YAML documentation is updated here.
Now the submission content is copied to predictions output only when the phase to which the submission is submitted has
accepts_only_result_submissionsset to True.I have added some comments to the compute worker code for clarification.
Issues this PR resolves
A checklist for hand testing
accepts_only_result_submissionsis true and that submissions are executed as expected.Checklist