Repository navigation
Submissions - add organizer Resubmit to run a submission on the current phase tasks - #2644
Merged
Didayolo merged 1 commit intoOct 20, 2026
Conversation
…nt phase tasks Re-run keeps the task the submission originally ran on, so after an organizer replaces a task of an active phase the re-run scores still show as n/a. Resubmit creates a fresh submission with the same upload and runs it on the current phase tasks, as if the participant submitted it again. Resolves codalab#2636
Member
|
Hi @bruAristimunha, I made a PR to change the behavior of the re-run so it runs the current task: But indeed, that could be two separate actions. We'll investigate this question. |
10 tasks
This was referenced Oct 9, 2026
4 of 6 tasks
This was referenced Oct 20, 2026
10 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Re-run keeps the task the submission originally ran on. After an organizer replaces a task of an active phase, a re-run therefore still scores on the old task and the leaderboard shows
n/a. #2624 changed re-run itself to use the current task, which alters re-run semantics; this PR adds a separate Resubmit instead and leaves re-run untouched.Submission.resubmit(): new submission with the same upload, owner, participant, fact sheet answers, organization and selected groups, run through the existingrun()on the current phase tasks (children are created as for a normal submission)POST /api/submissions/{id}/resubmit_submission/andresubmit_many_submissions/, with the same organizer / finished-status checks as re-runresubmit()runs on the new task whilere_run()still runs on the original onePairs with #2642, which flags the submissions that need resubmitting.
Issues this PR resolves
A checklist for hand testing
tests/test_files/competitions/competition_v2_wheat_results.zip, submittests/test_files/submissions/submission_v2_wheat_results.zipChecklist