What do I need on the final
needed_on_finalCalculate the score needed on a final exam or assignment to reach a target course grade using your current average, final weight, and desired percentage or letter grade.
Instructions
Calculate the score needed on a final exam or last assignment to reach a target course grade. Inputs: current_percent (the average on all the other work, 0 to 100), final_weight_percent (how much the final is worth, greater than 0 and at most 100) and a target. Give the target as target_percent (the course grade you want, 0 to 100), as target_letter (a letter like "B+" or a class like "2:1", whose cutoff comes from the scale table), or as both. The scale id sets the table the letter cutoff comes from. Says so when the target is already locked in or out of reach. Example prompt: "My grade is 85% and the final is worth 40% of the course. What do I need on the final to finish with a B+?"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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 |
| target_letter | No | The letter grade you want to finish with, like "B+" or "2:1", read from the scale table. Leave it out when you pass target_percent. | |
| target_percent | No | The course grade you want to finish with, as a percentage between 0 and 100. Leave it out when you pass target_letter. | |
| current_percent | Yes | Current grade on the work already done, as a percentage between 0 and 100. | |
| final_weight_percent | Yes | How much the final is worth, greater than 0 and at most 100, as a percentage of the whole course. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | Yes | The scale id the target was read from. | |
| possible | Yes | True when the target can be reached with this weighting. | |
| scale_name | Yes | The name of the scale the target was read from. | |
| already_there | Yes | True when the target is already reached, so a 0 on the final keeps it. | |
| target_letter | No | The letter target that was asked for, when one was given. | |
| needed_percent | Yes | The score needed on the final. It is below 0 when the target is already reached, and above 100 when the target is out of reach. | |
| target_percent | Yes | The course grade to finish with, as a percentage. | |
| current_percent | Yes | The grade on the work already done. | |
| letter_min_percent | No | The lowest percentage the letter target covers, when a letter target was given. | |
| final_weight_percent | Yes | How much the final is worth, as a percentage of the whole course. |