# GPA ENGINE REPORT

**Generated:** 2026-07-11 20:53:07

## Engine

`App\Services\Examination\GpaEngine`

- `computeSemesterGpa(Collection $results)`
- `computeCgpa(int $studentId)`
- Weighted: sum(gp × credits) / sum(credits)
- Respects GpaConfiguration include_failing + rounding_precision

## Grade mapping

`GradeCalculationService` uses `grade_boundaries` for letter + grade point.

## Seeded scale

A 80–100 (4.0) … F 0–49 (0.0)

## Test evidence

| Input | Result |
|-------|--------|
| Score 85 | A / 4.0 |
| Score 40 | F |
| Courses 3×4 + 3×3 + 2×2 | GPA 3.13 |