Closed scarroll32 closed 6 years ago
Seems to be working OK for me. Closed.
The issue still persists, I've just tried within the following challenge: https://www.crowdai.org/challenges/epfl-ml-road-segmentation.
Steps: 1) Submissions -> Create submission -> Upload file and confirm
2) Delete Submissions
3) Leaderboard
OK, I've found the root cause: this issue occurs when the last submission has been deleted, and then this code causes the process to exit.
When this line is removed, downstream code fails due to the inability to find a submission to calculate the window, and other downstream code will also fail.
It seems the best thing to do is to delete the leaderboard when the last submission has been deleted ... but I will need to think about this a bit.
Implemented. Thank you @bednarikjan for the detailed bug report. For the entries left in the existing leaderboards, a one-time cleanup will be to add a submission, then delete it.
That will clear the leaderboards without needing to access the back-end directly.
To be investigated