Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 1014 Bytes

File metadata and controls

27 lines (22 loc) · 1014 Bytes

CPT Platform

A simple platform for competitive programming tournaments

https://phscpt.pythonanywhere.com

Capabilities

  • Hosting contests, with live-updating scoreboards
  • Intuitive problem-setting interface
  • Grader support for Python, Java and C++
  • Persistent Scoreboards across system restarts
  • Client-side storage of problem results
  • User accounts
  • Interactive grading
  • Reworked UI
  • Teams in practice contests
  • AWS integration (lambda + dynamodb)

KNOWN BUGS

  • Past problem results may appear on the client side for 2 players on 1 browser account (or otherwise with shared localstorage)

Dependencies

Requires python markdown and flask libraries, as well as g++, java, python2.7 and python3.9.

Usage

  • Use a WSGI of your choosing to host the website in main.py
  • Run grader.py on the same machine
    • You can run multiple graders, but they have a decently high chance of racing for any given submission so it's highly discouraged