Primas OJ
Automated Online Judge & Contest System
A full-scale competitive programming platform featuring isolated Docker container execution, multi-language automated testcase judging, and live contest standings.

System Architecture
Docker Sandbox Evaluation
Spawns ephemeral, resource-constrained containers with seccomp/cgroup security barriers to safely execute untrusted student code.
Multi-Verdict Judge Pipeline
Tokenized stdout matching engine generating Accepted (AC), Wrong Answer (WA), Time Limit Exceeded (TLE), and Memory Limit verdicts.
Contest Freeze Engine
Supports live scoreboards with customizable final-hour freeze and automated penalty resolution matching ICPC standards.
Key Features & Capabilities
- Engineered an isolated Docker-based code sandbox evaluating C, C++, and Python submissions with strict CPU, time, and memory limits.
- Implemented real-time ICPC contest management, frozen scoreboards, and penalty calculation rules.
- Designed PostgreSQL schema optimized for concurrent submission ingestion and low-latency leaderboard updates.
Tech Stack
PlanWise
An offline-capable Progressive Web Application integrating Google Genkit AI to dynamically organize backlogs, suggest scheduling priorities, and visualize habit velocity.