Cloud-CV / EvalAI

:cloud: :rocket: :bar_chart: :chart_with_upwards_trend: Evaluating state of the art in AI
https://eval.ai
Other
1.77k stars 787 forks source link

[Enhancement]: Accepting files of incorrect formats instead of rejecting them #4414

Open Harshit28j opened 2 months ago

Harshit28j commented 2 months ago

Description:

Currently, when submitting to EvalAI, the system is accepting files of incorrect formats instead of rejecting them. This can cause issues with the evaluation process

image

Steps to reproduce:

Go to the submission page for a challenge on EvalAI Attempt to submit a file of a format that is not accepted by the challenge (e.g. an image file for a challenge that requires a CSV file) Observe that the system accepts the file and allows the submission to proceed

Expected behavior:

The system should reject files of incorrect formats and display an error message to the user, indicating that the file format is not accepted.

Stazz0 commented 2 months ago

Hello, @Harshit28j To address the issue of accepting incorrect file formats, I suggest implementing a file validation mechanism on either server-side or client-side so that only the correct file format is submitted.