Offline Programming Judge in python

arjoonn sharma (~theSage21)


19

Votes

Description:

Holding programming contests which attract large participation quickly overloads any human mechanism of checking code. These competitions are good and in fact an absolute necessity for programmers to gain experience in my opinion. Internet based competitions are the best example. They use software written to be a good judge(eg. SPOJ) and are very popular.

During this talk I will discuss the creation of a local Judge (as opposed to an Internet based one) and my experiences with the evolution of the judge I wrote for my college. The challenges I faced and the things I had to learn along the way.

We will be writing and discussing:-

  1. Check scripts using python3.4 and some bash
  2. Participation interfaces using Django 1.7
  3. One slave - One master architecture to conduct checking
  4. Multiple slave - One Master architecture to conduct the checking
  5. Judge system internal communication using sockets in python3

It will not be using existing packages created for judging and will be discussing the creation of a judge from scratch. Some of the topics discussed will be:-

  1. Challenges in automated judging
  2. Language support in the judge
  3. Models of judging
  4. Methods of participation
  5. Types of participants seen over the years ;-)

Prerequisites:

Basic python syntax and usage.

Some familiarity with how WSGI works.

Familiarity with how sockets work.

Content URLs:

  • Code for the talk is available here.
  • Presentation is available here.
  • Pull Requests are welcome

Speaker Info:

  • Completed my graduation from St. Stephen's College.
  • Am currently pursuing MSc CS from IIITM- Kerala
  • Am a self taught programmer.
  • openJudge taught me a lot abut python and still continues to do so.

Speaker Links:

My blog and my Github account.

Section: Others
Type: Talks
Target Audience: Intermediate
Last Updated:

This seems really interesting. I'd be really interested to learn the ins and outs of this! :)

Ratik Sharma (~libhide)

Online judges are imperative to coding competitions which form the basis for all great progrmmers. Learning to build one will be an exciting challenge and I look forward to learning more about it.

Aditya Duggal (~aditya4)

Is this the same thing which judged during cybercept15?

Aditya Guha (~aditya5)

Yes aditya.

arjoonn sharma (~theSage21)

Login to add a new comment.