Skip to main content

LAN Programming Contest Judging Program

Project description

OpenJudge

Refactored!

OpenJudge has been refactored to be faster and easier to set up! This repository was about quick contests for small groups of 20-30 people. Somewhere along the way, I faltered and it became bloated. It's back now in a form which is fast and light.

Screenshots

Normal Screen Leader Board Screen

Usage

First install MongoDB by following the instructions in their docs

sudo apt-get install python3-dev
pip install --user pipenv
pipenv install openjudge --python 3.5
pipenv shell

mkdir questions
cd questions

mkdir 1
cd 1

# Create these files
touch statement i0 o0 i1 o0

# go back to where the questions directory resides
cd ../../

To run openjudge two commands need to be issued. openjudge and openjudge --judge in two separate terminals. The first is the interface and the second is the "judge".

asciicast

In case you have a lot of people sending in code and you deem that the code check is too slow, you just have to start another judge process with openjudge --judge.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openjudge-3.0.8.tar.gz (6.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page