# Percentage ranges and maximum grades ## Purpose and entry Use Open on a row in the [bulletin settings register](/en/docs/bulletin-settings). The page at `/bulletin-settings/:id` contains grade restriction rows grouped by grade scale type. The top displays the previously selected degrees, formats, years, courses and terms. They are read-only here; edit them in the list. ## Editor layout The system loads all grade scale types with status `working` from the [grade scale catalog](/en/docs/grade-scale). Each type card can be collapsed independently. If no working types exist, the page shows a corresponding message. Click Add factor in a scale card and fill four fields. | Field | Value | | --- | --- | | Factor | A [subject factor](/en/docs/factor-settings) of type `all` — Bulletins and grade book | | From % | Number from 0 to 100 | | To % | Number greater than From, at most 100 | | Max grade | A number within the numeric scale or a point from the textual scale | Numeric and textual scales differ. In a numeric card, enter a nonnegative value; a configured scale-type maximum limits the input. Input precision comes from the type. For a textual card, select an existing grade point such as Passed or Failed if configured, not arbitrary text. The details option catalog is global: it includes every working type and all grade points of textual types, not just those matched to the selected year, degree, format or course. Verify that the chosen type and point belong to your intended grading method. Storage uses two decimal places for percentage bounds and one decimal place for numeric max grades. If the scale type allows greater precision, reload and check the persisted value. ## Valid ranges Ranges for the same grade scale type and factor must not overlap. Adjacent intervals such as 0–20 and 20–40 are accepted by validation. Different factors or scale types can have the same intervals. Do not set equal From and To values or swap them. Validation does not require complete coverage of 0–100; some percentages may remain unconfigured. Runtime lookup of this configuration at a shared interval boundary is not implemented in the current version; adjacent boundaries do not establish a promised precedence. ### Numeric example Assume a working numeric type has a maximum of 20 points and Continuous assessment is a type-all factor. | Factor | From % | To % | Max grade | | --- | ---: | ---: | ---: | | Continuous assessment | 0 | 20 | 20 | | Continuous assessment | 20 | 40 | 15 | | Continuous assessment | 40 | 100 | 10 | This demonstrates valid configuration fields, not an institutional policy or an automatic cap. The relevant percentage and cap must be explicitly implemented in your grading method. A 10–30 row for the same scale and factor overlaps the first two and is rejected. ### Textual example If a working Pass/Fail type exists, add Continuous assessment, 0–50, with point Failed, and 50–100, with point Passed. The server checks membership of the chosen point in its scale type, not merely the label. Use points already configured in [grade scale details](/en/docs/grade-scale-items). ## Saving, editing and deleting rows - Edit fields directly on this page. A row's Delete button removes it from the local draft; collapsing a card does not remove data. - Click Save. It submits all rows for every scale type and the academic context; the server replaces the previous grade row list. Cancel goes back without saving the draft. - An incomplete row blocks saving. Invalid factor, nonworking scale type, wrong grade point, out-of-range numeric mark or overlapping percentages are rejected. - If supplied, the `grades` list must contain at least one row. This editor always submits it: removing all rows and saving is rejected. Creating a new settings record from the list without grade rows is allowed. If a previously used scale type stops being working or a factor changes to bulletins-only, it may disappear from the options while legacy grade rows remain stored and may prevent saving. Review the relevant catalogs rather than ignoring save errors. ## What saving changes Saving changes the stored percentage ranges for the selected combination. No consumer of these rows was found in the current bulletin calculator, batch generation or [journal transfer](/en/docs/journal-transfer) engine. A range edit by itself does not recalculate previously recorded marks or guarantee an automatic maximum-grade cap. Use [bulletin expressions](/en/docs/bulletin-expression-editor) and [conditions](/en/docs/bulletin-expression-conditions) for actual grading logic with marks, coefficients, constants and statuses. To recalculate aggregates from the journal, configure a [transfer rule](/en/docs/journal-transfer-rules). Values for `{coeff:ID}` come from [factors](/en/docs/factors), not this percentage table. ## Permissions and scopes Details use `bulletins/settings.show`; loading working types and factors uses `bulletins/settings.index` (form-data); saving uses `bulletins/settings.update`. These settings are global, without faculty/department/profession/subject scopes or their own approval process. The current implementation does not independently hide row controls and Save according to action permission; the server checks update authorization. Visible controls do not grant permission to write. Expressions, templates and operational bulletins have their own approval mechanisms and permissions. ## Implementation references - [Grade restrictions editor](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/BulletinSettings/editor/index.tsx) - [Editor data and requests](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/BulletinSettings/BulletinSettingService.ts) - [Grade rows and scale types](https://gitlab.kamoorj.com/development/frontend-edusystems/-/blob/b928b3290040bab5c888b195b813f6705170e309/src/admin/src/pages/AssessmentAndGrading/BulletinSettings/types.ts) - [Settings permission routes](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Bulletins/routes/api.php) - [Settings detail and catalog](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Bulletins/Http/Controllers/BulletinSettingController.php) - [Global catalog and persistence](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Bulletins/Services/BulletinSettingService.php) - [Range, type and value validation](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Bulletins/Http/Requests/BulletinSettingFormRequest.php) - [Detail grade representation](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Bulletins/Http/Resources/BulletinSettingResource.php) - [Stored precision](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Bulletins/Models/BulletinSettingGrade.php) - [Range schema](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Bulletins/database/migrations/2026_05_19_100200_create_bulletin_setting_grades_table.php) - [Separate bulletin grade calculation](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/Bulletins/Services/BulletinGradeCalculationService.php) - [Separate transfer calculation](https://gitlab.kamoorj.com/development/backend-edusystems/-/blob/83e0edc8d75daf02ae011b433d0be83afe994212/app/Modules/JournalTransfer/Services/JournalTransferCalculator.php)