How dil5hodbek/rgn-exam.uz works
ExamFlow is an English exam platform: students browse level-based tests, take and review attempts, while staff manage content, grading, and supervised sessions. DOCX imports and Telegram account linking are additional capabilities. The graph follows only relationships explicit in the README or shown in the supplied excerpts and SOURCE INDEX; unsampled implementation is represented at its existing directory or route path, without inferred call chains.
Main entry points: router.py API routes · attempts.py Test attempts · database.py PostgreSQL data · admin.py Admin operations
Components 23
Student experience
- Web application
frontend/app - Exam runner
frontend/components/exam/exam-runner.tsx - Test catalog
backend/app/api/v1/catalog.py
Assessment operations
- Test attempts
backend/app/api/v1/attempts.py - Grading
backend/app/services/grading.py - AI grading
backend/app/services/ai_grading.py - Proctored sessions
backend/app/api/v1/exam_sessions.py - Teacher review
backend/app/api/v1/teacher.py
Content management
- Admin operations
backend/app/api/v1/admin.py - Test authoring
backend/app/services/admin_content.py - DOCX import
backend/app/services/docx_import.py - Import worker
backend/app/tasks/import_tasks.py
Platform services
- API application
backend/app/main.py - API routes
backend/app/api/v1/router.py - Authentication
backend/app/api/v1/auth.py - Token security
backend/app/core/security.py - PostgreSQL data
backend/app/core/database.py - Domain models
backend/app/models/domain.py - Redis
Telegram access
- Telegram bot
bot/main.py - Telegram linking
backend/app/services/telegram.py
Other components
- Student
- Exam staff
Connections 29
- Student → Web application: uses
- Exam staff → Web application: uses
- Web application → API application: requests
- API application → API routes: routes
backend/app/main.py - API routes → Authentication: registers
backend/app/api/v1/router.py - API routes → Test catalog: registers
backend/app/api/v1/router.py - API routes → Test attempts: registers
backend/app/api/v1/router.py - API routes → Admin operations: registers
backend/app/api/v1/router.py - API routes → Proctored sessions: registers
backend/app/api/v1/router.py - API routes → Teacher review: registers
backend/app/api/v1/router.py - Authentication → Token security: uses
backend/app/api/v1/auth.py - Test catalog → PostgreSQL data: queries
backend/app/api/v1/catalog.py - Test attempts → PostgreSQL data: reads and writes
backend/app/api/v1/attempts.py - Test catalog → Test attempts: loads attempt content
backend/app/api/v1/catalog.py - Test attempts → Grading: uses
backend/app/api/v1/attempts.py - Test attempts → AI grading: uses
backend/app/api/v1/attempts.py - Proctored sessions → Test attempts: creates attempts
backend/app/api/v1/exam_sessions.py - Proctored sessions → PostgreSQL data: reads and writes
backend/app/api/v1/exam_sessions.py - Teacher review → Grading: uses
backend/app/api/v1/teacher.py - Admin operations → Test authoring: delegates
backend/app/api/v1/admin.py - Admin operations → DOCX import: imports content
backend/app/api/v1/admin.py - Admin operations → Import worker: queues imports
- Import worker → DOCX import: parses documents
backend/app/tasks/import_tasks.py - Test authoring → PostgreSQL data: persists content
backend/app/services/admin_content.py - PostgreSQL data → Domain models: maps records
- Import worker → Redis: queues jobs
- Telegram bot → Telegram linking: links accounts
- Telegram linking → Authentication: supports sign-in
backend/app/api/v1/auth.py - Exam runner → Test attempts: submits answers