# Performance Gradebook ## Purpose **Assessment & Grading → Performance Gradebook**, `/grade-report`. This is a consolidated final-results report by profession, course and academic year. It is not the lesson journal (`/grade-book)) and does not edit grades. Its sources are saved bulletin results and, in certain cases, [previous-year grades](/en/docs/previous-year-grades). ## Filters and generation | Field | Value | |---|---| | Educational degree, learning format, faculty, profession | Required in the form; select from the dependent catalogs. One profession. | | Academic year | One year for which bulletins were formed. | | Study year | One or more course numbers; the server accepts 1–12. | | Grade scales | Multi-select loaded for profession/year and academic criteria. All load as the default if the field is empty. An empty list also means all available on the server. | | Calculation units | Semester 1, Semester 2, annual GPA and by subjects (all by default). Controls report presentation. | Apply the filters. Each course has its own table block. Change the filters and run again; Reset clears results. A complete filter set is saved in the URL for reopening. Year, profession, courses, degree and format select bulletin records. Faculty is a dependent organizational UI field; server selection relies on profession and permission scope rather than an independent faculty filter. ## Table and grade source In by-subject mode the columns are grouped by semester, mandatory subjects and elective blocks (according to the source's elective flag). Headers show subject, assessment type and credits. Rows show student name and gradebook number from the stored bulletin snapshots. A tick in an elective shows applicability to that student; a dot means it was not chosen. A dash means no displayed value, not zero. Without by-subject mode the report shows a roster with selected GPA columns. Ordinary root bulletins for the requested year and course are the initial source. Each student's subject result is resolved as follows: 1. An individual bulletin, if present, replaces the regular base. 2. The liquidation (retake) chain uses the last applicable descendant for that student. 3. The latest approved appeal with a matching student result is considered. If both retake and appeal apply, the later-created one supplies the value (appeal wins at equal time). 4. Cell color has a separate priority: individual > applicable appeal/retake > regular; an ordinary failing result is separately highlighted. Hover to inspect source and flags. For example, regular 48, retake 65, a later approved appeal 70: use 70, with both flags potentially present. A manual previous-year grade can fill a cell without a matching bulletin; it never overrides bulletin coverage even when the bulletin result is empty. The student roster comes from root bulletins, so an entirely manual course without such records does not produce a complete report. Manual grades may lack a distinct legend color. A status-only result with no value is rendered as a dash in this table. ## GPA (credit-weighted quality average) Each selected scale gets a separate weighted average: `GPA = Σ(credits × numeric grade on that scale) / Σ(credits of included subjects)`. Facultative rows, subjects without positive credits, missing numeric grades and missing numeric scale equivalents are excluded. This is not an unweighted average or success percentage. Text-only pass/fail results do not enter the calculation. Rounding follows the scale decimals; if nothing qualifies, the GPA is empty. Color is based on the level resolved for the average. The annual GPA combines included subjects across semesters; it is not an average of the two semester GPAs. **Example.** On a working 100-point scale, Mathematics (5 credits) = 80 and History (3 credits) = 90; a text pass with 2 credits is excluded. GPA = (5×80 + 3×90)/8 = 83.75; with zero decimals it displays 84. Converting to a 20-point result requires configured numeric equivalents. See [scale configuration](/en/docs/grade-scale) and [ranges](/en/docs/grade-scale-items). ## Export After generating, open Export, and select horizontal (students in rows, subjects in columns) or vertical (subjects in rows, students in columns). XLSX download contains one sheet per course. Print generates a separate printable rendition. The server rebuilds from the filters. The current exporter includes subjects and semester/annual GPA regardless of screen-only calculation-unit visibility; verify the file before distributing it. ## Access and troubleshooting `GradeReportViewAction` includes `grade-report.index`, `grade-report.scales` and degree, format, faculty, profession, academic-year and study-year lookup rights. `GradeReportExportAction` depends on view and `grade-report.export` for download/print. The module supports Faculty and Profession scopes, not Department or Subject. Grade editing has separate rights. - No rows: check year, profession, course, role scope and existence of ordinary root bulletins. - No scales/GPA: verify applicable configurations, ranges, numeric values/equivalents and credits. - Grade differs from initial one: check individual, retake and approved appeal records. - Manual result missing: the cell has bulletin coverage or the student is not in the source roster. - Export unavailable: generate the report and check export permission. ## Implementation sources - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/GradeReport/container/index.tsx) - [filterFields.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/GradeReport/container/filterFields.tsx) - [ReportArea.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/GradeReport/components/ReportArea.tsx) - [GradeCell.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/GradeReport/components/GradeCell.tsx) - [ExportDialog.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/GradeReport/components/ExportDialog.tsx) - [thunks.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/GradeReport/store/thunks.ts) - [GradeReportService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/GradeReport/services/GradeReportService.ts) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GradeReport/routes/api.php) - [GradeReportRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GradeReport/Http/Requests/GradeReportRequest.php) - [GradeReportController.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GradeReport/Http/Controllers/GradeReportController.php) - [GradeReportService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GradeReport/Services/GradeReportService.php) - [GradeReportResolutionService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GradeReport/Services/GradeReportResolutionService.php) - [GradeReportGpaService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GradeReport/Services/GradeReportGpaService.php) - [GradeReportExcelExporter.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GradeReport/Services/GradeReportExcelExporter.php) - [ModulesSeeder.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/database/seeders/ModulesSeeder.php)