[contestms] Re: Review of JOI Open Contest 2013

  • From: Luca Wehrstedt <luca.wehrstedt@xxxxxxxxx>
  • To: contestms@xxxxxxxxxxxxx
  • Date: Tue, 25 Jun 2013 11:30:12 +0200

In the private conversation the following emerged:

On Mon, Jun 24, 2013 at 5:38 PM, Masaki Hara <ackie.h.gmai@xxxxxxxxx> wrote:

> * I used login_providers, and everyone can login into the CMS during
> the contest, that is, new users were added during the contest. This
> may be related to the phenomenon.
>

I'm writing to the ML again as the following may be of public interest.

This was almost certainly the issue: contest, task and user data is sent to
RWS by SS at initialization, and never updated again. If a new user is then
created, RWS will reject any attempts of SS to push its submissions as it
doesn't understand which user to associate them to. There's no easy
solution at the moment (as login providers are not supported) because SS
doesn't provide a "send new user data" method. The login provider could
implement that method by itself (a lot of code, as you can see in the
source of SS, but I'm considering starting using requests which should make
it all easier) or it could use a command line utility that I'm currently
writing and planning to push. Restarting SS is still a solution, but I
suggest to use SS.reinitialize() instead (a bit less harsh...).

Luca

Other related posts: