Done!

Just finished the tool like ten minutes ago. Basically I did a library
in python and then built scripts over it, one to config the contest
(this one initializes problem ids and names in a config file), another
to download the inputs and another to submit the outputs. Also, it
supports sending multiple sources (the library, my scripts do not
support that because I think I won't need it), and it logs itself
using google's ClientLogin, so it doesn't depend on the browser.

I've tested it in the contest you created and in the practice rooms.
It works there, looks like the server ignores the sources in practice
mode, instead of failing because I passed them. However, I have some
question about a detail I'm not sure about, before making it public:

There is a value, that is specified during downloads and submits,
called 'csrfmiddlewaretoken'. I don't know what that is, and in the
test contest it is not necessary (I just omitted it and it worked
fine). However, in the practice rooms I need it, so my first idea was
to fix them in the code (I got them using wireshark) and test. Then, I
realized that the same tokens worked for many contests in
code.google.com (I didn't test them all), but I still would like to
know if there is a way to get them.

Thanks for the opportunity to develop this tool, I learned some python
and HTTP today =).


On Jun 2, 2:28 am, Bartholomew Furrow <[email protected]> wrote:
> http://codejam-devel.appspot.com/codejam
>
> The contest is live for 6 days.  Ping me if you need it re-created.  It
> looks a lot like the live site, but it's flawed in a couple of ways:
>
> - The scoreboard won't populate properly.
> - It's got pretty limited quota, so don't hammer it -- you're sharing it
> with everyone else who's trying to develop something.
>
> I can fix both of these given an hour or so, but I'm going on vacation
> tomorrow and I have to pack.  Hopefully this will be enough to let you
> figure out what you need to figure out.
>
> Cheers,
> Bartholomew

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to