How rahichy3002/test_site works
Progsity is a browser-based programming exam simulator with a local judge. The main workflow is: a candidate selects a problem, edits a solution, runs it against sample or custom input, and submits it for sample-plus-hidden-test grading. A separate sandbox scans and executes untrusted code; the client also offers proctoring monitors, watermark simulation, and an audit log. The problem builder is included as a distinct authoring capability. Relationships are limited to calls and data access shown in the excerpts; the README is empty and some source is unsampled.
Main entry points: server.py HTTP API Handler · app.js Exam Interface · sandbox_guard.py Sandbox Engine · problems Problem Catalog
Components 17
Exam Client
- Exam Interface
static/app.js - Problem Navigation
static/app.js - Code Editor
static/app.js - Sample Run UI
static/app.js - Submission UI
static/app.js - Proctoring Monitors
static/app.js - Watermark And Audit
static/app.js
Judge Server
- HTTP API Handler
server.py - Problem Catalog
problems - Sample Evaluation
server.py - Hidden-Test Grading
server.py
Sandbox Execution
- Sandbox Engine
sandbox_guard.py - Code Security Scanner
sandbox_guard.py - Process Isolation
sandbox_guard.py - Language Runners
sandbox_guard.py
Problem Authoring
- Problem Builder
build_20_problems.py
Other components
- Candidate
Connections 18
- Candidate → Exam Interface: uses
static/app.js - Exam Interface → Problem Navigation: navigates
static/app.js - Exam Interface → Code Editor: edits solutions
static/app.js - Exam Interface → Proctoring Monitors: configures
static/app.js - Exam Interface → Watermark And Audit: configures
static/app.js - Problem Navigation → HTTP API Handler: fetches problems
static/app.js - HTTP API Handler → Problem Catalog: reads
server.py - Sample Run UI → HTTP API Handler: posts run
static/app.js - Submission UI → HTTP API Handler: posts submission
static/app.js - HTTP API Handler → Sample Evaluation: dispatches run
server.py - HTTP API Handler → Hidden-Test Grading: dispatches submission
server.py - Sample Evaluation → Problem Catalog: reads tests
server.py - Hidden-Test Grading → Problem Catalog: reads tests
server.py - Sample Evaluation → Sandbox Engine: executes code
server.py - Hidden-Test Grading → Sandbox Engine: executes code
server.py - Sandbox Engine → Code Security Scanner: checks code
sandbox_guard.py - Sandbox Engine → Process Isolation: isolates process
sandbox_guard.py - Sandbox Engine → Language Runners: runs language
sandbox_guard.py