DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
720 stars 254 forks source link

Consider using desktop notification or rich notifications in chrome / firefox? #133

Closed 51isoft closed 10 years ago

51isoft commented 10 years ago

First, thank you guys for making this system, we used this in Beijing Invitational Contest 2014 (url: http://acm.bnu.edu.cn/icpc/?page_id=115 ) and we plan to use it again in Beijing Regional 2014. Although it's the first time usage in Asia contests, we heard many positive reports from the attendees.

We gathered some suggestions from the contestants, seems the only concern they had is the result notification and clarify notifications.

You see, in PC^2, we jury wants to send out some notice to contestants, they can get a popup window immediately. But it seems we cannot do that unless we use other broadcast methods like microphones. Desktop notifications might be handy for that situations, but I'm not sure whether we can implement something like that on Linux.

Another thing is, when using "need verify" for submits, jury cannot change a certain the result when verify it. Is this by design?

Thank you!

eldering commented 10 years ago

Hello Yi Chao, thanks for letting us know you used DOMjudge and for the feedback, this is much appreciated.

Regarding the desktop notice: I think we briefly thought about it, but didn't have any way of achieving this in a not too intrusive way at the time. Now, it seems that there is a standard supported by Chrome, Safari and Firefox at least:

https://developer.mozilla.org/en-US/docs/Web/API/notification

I think we should have a look if this is usable.

Regarding the verification: indeed, by design we do not allow changing the outcome of a judging even is "verification required" is set. Our philosophy is that any reason to want to change it, has a deeper cause that we think should be resolved and then the submission rejudged. Supporting manual outcome overrides may lead to arbitrariness in judging on when the override is used.

For example, an erroneous testcase should be fixed, and then the submission rejudged. Also, there is the option to completely ignore the submission, for example when a team submits something that compiled for them, but not on the jury machines. (Of course the team should be notified of this.)

51isoft commented 10 years ago

Look forward to the desktop notification!

For the verification, there once been a rare case that, a contestant was mix using cout and printf, and the output was out of order. Jury then gave them PE instead of WA to inform them. So I thought that might be useful. But I'm fine without it :)

Thank you!

thijskh commented 10 years ago

This is now in master. Thanks again for the suggestion.