# Graduation work **Graduation → Graduation work** (`/graduation-work` and `/graduation-work/:id`) supports committee grading. Assign topics and reviewers in [graduation thesis information](/en/docs/graduation-thesis-information), and defense participants and questions in [defense lists](/en/docs/defense-lists). ## List and grade-sheet generation The current UI lists ordinary bulletin batches. Rows display the sheet name and check type, profession, year, study year and term; text search is disabled and pagination is available. Click Generate sheet and complete the required fields: - academic year; - study year (1–10) and term within that year (1 or 2); - educational degree, learning format and profession; - bulletin-sheet type and educational unit. Changing degree/format refreshes profession options. Example: 2025–2026, year 4, term 2, Bachelor's, full-time, Computer Science, graduation grade sheet and the relevant educational unit. Generation creates an ordinary bulletin batch and reloads the table. The server rejects a duplicate active batch for the same check type and educational context. The custom action replaces the standard Add button. ## How the detail is provisioned The graduation-work backend creates a grading sheet on the first read of a **defense list**, then adds missing result rows for its participants. It does not generate a new sheet on every opening. **Current limitation:** the frontend list uses an ordinary bulletin-batch ID, but the detail data request interprets that same ID as a defense-list ID. These are different entities. Generating a batch does not automatically create a defense list or guarantee matching IDs. If the detail opens empty, fails to open or displays the wrong committee membership, do not enter grades. The responsible administrator should check and correct the module linkage. ## Detail and grade entry When correctly linked, the detail displays batch context and student count, then a matrix: rows are defense-list students and columns are voting committee members. Chairpersons and members across all committee compositions vote; secretaries have no grade column of their own. A column displays the member's name and role type. Enter a numeric mark in a cell. It saves after a brief delay, on leaving the field or pressing Enter. Wait for successful saving before the next edit. The server accepts nonnegative numbers; this request does not specify a maximum, so follow the applicable grade scale. An empty field is not a reliable clear operation in this UI: its number conversion can submit 0. The backend calculates the result and status. The current routed detail exposes the matrix without a separate average-result column or appeal/non-attendance buttons; a backend operation does not necessarily have a control on this screen. ## Final grade calculation - `pending`: not every voting member has entered a mark, or no voters exist. Average and level are absent. - `graded`: every voting member has a grade. The arithmetic mean is rounded to the applicable scale precision, or two decimal places by default. The performance level uses degree, format, the linked bulletin's check type and committee start year as scale criteria. - `not_attended`: clears average and level and locks grade entry until non-attendance is removed. Backend operations support this status, but the current detail has no separate button. Example: chairperson 18, member 16, member 20. The final grade is (18 + 16 + 20) / 3 = 18. Without the third grade it is still pending. No secretary mark is added. See [grade scales](/en/docs/grade-scale). ## Grading method setting The module settings offer a project-wide `grading_mode`: committee members (`members`, default) or secretary (`secretary`). This is not per committee or sheet. Both modes represent voting members' marks. The current matrix does not change behavior based on this mode; the server stores separate voting-member marks rather than a single final mark. Settings are not a substitute for role permissions. The current settings form reopens in members mode and does not fetch the saved selection; do not save it again without checking the intended setting. ## Bulletin linkage The backend looks for root bulletins of the participants' plans, from the last study year and last term (excluding appeal and individual bulletins). If exactly one unique subject exists, it binds the sheet to that subject and its check type. Multiple subjects or no bulletins leave the sheet unbound; the current detail has no separate subject picker. After calculation, the backend projects the result onto an existing ordinary root bulletin row for that subject and student. Non-attendance sets the corresponding performance level; a pending result clears an earlier projection. If the subject is unbound or no student row exists, no projection occurs even though the sheet's mark is saved. Check [bulletins](/en/docs/bulletins) and the [grade report](/en/docs/grade-report). This linkage lets the graduation grade contribute to ordinary academic results, but saving a work-sheet mark does not guarantee projection. ## Appeals The backend supports separate appeal records. Reason is required (up to 2,000 characters), and order number (up to 191), date and file (up to 10 MiB) are optional. It stores the original grade/level, pending status and later review outcome. Rejection leaves the result unchanged; approval with a new nonnegative mark replaces the final result, resolves its level and projects it when a linked bulletin is available. Member grades are preserved. The current detail has no appeal creation/review interface; refer to the supported workflow through the responsible administrator. ## Permissions and scopes Module `graduation-work`: read `graduation-work.show` (open sheet, target bulletin and appeal lists); write `graduation-work.manage` (marks, non-attendance, appeal creation and review). Module settings use the common settings permissions. The frontend list, batch generation and deletion use `BulletinBatchesTablePull`, `BulletinBatchesCreateAction`, `BulletinBatchesDeleteAction`; opening the detail uses `GraduationWorkOpenAction`. The sheet/result models declare no own faculty/profession permission scope; the generation fields use the ordinary bulletin-batch scopes. Check actual access to both parts, not just the menu item. See [role permissions](/en/docs/role-permissions). For incorrect membership, check the defense list and entity linkage first. For pending results, verify every voting member's mark. For a missing ordinary bulletin grade, check subject binding and the existing root bulletin/student row. ## Implementation references - [index.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Graduation/GraduationWork/container/index.tsx) - [GradeSheetDetailPage.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Graduation/GraduationWork/container/GradeSheetDetailPage.tsx) - [GraduationWorkService.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Graduation/GraduationWork/GraduationWorkService.ts) - [GraduationWorkDescriptor.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Graduation/GraduationWork/GraduationWorkDescriptor.tsx) - [GenerationModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Graduation/GraduationWork/components/GenerationModal.tsx) - [GraduationCriteriaFields.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Graduation/GraduationWork/components/GraduationCriteriaFields.tsx) - [SettingsModal.tsx](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/Graduation/GraduationWork/components/SettingsModal.tsx) - [graduationRoutes.ts](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/router/routes/graduationRoutes.ts) - [api.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GraduationWork/routes/api.php) - [GraduationWorkSheet.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GraduationWork/Models/GraduationWorkSheet.php) - [GraduationWorkResult.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GraduationWork/Models/GraduationWorkResult.php) - [GraduationWorkService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GraduationWork/Services/GraduationWorkService.php) - [GraduationWorkBulletinSyncService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GraduationWork/Services/GraduationWorkBulletinSyncService.php) - [GraduationWorkSettingsService.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GraduationWork/Services/GraduationWorkSettingsService.php) - [SetMemberGradesRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GraduationWork/Http/Requests/SetMemberGradesRequest.php) - [StoreGraduationWorkAppealRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GraduationWork/Http/Requests/StoreGraduationWorkAppealRequest.php) - [ReviewGraduationWorkAppealRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/GraduationWork/Http/Requests/ReviewGraduationWorkAppealRequest.php) - [ModulesSeeder.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/database/seeders/ModulesSeeder.php) - [StoreBulletinBatchRequest.php](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Bulletins/Http/Requests/StoreBulletinBatchRequest.php)