You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hide data to participants until thy reach the phase for which the data is relevant #1207
Is there a way to set data sets that can be visible only in specific phases only?
For example, let's say that there are 2 phases, development and final testing. There are 2 data sets, one for development (it could be a gdrive link) and one for final (again, it could be a gdrive link).
If the participants are in development phase, they should be able to have access to the training and validation data (the development data), but not to the testing phase data. If the timeline reaches the final testing phase, the participants should only then be able to see the testing phase data.
If the participants are not yet approved to the competition, they shouldn't have access to any of this information.
If the current status of the competition is outside of the phases, the participants should have access to neither the development data set or the final testing data (consider that the development phase starts on a later date).
I couldn't find a way to set this when creating a competition. Am I missing something?
You can upload 1 dataset called Public Data per phase. To do that, go to your competition -> Edit -> Phases -> Edit Phase, select a public data you have already uploaded
This dataset will not hide automatically when the phase ends but you can remove it any time you want.
Participants will see this dataset in the files tab of your competition
Additionally, if you want to add some links to datasets which are outside codabench, you can use the competition pages e.g. Edit competition -> Pages -> Create a new page Data and put any info or links for the participants there
You can upload 1 dataset called Public Data per phase. To do that, go to your competition -> Edit -> Phases -> Edit Phase, select a public data you have already uploaded
This dataset will not hide automatically when the phase ends but you can remove it any time you want.
Participants will see this dataset in the files tab of your competition
Additionally, if you want to add some links to datasets which are outside codabench, you can use the competition pages e.g. Edit competition -> Pages -> Create a new page Data and put any info or links for the participants there
That's not exactly what I want to achieve, or maybe, there is a bug. If I set a public data for the final phase, the participants can download the data while they are in the development phase, which is not what you want. The data set needs to stay secret/hidden until the timeline gets to the final phase.
As you can see in the picture, the user can see the final phase public data while the timeline is still in development.
So, my main concern here is to prevent the participants from seeing the testing database beforehand. If the database stays visible after the phase ends, that's not an issue. The problem arises when the participants can see 'into the future'.
an easier solution for your requirement is that you just upload 1 public data for phase 1 and link it to the phase. When your second phase starts, upload the 2nd public data and link it to its phase and remove the old public data so that it is not accessible anymore.
I see. I thought that by linking data to a specific phase, it will be visible just for that phase. I will try your suggestion but It would be great if the Codabench Team would consider the option to have data hidden until the timeline gets to the phase where the data should be visible (the phase to which the data is linked). Otherwise, the organizers would have to manually do this for each task they organize.
Indeed, that is a great suggestion. Thank you for proposing it.
By the way, Codabench is a community open-source project, you are welcome to propose pull requests if you want to speed up the development process (see contributing.md).
Activity
ihsaan-ullah commentedon Nov 1, 2023
You can upload 1 dataset called

Public Dataper phase. To do that, go to your competition -> Edit -> Phases -> Edit Phase, select a public data you have already uploadedYou can upload a public data using the Resource section. https://www.codabench.org/tasks/ -> Select Datasets and programs tab -> Add dataset and program -> Enter name, description, select type=Public Data and upload your dataset zip.
This dataset will not hide automatically when the phase ends but you can remove it any time you want.
Participants will see this dataset in the files tab of your competition
Additionally, if you want to add some links to datasets which are outside codabench, you can use the competition pages e.g. Edit competition -> Pages -> Create a new page
Dataand put any info or links for the participants thereliviust commentedon Nov 1, 2023
@ihsaan-ullah
That's not exactly what I want to achieve, or maybe, there is a bug. If I set a public data for the final phase, the participants can download the data while they are in the development phase, which is not what you want. The data set needs to stay secret/hidden until the timeline gets to the final phase.
As you can see in the picture, the user can see the final phase public data while the timeline is still in development.

liviust commentedon Nov 1, 2023
@ihsaan-ullah
So, my main concern here is to prevent the participants from seeing the testing database beforehand. If the database stays visible after the phase ends, that's not an issue. The problem arises when the participants can see 'into the future'.
ihsaan-ullah commentedon Nov 1, 2023
an easier solution for your requirement is that you just upload 1 public data for phase 1 and link it to the phase. When your second phase starts, upload the 2nd public data and link it to its phase and remove the old public data so that it is not accessible anymore.
liviust commentedon Nov 1, 2023
@ihsaan-ullah
I see. I thought that by linking data to a specific phase, it will be visible just for that phase. I will try your suggestion but It would be great if the Codabench Team would consider the option to have data hidden until the timeline gets to the phase where the data should be visible (the phase to which the data is linked). Otherwise, the organizers would have to manually do this for each task they organize.
Didayolo commentedon Nov 2, 2023
Indeed, that is a great suggestion. Thank you for proposing it.
By the way, Codabench is a community open-source project, you are welcome to propose pull requests if you want to speed up the development process (see contributing.md).
ihsaan-ullah commentedon Feb 17, 2024
shifted to discussion #1334