How nq-i/ip2 works
This is a multi-student online exam proctoring platform. A student joins an exam and streams webcam frames and microphone audio; the server analyzes behavior, produces a rule-based risk profile and events, and presents active students to a proctor. After the exam, instructors can review session reports. The README documents the principal stages and capabilities; sampled source confirms application setup and audio-pipeline construction. Most route, worker, detector, and reporting implementations were not sampled, so their links rely on README statements rather than direct source inspection.
Main entry points: db_models.py Application records · app.py Flask application
Components 17
Exam workflow
- Session manager
Behavior analysis
- Student worker
- Face and gaze
- Phone detection
- Audio analysis
- Audio pipeline
- Feature extraction
- Risk classifier
Platform services
- Flask application
app.py - Application records
db_models.py
Monitoring and review
- Live proctor view
- Session reports
- Admin tools
Other components
- Student
- Exam browser
- Proctor
- Instructor
Connections 17
- Student → Exam browser: takes exam
README.md - Exam browser → Flask application: streams frames and audio
README.md - Flask application → Session manager: creates sessions
README.md - Session manager → Student worker: manages workers
README.md - Student worker → Face and gaze: analyzes frames
README.md - Student worker → Phone detection: detects phones
README.md - Student worker → Feature extraction: extracts features
README.md - Student worker → Risk classifier: scores behavior
README.md - Flask application → Audio pipeline: creates pipeline
app.py - Audio pipeline → Audio analysis: dispatches audio
README.md - Student worker → Application records: records events and snapshots
README.md - Flask application → Application records: uses application records
app.py - Proctor → Live proctor view: monitors students
README.md - Live proctor view → Application records: reads session data
- Instructor → Session reports: reviews results
README.md - Session reports → Application records: reports session data
- Admin tools → Application records: administers records