Convert a grade
convert_gradeConvert a letter or percentage grade into its matching letter, percentage range, and grade points on a chosen grade scale.
Instructions
Convert a letter or percentage into the matching letter, percentage range and grade points on a grade scale. Inputs: grade (a letter like "B+" or a percentage like 87 or "87%") and a scale id. Example prompt: "Convert 78 percent to a letter grade on the Ontario college scale."
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grade | Yes | A letter like "B+" or a percentage like 87 or "87%". | |
| scale | No | Grade scale id: "us4", "us4plus", "ontario-college", "uk-classification", "australia-hd" or "weighted-5.0". Defaults to "us4". Ask the student which one their school uses if unsure. | us4 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | Yes | The scale id the grade was converted on. | |
| letter | Yes | The letter the grade matches on the scale. | |
| points | Yes | Grade points the letter is worth on the scale. | |
| scale_name | Yes | The name of the scale the grade was converted on. | |
| max_percent | Yes | The highest percentage the letter covers. | |
| min_percent | Yes | The lowest percentage the letter covers. |