How dinesh8778/academiq works
AcademiQ is a Django student-management platform with role-based web/API access, academic recordkeeping, and three AI capabilities: risk prediction, a conversational assistant, and anomaly notifications. The main workflow is staff/student access to class, attendance, assignment, submission, and marks data; the AI subsystems analyze or query that data and present results. Edges are limited to relationships supported by the README or source index; several route and view implementations were not excerpted.
Main entry points: tools.py Role-scoped tools · students/models.py Student records · academics/models.py Classes & coursework · attendance/models.py Attendance records
Components 23
Access & identity
- Roles & permissions
users/permissions.py - Teacher accounts
users/models.py
Academic operations
- Student records
students/models.py - Classes & coursework
academics/models.py - Attendance records
attendance/models.py - Management UI
academics/views_ui.py - Student UI
students/views_ui.py - Academic REST API
academics/views.py - Attendance API
attendance/views.py - Student REST API
students/views.py
AI analytics
- Risk feature pipeline
ai_engine/data_pipeline.py - Risk prediction
ai_engine/predictor.py - Risk API
ai_engine/views.py
Conversational assistant
- Assistant endpoint
assistant/views.py - Groq tool loop
assistant/groq_client.py - Role-scoped tools
assistant/tools.py - Assistant draft logs
assistant/models.py
Notifications
- Anomaly checks
notifications/management/commands/detect_anomalies.py - Notification records
notifications/models.py - Notification views
notifications/views.py
Other components
- Browser users
- Groq API
- Configured database
Connections 35
- Browser users → Management UI: uses web UI
- Browser users → Student UI: uses dashboard
- Browser users → Academic REST API: uses REST API
- Browser users → Assistant endpoint: asks questions
- Management UI → Classes & coursework: manages records
academics/views_ui.py - Management UI → Student records: uses student data
academics/views_ui.py - Management UI → Attendance records: marks attendance
academics/views_ui.py - Student UI → Student records: reads and edits
students/views_ui.py - Academic REST API → Classes & coursework: serializes coursework
academics/views.py - Academic REST API → Attendance records: reads attendance
academics/views.py - Academic REST API → Student records: reads students
academics/views.py - Attendance API → Attendance records: manages records
attendance/views.py - Student REST API → Student records: manages students
students/views.py - Student REST API → Classes & coursework: uses class data
students/views.py - Risk feature pipeline → Student records: reads students
ai_engine/data_pipeline.py - Risk feature pipeline → Attendance records: derives attendance
ai_engine/data_pipeline.py - Risk feature pipeline → Classes & coursework: derives academic features
ai_engine/data_pipeline.py - Risk prediction → Risk feature pipeline: builds features
ai_engine/predictor.py - Risk API → Risk prediction: returns risk scores
- Anomaly checks → Student records: checks students
notifications/management/commands/detect_anomalies.py - Anomaly checks → Classes & coursework: checks activity
notifications/management/commands/detect_anomalies.py - Anomaly checks → Attendance records: checks attendance
notifications/management/commands/detect_anomalies.py - Anomaly checks → Notification records: creates alerts
notifications/management/commands/detect_anomalies.py - Notification views → Notification records: reads notifications
notifications/views.py - Assistant endpoint → Groq tool loop: handles questions
- Groq tool loop → Groq API: calls model
assistant/groq_client.py - Groq tool loop → Role-scoped tools: dispatches tools
assistant/groq_client.py - Role-scoped tools → Risk prediction: queries risk
assistant/tools.py - Role-scoped tools → Student records: queries profiles
assistant/tools.py - Role-scoped tools → Classes & coursework: queries coursework
assistant/tools.py - Role-scoped tools → Attendance records: queries attendance
assistant/tools.py - Role-scoped tools → Assistant draft logs: records drafts
assistant/tools.py - Management UI → Configured database: persists changes
- Academic REST API → Configured database: reads and writes
- Anomaly checks → Configured database: stores alerts