Skip to content
ZK
ZAIN KHALIL KHAN
PORTFOLIO
All Projects
Interactive buildLatest release case study

Automated Java & Python Grading Engine

Instructors need consistent, explainable grading across code submissions without losing the evidence behind each score.

Interactive preview
Full demo

Autograder

Isolated code evaluation

AutograderWorkspace4 updates
AutograderISOLATED SUBMISSION RUNNER
worker timeout: 2000ms

ASSIGNMENT 04 · FUNCTIONS

solve(a, b): return the sum of a and b, squared: (a + b)^2

Every submission executes in an isolated Web Worker, the same sandbox model the real engine uses for untrusted Java and Python code. Pick a student file or edit it live.

Gradebook

No submissions graded yet

Grade any submission above and it lands here.

Zain Khalil Khan

My Role

Full-stack and educational systems engineer

What I Built

Hybrid grading system that compiles, executes, and evaluates student submissions at scale. Custom Java test harness with Python orchestration, sandboxed environments, and detailed pass/fail reports.

Evidence

Working interface, documented system behavior, and implementation-level decisions.

Technical Architecture

From system input to explainable output.

The control gate is shown as a first-class stage, not an afterthought added around the workflow.

Five stages connect inputs to processing, security controls, stored state, and user output.SYSTEM FLOW / AUTOMATED JAVA & PYTHON GRADING ENGINETRACEABLE PIPELINE01INPUTSCodesubmissions & rubricsVERIFIED STAGE02PROCESSINGSandboxed evaluationVERIFIED STAGE03SECURITY CONTROLSResource &input limitsCONTROL GATE04STORAGE / STATEGrade recordsVERIFIED STAGE05USER OUTPUTFeedback & scoreVERIFIED STAGEINPUT TO OUTCOME / EVIDENCE PRESERVED

Technical Decisions

  • Built a hybrid grading engine that compiles, runs, and evaluates Java and Python submissions at classroom scale without manual intervention.
  • Orchestrated runs from Python with per-submission isolation, wall-clock timeouts, and memory ceilings so an infinite loop cannot stall the batch.

Security Considerations

  • The public case study makes no additional security claim beyond the documented controls shown in the architecture.

Outcome & Evidence

  • Generated per-student reports naming the input, expected value, and actual value for every failing case instead of returning only a score.
JavaPythonAutomationEducation TechCLI

Working product

Try the interactive demo.

The product experience is part of this case study. Explore it here, reset its state, or switch viewport sizes without leaving the project page.

Autograder

Isolated code evaluation

AutograderWorkspace4 updates
AutograderISOLATED SUBMISSION RUNNER
worker timeout: 2000ms

ASSIGNMENT 04 · FUNCTIONS

solve(a, b): return the sum of a and b, squared: (a + b)^2

Every submission executes in an isolated Web Worker, the same sandbox model the real engine uses for untrusted Java and Python code. Pick a student file or edit it live.

Gradebook

No submissions graded yet

Grade any submission above and it lands here.

Zain Khalil Khan

Next Case Study

IT Ticketing Platform

Read Next Case Study