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
Hi,
I am trying to create a challenge with a dev and a test phase, and they are automatically created to start/end at 02:00 CEST. This generates a conflict in case I set dev and test phases to start at the same day but at different intervals (i.e., Phase "Test" must start after phase "Development" ends). If I set them two start at two different days, both will start/end at 02:00 CEST, and I may lose some hours. Is there any way to edit the start/end time of a challenge on Codabench?
Best
TODO
Allow phase 1 end and phase 2 start dates to be same (actually it's possible already)
Phase start/end time: Adding the possibility to choose an exact time, instead of just a date. That can be useful to have strict deadline, such as midnight anywhere on earth, etc.
Solved by: phase start time and end time added #1616
Sorry for the confusion and for not being clear. I wanted to say when dev phase ends and test phase starts.
For example, if I set dev phase to end at day 16, and test phase to start at day 16, I will get an error: <Phase "Test" must start after phase "Development" ends>, as I cannot set the time they end/start, and apparently they end/start at the same time.
On the other hand, if I set dev phase to end at day 16, and the test phase to start at day 17, the dev phase will close at 02:00 CET of day 16, and the test phase will start at 02:00 of day 17 (and if I am not wrong, participants will lose 24h). That is, it seems all phases start/end at a fixed time (02:00 CET).
Indeed I have observed this behavior in the past. Sometimes, even just editing something in the phase without changing the dates, this Phase "X" must start after phase "Y" ends message shows up.
If you select the same date (e.g. Septeber 13 2023) as the end data of Phase 1 and start date of Phase 2, you will get this error: Phase 2 must start after Phase 1 ends
I see your point ihsaan-ullah, but this generates another problem. For instance, if phase 1 ends on Sep 13 and phase 2 starts on Sep 14, both will end (phase 1) and start (phase 2) at 02:00 CET, according to my tests. That is, the start/end time are predefined. This means that from Sep 13 02:00 to Sep 14 02:00 the competition will be locked. Apart from this, if I want to end the challenge on the last hour of day 15, lets say, I will need to set up it to end on 02:00 CET of day 16, as one cannot control the start/end time.
I see your point ihsaan-ullah, but this generates another problem. For instance, if phase 1 ends on Sep 13 and phase 2 starts on Sep 14, both will end (phase 1) and start (phase 2) at 02:00 CET, according to my tests. That is, the start/end time are predefined. This means that from Sep 13 02:00 to Sep 14 02:00 the competition will be locked. Apart from this, if I want to end the challenge on the last hour of day 15, lets say, I will need to set up it to end on 02:00 CET of day 16, as one cannot control the start/end time.
If you select the same date (e.g. Septeber 13 2023) as the end data of Phase 1 and start date of Phase 2, you will get this error: Phase 2 must start after Phase 1 ends
Maybe this simply should not return an error. Because, at the upload, it does not generate an error. So, if you just edit the date but let the same date ("16 october 2023" --> "16 october 2023"), then the bug appears, even if the competition was already saved with this setting.
Therefore we have two points:
Allowing to set the same "phase 1 end date" as "phase 2 start date". Of course, if the date or time or "phase 2 start date" is strictly prior the the "phase 1 end date", it should returns the error.
Adding the possibility to choose an exact time, instead of just a date. That can be useful to have strict deadline, such as midnight anywhere on earth, etc.
If you select the same date (e.g. Septeber 13 2023) as the end data of Phase 1 and start date of Phase 2, you will get this error: Phase 2 must start after Phase 1 ends
Maybe this simply should not return an error. Because, at the upload, it does not generate an error. So, if you just edit the date but let the same date ("16 october 2023" --> "16 october 2023"), then the bug appears, even if the competition was already saved with this setting.
I think it should return error even during the upload. I will check it.
What we expect is the following:
phase 2 should start after phase 1
same dates phase 1 end and phase 2 start are not acceptable
phase should end at 23:59 and the next should start at 00:00
I think it should return error even during the upload.
Why? I think when the end dates are not defined in the competition.yaml, they are automatically set to the start date of the next phase. I don't see why we would not allow end and start dates to be the same, it is what is the most commonly wanted as competition organizer. This way, the next phase starts exactly when the previous ends.
Becasuse right now we don't have time, just dates. phase 2 start should be after phase 1 end
Ithink when the end dates are not defined in the competition.yaml, they are automatically set to the start date of the next phase.
No, it is set to start date -1
I don't see why we would not allow end and start dates to be the same, it is what is the most commonly wanted as competition organizer. This way, the next phase starts exactly when the previous ends.
This is actually the bug. If let say phase 1 ends on September 14 and phase 2 starts on september 15 then end time should be September 14 23:59 and start date should be September 15 00:00
But then you'll have a problem of backward compatibility because it was allowed on CodaLab. I don't see the problem in accepting dates that are greater or equal, instead of strictly greater.
Do you mind letting me know when you have a solution for this so that I can edit our two challenges and have the end of dev phases and the start of test phases fixed (as well as the end of the challenge, which is also set to end at 02:00 CET)? Thanks
As you can see in my message above, you can actually set the same time for phase 1 ending and phase 2 starting. You simply need to set it manually for both phases before saving.
I understood I could edit and save the challenge, eventualy get the error, click on edit and try again and have the problem "solved". If this works, ok, but it would be nice if you could solve this bug so that other organizers don't have the same problem. About the timing, it would be amazing if organizers could have more freedom to setup the start/end time of each phase, as one have in Codalab, instead of having it fixed to start/end at 02:00 CET. Thanks
When Phase 1 end and Phase 2 start dates are same:
When Phase 1 has no end date
V1 bundle
We actually don't have phase end dates so when you upload a bundle with 2 phases so
Phase 1 end date is set to Phase 2 start date -1
Editor
Phase 1
I am able to set Phase 1 end date as Phase 2 start date
Phase 2
When I set Phase 2 start date to same as phase 1 end date. I see this which is the problem
You said this:
The problem is within the interface. When the error messages shows, you can go inside the settings of the phases, click again to set the same date (so you click again but do not change anything) and the problem is solved. I don't know how to solve this exactly.
The message will disappear if you click end date of Phase 1 and do not change anything but will not disappear when you click phase 2 start date
Edit:
the real problem is that when you change the start date of phase 2 you get this date : February 15, 2020. If you do not change the end date of Phase 1 you have 2020-02-15T00:00:00Z so the unchanged start date of phase 1 is greater then February 15, 2020. The trick to make the error disappear is to change the end date of phase 1 too so then you have same dates i.e. February 15, 2020 and hence no error.
Activity
Didayolo commentedon Sep 12, 2023
Do you mean that both phases start at the same date, or dev phase end and test phase start at this date?
juliojj commentedon Sep 12, 2023
Sorry for the confusion and for not being clear. I wanted to say when dev phase ends and test phase starts.
For example, if I set dev phase to end at day 16, and test phase to start at day 16, I will get an error: <Phase "Test" must start after phase "Development" ends>, as I cannot set the time they end/start, and apparently they end/start at the same time.
On the other hand, if I set dev phase to end at day 16, and the test phase to start at day 17, the dev phase will close at 02:00 CET of day 16, and the test phase will start at 02:00 of day 17 (and if I am not wrong, participants will lose 24h). That is, it seems all phases start/end at a fixed time (02:00 CET).
Sorry if I made any mistake.
Didayolo commentedon Sep 12, 2023
Indeed I have observed this behavior in the past. Sometimes, even just editing something in the phase without changing the dates, this
Phase "X" must start after phase "Y" endsmessage shows up.We tried to fix it in the past:
And since then I am not able to reproduce the problem.
Can you share a competition URL and a precise procedure (put a certain date to a certain phase) that triggers the bug? Thanks.
juliojj commentedon Sep 13, 2023
First, I uploaded a bundle of the challenge, for each track (https://www.codabench.org/competitions/1287, and this one https://www.codabench.org/competitions/1290/). Then, I tried to edit the start/end days of dev/test phases. I got the error ("X" must start after phase "Y") when setting the test phase to start the same day as the end of the dev phase. For some reason, I am not getting the error after your last message. Have you fixed anything? In any case, I was wondering whether it is possible to edit the start/end time for each phase, as it seems to be set to 02:00 CET as default.
Thanks
Didayolo commentedon Sep 13, 2023
I did not change anything. But I have also seen this bug sometimes I think, even if I am not able to reproduce it. Let's keep an eye on it.
Right now you can't select a precise time, only the date. That is an interesting feature suggestion.
ihsaan-ullah commentedon Sep 13, 2023
If you select the same date (e.g. Septeber 13 2023) as the end data of
Phase 1and start date ofPhase 2, you will get this error:Phase 2 must start after Phase 1 endsjuliojj commentedon Sep 13, 2023
I see your point ihsaan-ullah, but this generates another problem. For instance, if phase 1 ends on Sep 13 and phase 2 starts on Sep 14, both will end (phase 1) and start (phase 2) at 02:00 CET, according to my tests. That is, the start/end time are predefined. This means that from Sep 13 02:00 to Sep 14 02:00 the competition will be locked. Apart from this, if I want to end the challenge on the last hour of day 15, lets say, I will need to set up it to end on 02:00 CET of day 16, as one cannot control the start/end time.
ihsaan-ullah commentedon Sep 13, 2023
Now this seems like a bug. We will look into it.
Didayolo commentedon Sep 13, 2023
Maybe this simply should not return an error. Because, at the upload, it does not generate an error. So, if you just edit the date but let the same date ("16 october 2023" --> "16 october 2023"), then the bug appears, even if the competition was already saved with this setting.
Therefore we have two points:
ihsaan-ullah commentedon Sep 13, 2023
I think it should return error even during the upload. I will check it.
What we expect is the following:
Didayolo commentedon Sep 14, 2023
Why? I think when the end dates are not defined in the
competition.yaml, they are automatically set to the start date of the next phase. I don't see why we would not allow end and start dates to be the same, it is what is the most commonly wanted as competition organizer. This way, the next phase starts exactly when the previous ends.ihsaan-ullah commentedon Sep 14, 2023
Becasuse right now we don't have time, just dates. phase 2 start should be after phase 1 end
No, it is set to start date -1
This is actually the bug. If let say phase 1 ends on September 14 and phase 2 starts on september 15 then end time should be September 14 23:59 and start date should be September 15 00:00
Didayolo commentedon Sep 14, 2023
But then you'll have a problem of backward compatibility because it was allowed on CodaLab. I don't see the problem in accepting dates that are greater or equal, instead of strictly greater.
3 remaining items
Didayolo commentedon Sep 18, 2023
As you can see in my message above, you can actually set the same time for phase 1 ending and phase 2 starting. You simply need to set it manually for both phases before saving.
ihsaan-ullah commentedon Sep 18, 2023
@Didayolo if you select the same date for both phases, are you able to submit to both at the same time?
Didayolo commentedon Sep 18, 2023
@ihsaan-ullah I just tried and it worked as excepted:
I think it just switch at midnight (server time)
ihsaan-ullah commentedon Sep 18, 2023
This is great. I think the problem is only with UI. What about the problem of phase ending at 2 PM or something.
Didayolo commentedon Sep 18, 2023
I added another TODO in the main comment about that
juliojj commentedon Sep 18, 2023
I understood I could edit and save the challenge, eventualy get the error, click on edit and try again and have the problem "solved". If this works, ok, but it would be nice if you could solve this bug so that other organizers don't have the same problem. About the timing, it would be amazing if organizers could have more freedom to setup the start/end time of each phase, as one have in Codalab, instead of having it fixed to start/end at 02:00 CET. Thanks
ihsaan-ullah commentedon Sep 18, 2023
@Didayolo
To verify if everything else is ok
Bundle upload
V2 bundleWhen Phase 1 end and Phase 2 start dates are same:

When Phase 1 has no end date

V1 bundleWe actually don't have phase end dates so when you upload a bundle with 2 phases so


Phase 1 end date is set to Phase 2 start date -1
Editor
Phase 1I am able to set Phase 1 end date as Phase 2 start date
Phase 2When I set Phase 2 start date to same as phase 1 end date. I see this which is the problem

You said this:
The message will disappear if you click end date of Phase 1 and do not change anything but will not disappear when you click phase 2 start date
Edit:
the real problem is that when you change the start date of phase 2 you get this date :
February 15, 2020. If you do not change the end date of Phase 1 you have2020-02-15T00:00:00Zso the unchanged start date of phase 1 is greater thenFebruary 15, 2020. The trick to make the error disappear is to change the end date of phase 1 too so then you have same dates i.e.February 15, 2020and hence no error.Didayolo commentedon Sep 19, 2023
@juliojj
Ihsan fixed the problem, and the fix is now merged into develop. It will soon be deployed in the main platform (~ in 1 or 2 weeks).
The next TODO, indeed, is being able to set a precise time. We can keep the 2am by default and add an option to specify another time.
nicomy commentedon Jul 16, 2024
Hello,
It seems that we can already set a precise time using a yaml bundle V2. Nonetheless, I am unable to change the Timezone.
Both syntax works :

They are, however, in the UTC time zone.
Maybe you already knew, however the Wiki should be updated and this thread closed ?
Or am I missing something :)
Didayolo commentedon Jul 16, 2024
So we have it using YAML but not the editor.