How srilakshmi1013/online works
OCAP is a Django online coding-assessment platform. Candidates browse problems, run or submit code, and can participate in assessments; the platform records submissions and assessment results for performance tracking. Separate capabilities include account management, recruiter reporting, discussion, and learning topics. The sampled question-submission path executes code directly in the question views, while the submissions views also use a multi-language executor. Several subsystems are represented from the README and source index; their internal wiring is not fully shown.
Main entry points: models.py Submission records · OnlineCodingAssessment/views.py Candidate home · questions/views.py Browse and submit · submissions/views.py Submission handling
Components 17
Accounts
- Account management
accounts - User records
accounts/models.py
Coding Practice
- Candidate home
OnlineCodingAssessment/views.py - Problem bank
questions/models.py - Browse and submit
questions/views.py - Submission handling
submissions/views.py - Code executor
submissions/executor.py - Submission records
submissions/models.py
Assessments
- Assessment content
assessments/models.py - Assessment dashboard
candidates/views.py - Assessment results
results/views.py - Result records
results/models.py
Learning & Community
- Learning topics
quest/views.py - Discussion forum
discuss/views.py
Performance & Reporting
- Recruiter dashboard
recruiter/views.py - Leaderboard
leaderboard/views.py
Other components
- Candidate
Connections 23
- Candidate → Account management: manages account
- Account management → User records: validates and saves
accounts/forms.py - Candidate → Candidate home: views progress
- Candidate home → Problem bank: counts problems
OnlineCodingAssessment/views.py - Candidate home → Submission records: summarizes scores
OnlineCodingAssessment/views.py - Candidate → Browse and submit: browses and submits
- Browse and submit → Problem bank: reads problems
questions/views.py - Browse and submit → Submission records: stores solution
questions/views.py - Candidate → Submission handling: submits code
- Submission handling → Code executor: runs code
submissions/views.py - Submission handling → Submission records: stores submission
submissions/views.py - Candidate → Assessment dashboard: opens assessments
- Assessment dashboard → Assessment content: reads assessment
candidates/views.py - Assessment dashboard → Result records: checks attempts
candidates/views.py - Candidate → Assessment results: takes assessment
- Assessment results → Assessment content: loads questions
results/views.py - Assessment results → Result records: saves and reads results
results/views.py - Candidate → Learning topics: explores topics
- Candidate → Discussion forum: joins discussion
- Discussion forum → Candidate: records posts and replies
discuss/views.py - Recruiter dashboard → Submission records: aggregates submissions
recruiter/views.py - Recruiter dashboard → Problem bank: lists problems
recruiter/views.py - Candidate → Leaderboard: tracks performance