Repository navigation
Add zip-contents hint to the Add Dataset/Program upload form - #2566
Merged
Didayolo merged 1 commit intoOct 2, 2026
Conversation
Explains that the zip file must contain files directly at its root (not nested in a subfolder), and links to the Competition Bundle Structure docs for what each dataset/program type means. This helps organizers avoid a common mistake when uploading scoring programs, ingestion programs, and datasets.
pyxelr
force-pushed
the
feature/zip-content-hint-dataset-upload
branch
from
September 24, 2026 14:03
b2a99f1 to
61819ea
Compare
Didayolo
changed the base branch from
develop
to
zip-content-hint-dataset-upload
October 2, 2026 09:17
7 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A common organizer mistake is zipping a scoring program, ingestion program or dataset with the files nested inside a subfolder rather than at the zip root. Codabench does not accept that layout, and the upload gives no indication of why. Organizers usually only find out after the submission fails.
This adds an inline hint to the Add Dataset/Program modal stating the root-level requirement, naming the files a program bundle needs, and linking to the docs that explain what each data type is for.
What changed
One file, nine lines, static markup only:
src/static/riot/datasets/management.tag— a<p class="form-note">between the Type dropdown and the file input in thedataset_creation_modalform.The modal is shared by every entry in the Type dropdown (public data, input data, reference data, scoring program, ingestion program, …), so the hint is shown for all of them rather than only for programs.
Notes for review
.form-noteis not a new class. It is already used twice insrc/static/riot/datasets/create.tagand its style block is compiled into the sameriot.jsbundle, which Riot 3 injects globally — so the hint picks up the existing muted-italic treatment with no new CSS.{}, so there are no accidental Riot expressions.#data-types-and-their-roleanchor of the Competition Bundle Structure page, which is where the meaning of each type is described.Happy to reword the copy if you would prefer it shorter or placed elsewhere in the form.