How kurarensu16/sage works
ASPIRE is a role-based academic portal spanning administration, faculty grading, dean oversight, and student advising. Its central workflow runs from class and roster setup, through score entry and grade computation/posting, into risk analysis and student-facing guidance, with dean-level monitoring and exports. Supabase-backed classroom services and shared grading/risk logic form key internal layers. The README describes additional evaluation and scheduling features, but their implementation and wiring were not sampled; those capabilities are represented only where the tree supports a relevant portal area.
Main entry points: App.jsx Route application · classRoomService.js Classroom service · gradingMath.js Grading calculations · GradeComputationPreview.jsx Grade computation
Components 20
Access and Shell
- Route application
src/App.jsx - Authentication context
src/lib/AuthContext.jsx - Public login
src/pages/public/Login.jsx
Administration
- Admin portal
src/pages/admin - Audit ledger
src/pages/admin/AuditLog.jsx
Teaching and Grading
- Faculty portal
src/pages/faculty - Enrollment requests
src/pages/faculty/EnrollmentRequests.jsx - Grade computation
src/pages/faculty/GradeComputationPreview.jsx - Grade export preview
src/components/ExportPreviewModal.jsx
Risk and Advising
- Dean oversight
src/pages/dean - Student portal
src/pages/student - Risk monitoring
src/pages/dean/AtRiskStudents.jsx - Academic advising
src/lib/advisingEngine.js - Risk and tentative grades
src/lib/riskEngine.js
Data and Services
- Classroom service
src/lib/classRoomService.js - Grading calculations
src/lib/gradingMath.js - Supabase client
src/lib/supabase.js - Supabase data
- AI service integration
src/lib/openrouter.js
Other components
- Portal users
Connections 23
- Portal users → Route application: opens portal
- Route application → Authentication context: provides session
- Route application → Public login: routes unauthenticated
- Route application → Admin portal: routes by role
- Route application → Dean oversight: routes by role
- Route application → Faculty portal: routes by role
- Route application → Student portal: routes by role
- Faculty portal → Enrollment requests: opens requests
- Enrollment requests → Classroom service: loads and resolves
- Enrollment requests → Supabase client: queries classes
- Grade computation → Grading calculations: resolves formulas
- Grade computation → Audit ledger: logs grade posting
- Grade computation → Grade export preview: opens preview
- Grade export preview → Grading calculations: calculates grades
- Classroom service → Supabase client: reads and writes
- Classroom service → Risk and tentative grades: calculates roster risk
- Classroom service → Grading calculations: computes grades
- Risk and tentative grades → Grading calculations: uses grading logic
- Supabase client → Supabase data: accesses records
- Dean oversight → Risk monitoring: reviews risk
- Student portal → Academic advising: advising capability
- Risk monitoring → Risk and tentative grades: risk capability
- Academic advising → AI service integration: AI integration