Task-Specific Submission ReRun API
Feature add: Rerun a submission with a private task. This will allow clinicians to use the Codabench API to run performant submissions on data of their own without exposing their data to the public.
@ mention of reviewers`
@ckcollab
@Logan-Ruf`
A checklist for hand testing
-
Create a task which is not attached to a competition -
Make a POST
request to/api/submissions/<int:submission_pk>/re_run_submission/?task_key=<uuid:task_key>&private=true
-
Verify submission output is not visible on original competition by users other than the one who initiated the rerun. -
Verify submission output is correct for new private task
TODO:
-
Change re_run_submission
action to accept aPOST
only rather thanGET
-
Make sure nobody can view submission output but the requestor that reran the submission with the private dataset (write test)
Checklist
-
Code review by me -
Hand tested by me -
I'm proud of my work -
Code review by reviewer -
Hand tested by reviewer -
Ready to merge