-
Notifications
You must be signed in to change notification settings - Fork 31
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
Submissions with exit code != 0 are marked as completed instead of failed #1641
Comments
Hi @ndido98, how does your scoring program handle the formatting error? To trigger the submission failure, the scoring program should raise an error. |
Hi @Didayolo, currently the scoring program just raises an exception, and as a consequence it returns an exit code of 1. The scores.txt file is created but it's empty. |
Indeed, I am able to see the scoring error logs. I'm surprised the submissions are marked as finished. I'm actually not sure what triggers the "Failed" status. Maybe it is because the |
From what I gathered by taking a look at the source code I found that the exit code of the scoring program is never checked: codabench/compute_worker/compute_worker.py Lines 878 to 881 in 7cf7a6e
Probably a submission should be marked as failed if either ingestion (if present) or scoring programs have a non-zero exit code. codabench/compute_worker/compute_worker.py Line 903 in 7cf7a6e
Not outputting a |
Interesting, that may explain the "Submission stuck in Scoring status" when compute worker crashes problem, reported in #1205. |
I am hosting a private competition on Codabench (https://www.codabench.org/competitions/4188/) and we are running into an issue when the participants’ submissions fail the scoring step.
In particular, when the scoring program fails (mostly because due to an error from the participant in formatting the submission package), the submission should be marked as failed and not count towards the submission limit per day/person. However, it looks like the exit code of the scoring program is not checked and all submissions are marked as finished instead.
The text was updated successfully, but these errors were encountered: