How om-singh-d/question-paper-generation-system works
EduAssess AI is an exam-paper authoring platform: users configure papers, upload syllabus material, and receive generated papers with rubrics and outcome/Bloom analytics. The clearest evidenced backend workflow is syllabus upload through parsing/chunking into vector search, and paper generation through retrieval, question validation, rubric creation, and PDF rendering. The frontend contains dashboard, generation, preview, document, and analytics surfaces, but their UI-to-API wiring is not shown in the excerpts. The separate structured syllabus parser is present, but its integration is not evidenced.
Main entry points: main.py Core API · agent_engine.py Question agent workflow · models.py Academic models · vector_store.py Vector search
Components 20
Frontend
- Dashboard
frontend/app/dashboard/page.tsx - Documents
frontend/app/documents/page.tsx - Generation UI
frontend/app/generation/page.tsx - Paper preview
frontend/app/preview/page.tsx - Analytics view
frontend/components/AnalyticsView.tsx
API and orchestration
- Upload proxy
frontend/app/api/upload-syllabus/route.ts - Generation proxy
frontend/app/api/generate-paper/route.ts - Paper status API
frontend/app/api/paper-status/[paperId]/route.ts - Analytics API
frontend/app/api/analytics/[paperId]/route.ts - Core API
backend/main.py - Academic models
backend/models.py - PostgreSQL
backend/database.py
Syllabus processing
- Document ingestion
backend/services/document_service.py - Structured syllabus parser
backend/services/document_parser.py - Vector search
backend/services/vector_store.py
Paper generation
- Question agent workflow
backend/services/agent_engine.py - PDF renderer
backend/services/pdf_generator.py
Other components
- User
- Qdrant
- Ollama LLM
Connections 14
- Upload proxy → Core API: forwards upload
frontend/app/api/upload-syllabus/route.ts - Generation proxy → Core API: forwards blueprint
frontend/app/api/generate-paper/route.ts - Core API → Document ingestion: queues ingestion
backend/main.py - Document ingestion → Vector search: upserts chunks
backend/services/document_service.py - Core API → Question agent workflow: invokes generation
backend/main.py - Question agent workflow → Vector search: retrieves context
backend/services/agent_engine.py - Question agent workflow → Ollama LLM: requests generation
backend/services/agent_engine.py - Core API → PDF renderer: renders paper
backend/main.py - Vector search → Qdrant: reads and writes vectors
backend/services/vector_store.py - Structured syllabus parser → PostgreSQL: stores parsed syllabus
backend/services/document_parser.py - Structured syllabus parser → Academic models: creates records
backend/services/document_parser.py - Core API → PostgreSQL: uses sessions
backend/main.py - Core API → Academic models: queries models
backend/main.py - Academic models → PostgreSQL: uses base
backend/models.py