Quizzes are the core content unit in LogiMath. Each quiz belongs to a subject area, carries a difficulty rating, and contains one or more questions. TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/whitiue/logiMathApp/llms.txt
Use this file to discover all available pages before exploring further.
quizzes table is fully defined in the database layer, and the frontend api_services.py module calls GET /quizzes to load the quiz list — however, this endpoint is not currently implemented in mainApi.py. The backend only defines question-scoped routes under /quizzes/{quiz_id}/questions. This page documents the data model and the current state of the implementation accurately.
Implementation status
The following routes exist inmainApi.py that relate to quizzes:
Quiz data model
TheQuiz SQLAlchemy model is defined in models.py and maps to the quizzes table. The QuizResponse Pydantic schema (defined in mainApi.py) exposes the following fields:
Auto-incremented primary key.
Human-readable title for the quiz (e.g., “Introduction to Logic”).
Subject category the quiz belongs to. See supported values below.
Difficulty level used to categorize quizzes for learners.
ISO 8601 timestamp set automatically when the record is created. Stored in the database but not included in
QuizResponse.Supported subjects
The LogiMath platform supports the following subject values for quizzes:- Logic
- Mathematics
- Physics
- Chemistry
- Programming
The
subject and difficulty fields are free-form strings in the current schema — there is no enum constraint enforced at the database level. The values above reflect the subjects supported by the frontend application.