Skip to content

bug fix: preventing updating submission status with a non-integer value#59

Open
yutanakamura-tky wants to merge 1 commit into
huggingface:mainfrom
yutanakamura-tky:dev
Open

bug fix: preventing updating submission status with a non-integer value#59
yutanakamura-tky wants to merge 1 commit into
huggingface:mainfrom
yutanakamura-tky:dev

Conversation

@yutanakamura-tky
Copy link
Copy Markdown
Contributor

The status field in submission_info is supposed to be an integer defined by the SubmissionStatus class, but there was one place in the script where the status was still being overwritten with the string "done". This occasionally caused an error where the leaderboard would not display correctly.
Therefore, this pull request fixes the issue by replacing the string assignment with SubmissionStatus.SUCCESS.value, thus preventing the bug where status could become a non-integer value.

@yutanakamura-tky yutanakamura-tky changed the title bug fix: update submission status with integer bug fix: preventing updating submission status with a non-integer value Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant