Open wahyudierwin opened 1 month ago
Hi @wahyudierwin ,
I want a contest that freezes from the beginning of the contest, let's say the contest's duration is 1 hour.
Listing freezes hideListings
seconds before contest stops. Tip wrongly mentions "minutes", we'll fix that. Thank you.
Is your contest virtual?
Hi @josepaiva94 , thanks for the quick reply.
FYI, my contest is not virtual. By "freezes from the beginning" means if the contest's duration is 1 hour, then I want to set hideListings
to 3600. However, it does not work (I still can see the ranking and submission update from other users). This is the setting of the contest.
I installed Mooshak by using Docker and chose the starter version.
Hi @josepaiva94 , are you able to reproduce the contest and get the bug?
Hi @wahyudierwin ,
Yes, I will fix this as soon as possible.
Hi, @josepaiva94 .
I have a problem with hide listing. To begin with, I want a contest that freezes from the beginning of the contest, let's say the contest's duration is 1 hour. Hide Listing is supposed to be filled with minutes (according to the tooltip). However, based on the following line: https://github.com/mooshak-dcc/mooshak-2/blob/main/src/main/java/pt/up/fc/dcc/mooshak/content/types/Contest.java#L990, the field must be filled with "seconds" instead of "minutes". After I filled the field with 3600 (60 minutes = 3600 seconds), the freeze is still not working. I don't have any problem with the logic implemented here: https://github.com/mooshak-dcc/mooshak-2/blob/main/src/main/java/pt/up/fc/dcc/mooshak/content/types/Contest.java#L1412, but I don't get why it is not working as expected.
Any help would be much appreciated.
Regards, Erwin