The Grades (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/TheSerchCp/SEAM/llms.txt
Use this file to discover all available pages before exploring further.
calificaciones) and Reports (reportes) modules provide the academic output layer of SEAM. Grades are scoped to a group and displayed in a per-student, per-subject table where instructors can update a numeric score inline and save it. Reports offer three pre-defined analytics views — performance, attendance, and failed students — rendered on demand. Both modules are currently driven by in-memory session state and stub repositories, and are architected to accept real API endpoints with minimal changes.
Grades (Calificaciones)
Repository functions
update receives the grade record id and the new numeric nota value. Once connected to a backend, it should persist the change via a PUT or PATCH request.
Session state sample data
Until a backend is available,CalificacionesPage reads directly from session.calificaciones, filtered to the current group:
Primary key of the grade record.
Foreign key referencing the student user in
session.users.Foreign key referencing the group; used to scope the table to the current page.
Subject name displayed in the Materia column.
Numeric grade. The input field accepts values between
0 and 10 in 0.1 increments.Academic semester the grade belongs to.
Group (Grupo) shape
The page also reads fromsession.grupos to display the group name in the page heading:
Primary key of the group.
Display name shown in page headings and navigation (e.g.
"6A").Foreign key of the professor responsible for the group.
Total number of enrolled students.
Current group average grade.
Number of students currently below the passing threshold.
Saving a grade
saveGrade(gradeId) global is bound to each row’s Guardar button. Replace the alert with a call to calificaciones.repository.update(gradeId, newNota) once the repository is wired to a real endpoint.
Reports (Reportes)
Repository function
Report types
The page exposes three report triggers:| Button label | Type string |
|---|---|
| Reporte Desempeño | desempenio |
| Reporte Asistencia | asistencia |
| Reporte Reprobados | reprobados |
#reports-container element. Currently this shows a placeholder; wire the generateReport service to a real backend endpoint to populate it with live data.
Connecting to a real backend
Both repositories follow the sameApiClient pattern used by every other module:
Both
calificaciones.repository and reportes.repository are stub implementations that return empty arrays. The page templates, group-scoped filtering, inline editing inputs, and report trigger buttons are fully built — only the repository functions need to point at a live API.