How seerakirankumar/academiaai works
AcademiaAI helps institutional staff explore unified student records, assess performance and risk, and coordinate support. Its principal workflow runs from CSV-backed data loading and validation, through scoring, analytics, risk detection and recommendations, to authenticated API routes and browser dashboards, student profiles and interventions. Natural-language questions form a separate AI-assisted exploration branch; the README documents Groq integration, but sampled source does not show its provider call. The graph focuses on runtime behavior; unsampled capabilities are included where documented, with uncertain wiring omitted.
Main entry points: data_service.py Data loading and CRUD · main.py FastAPI application · api.ts HTTP API client · profile_service.py Student profiles
Components 30
Student Data
- Student CSV files
- Data loading and CRUD
app/data_service.py - Rules and dataset schemas
app/config.py
Analytics and Support
- Success scoring
app/scoring.py - Risk detection
app/risk_service.py - Support recommendations
app/recommendation_service.py - Institutional analytics
app/analytics_service.py - Student profiles
app/profile_service.py
Backend API
- User file store
- Authentication and roles
app/auth.py - FastAPI application
app/main.py - Login routes
app/routers/auth_routes.py - Student routes
app/routers/students.py - Analytics routes
app/routers/analytics.py - Dashboard routes
app/routers/dashboard.py - Intervention routes
app/routers/interventions.py - AI chat routes
app/routers/ai_chat.py - Health and metadata
app/routers/system.py
Web Application
- Page routing and access
frontend/src/App.tsx - Web session and roles
frontend/src/lib/auth.tsx - HTTP API client
frontend/src/lib/api.ts - Dashboard and academics
frontend/src/pages/Dashboard.tsx - Student exploration
frontend/src/pages/Students.tsx - Risk review
frontend/src/pages/RiskPage.tsx - Intervention tracking
frontend/src/pages/Interventions.tsx - AI assistant interface
frontend/src/pages/AiAssistant.tsx - Reports and data views
frontend/src/pages/Reports.tsx
Other components
- Institution staff
- Browser user
- Groq language model
Connections 41
- Institution staff → Page routing and access: uses
frontend/src/App.tsx - Page routing and access → Web session and roles: checks access
frontend/src/App.tsx - Web session and roles → HTTP API client: signs in
frontend/src/lib/auth.tsx - Browser user → HTTP API client: requests data
frontend/src/lib/api.ts - HTTP API client → FastAPI application: sends HTTP requests
frontend/src/lib/api.ts - FastAPI application → Login routes: registers routes
app/main.py - FastAPI application → Student routes: registers routes
app/main.py - FastAPI application → Analytics routes: registers routes
app/main.py - FastAPI application → Dashboard routes: registers routes
app/main.py - FastAPI application → Intervention routes: registers routes
app/main.py - FastAPI application → AI chat routes: registers routes
app/main.py - FastAPI application → Health and metadata: registers routes
app/main.py - Login routes → Authentication and roles: authenticates
app/routers/auth_routes.py - Authentication and roles → User file store: reads users
app/auth.py - Student routes → Student profiles: gets profiles
app/routers/students.py - Student routes → Data loading and CRUD: reads and updates
app/routers/students.py - Analytics routes → Institutional analytics: gets analytics
app/routers/analytics.py - Analytics routes → Data loading and CRUD: reads records
app/routers/analytics.py - Dashboard routes → Institutional analytics: gets dashboard data
app/routers/dashboard.py - Intervention routes → Data loading and CRUD: manages interventions
app/routers/interventions.py - AI chat routes → Data loading and CRUD: retrieves student data
app/routers/ai_chat.py - Health and metadata → Institutional analytics: gets system metrics
app/routers/system.py - Data loading and CRUD → Student CSV files: loads and persists
app/data_service.py - Data loading and CRUD → Rules and dataset schemas: uses schemas
app/data_service.py - Data loading and CRUD → Success scoring: uses scoring
app/data_service.py - Data loading and CRUD → Risk detection: uses risk rules
app/data_service.py - Institutional analytics → Data loading and CRUD: analyzes records
app/analytics_service.py - Institutional analytics → Risk detection: uses risk results
app/analytics_service.py - Student profiles → Data loading and CRUD: reads student data
app/profile_service.py - Student profiles → Success scoring: calculates score
app/profile_service.py - Student profiles → Risk detection: assesses risk
app/profile_service.py - Student profiles → Support recommendations: gets recommendations
app/profile_service.py - Success scoring → Rules and dataset schemas: uses weights
app/scoring.py - Risk detection → Rules and dataset schemas: uses thresholds
app/risk_service.py - Dashboard and academics → HTTP API client: fetches metrics
frontend/src/pages/Dashboard.tsx - Student exploration → HTTP API client: fetches students
frontend/src/pages/Students.tsx - Risk review → HTTP API client: fetches risks
frontend/src/pages/RiskPage.tsx - Intervention tracking → HTTP API client: manages records
frontend/src/pages/Interventions.tsx - AI assistant interface → HTTP API client: submits questions
frontend/src/pages/AiAssistant.tsx - Reports and data views → HTTP API client: fetches reports
- AI chat routes → Groq language model: queries model