How musipatlaharicharan/ai-exam works
AegisProctor is a browser-based exam-proctoring simulation. Users authorize camera, microphone, and screen capture, then navigate a mock exam; simulated monitoring alerts can trigger a lockdown. The sampled code shows media acquisition, exam rendering, alert handling, and stream recovery in one client module, plus a small static-file server. The README is empty, and some app.js excerpts omit function bodies, so the graph avoids asserting unshown exam-submission or detection behavior.
Main entry points: app.js Client orchestrator · server.js Static file server · index.html Exam page
Components 17
Local delivery
- Static file server
server.js - Exam page
index.html
Exam client
- Client orchestrator
app.js
Media monitoring
- Browser media APIs
- Camera access
app.js - Microphone access
app.js - Audio visualizer
app.js - Screen sharing
app.js - Stream recovery
app.js - Violation handling
app.js - Incident console
app.js - Exam lockdown
app.js - Permission troubleshooting
app.js
Mock exam
- Exam controls
app.js - Question rendering
app.js - Answer selection
app.js
Other components
- Candidate
Connections 18
- Candidate → Static file server: requests page
server.js - Static file server → Exam page: serves page
server.js - Candidate → Client orchestrator: uses controls
app.js - Client orchestrator → Camera access: binds controls
app.js - Client orchestrator → Microphone access: binds controls
app.js - Client orchestrator → Screen sharing: binds controls
app.js - Camera access → Browser media APIs: acquires stream
app.js - Microphone access → Browser media APIs: acquires stream
app.js - Screen sharing → Browser media APIs: acquires stream
app.js - Microphone access → Audio visualizer: initializes
app.js - Client orchestrator → Exam controls: binds controls
app.js - Exam controls → Question rendering: renders question
app.js - Question rendering → Answer selection: selects option
app.js - Candidate → Violation handling: triggers test alert
app.js - Violation handling → Incident console: logs alert
app.js - Violation handling → Exam lockdown: locks exam
app.js - Stream recovery → Browser media APIs: reacquires stream
app.js - Candidate → Permission troubleshooting: closes help
app.js