canvas-lms/lib/api
Spencer Olson 6380ed41f5 scale grades for points-based schemes (front-end)
closes EVAL-4364
flag=none

Test Plan:
1. In a course, create a points-based grading scheme worth 10 points
   with the following cutoffs:
   - 10 to 9 = A
   - < 9 to 7 = B
   - < 7 to 5 = C+
   - < 5 to 3 = C-
   - < 3 to 0 = D

   Use that grading scheme at the course-level.

2. Create a single assignment in the course with the following settings:
   - Points possible: 100
   - Display Grade as: Letter Grade (using the points-based scheme).

3. Go to the Gradebook and give a student 49.98 on the assignment.
   Verify the cell in the Gradebook shows C+.

4. Ensure this works for all places individual assignment grades are
   displayed (there are a lot :| see code changes for reference).

Change-Id: I84e689f244534546d856d489f345dea928255bbe
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/352271
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Derek Williams <derek.williams@instructure.com>
Reviewed-by: Kai Bjorkman <kbjorkman@instructure.com>
QA-Review: Kai Bjorkman <kbjorkman@instructure.com>
Product-Review: Ravi Koll <ravi.koll@instructure.com>
2024-07-15 17:15:24 +00:00
..
html Update content.rb 2023-08-02 14:41:44 +00:00
v1 scale grades for points-based schemes (front-end) 2024-07-15 17:15:24 +00:00
errors.rb remove unused api_raise method 2023-08-25 14:01:27 +00:00