-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark evaluations with (outdated) invalid algorithm as failed #3800
Comments
I think you mean evaluations and not submissions throughout? |
Hm, we're technically re-evaluating submissions here (because the evaluation container changed), which creates a new evaluation with the updated method, which then gets stuck in the executing algorithm state. Or am I wrong? I have updated the description to reflect that. |
And it's the submitted algorithm that is no longer a valid submission for the phase. |
Indeed, but a submission does not have a status, only evaluations do. |
True, which is why I suggested |
When re-evaluating submissions for a challenge phase, it is possible that a submission is no longer valid for the challenge. This can happen if the interface for the phase changed in the meantime (i.e. the algorithm inputs are different now). Re-evaluating such a submission will currently leave the linked evaluation stuck in
Executing algorithm
state, because:create_algorithm_jobs
wefilter_civs_for_algorithm
based on the inputs that are set on the algorithm. So even if new archive items are passed tocreate_algorithm_jobs
those get filtered out --> no new jobs to create -->set_evaluation_inputs
gets calledset_evaluation_inputs
does nothing if notself.inputs_complete
, where we check that there is exactly 1 successful job per valid archive itemThe newly created evaluation for such submission should be marked as Failed (or Cancelled?) with an appropriate error message (i.e. "Algorithm inputs don't match those defined for the phase"). We should check and catch that early, probably in
create_algorithm_jobs
.First discovered here: https://github.com/DIAGNijmegen/rse-grand-challenge-admin/issues/428#issuecomment-2615173942
The text was updated successfully, but these errors were encountered: