Target GPA planner
target_gpa_plannerCalculate the GPA you need on upcoming credits to reach a target cumulative GPA, and see if the goal is already met or requires more than one term.
Instructions
Plan the GPA needed on upcoming credits to reach a target cumulative GPA. Inputs: current_gpa (0 to 7), credits_completed (0 or more), target_gpa (0 to 7), upcoming_credits (greater than 0) and a scale id, which sets the top grade point the scale allows. Says so when the target is already reached or would take more than one term. Example prompt: "I have a 3.1 GPA over 60 credits. What GPA do I need next semester to reach 3.4?"
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_gpa | Yes | The cumulative GPA you want to reach, between 0 and 7. | |
| current_gpa | Yes | Your cumulative GPA so far, between 0 and 7. | |
| upcoming_credits | Yes | Credits you will take next, greater than 0. | |
| credits_completed | Yes | Credits already completed, 0 or more. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | Yes | The scale id the plan was made on. | |
| possible | Yes | True when the target can be reached in one term on this scale. | |
| max_points | Yes | The top grade point the scale allows. | |
| needed_gpa | Yes | The GPA needed on the upcoming credits. It is below 0 when the target is already reached, and above the top of the scale when the target takes more than one term. | |
| scale_name | Yes | The name of the scale the plan was made on. | |
| target_gpa | Yes | The cumulative GPA to reach. | |
| current_gpa | Yes | The cumulative GPA so far. | |
| already_there | Yes | True when the target is already reached, so a 0.0 on the upcoming credits keeps it. | |
| upcoming_credits | Yes | The credits you will take next. | |
| credits_completed | Yes | The credits already completed. |