Plan grades for upcoming courses
plan_coursesCalculates the grade you need in each upcoming course to reach a target cumulative GPA from your current GPA and completed credits, showing the lowest letter per course that keeps the plan on track.
Instructions
Plan the grade needed in each upcoming course to reach a target cumulative GPA. Inputs: current_gpa (0 to 7), credits_completed (0 or more), target_gpa (0 to 7), courses (each with an optional name and credits greater than 0) and a scale id, which sets the top grade point the scale allows. It works out the GPA the upcoming credits need, then gives the lowest letter in each course that keeps the plan on track, assuming the other courses meet the same target. Says so when the target is already reached or would take more than one term. Example prompt: "I have a 3.4 GPA over 60 credits. What do I need in each of my four classes next semester to reach 3.5?"
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 |
| courses | Yes | The upcoming courses to plan for. Each needs credits greater than 0, and name is optional. | |
| 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. | |
| 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. | |
| courses | Yes | One entry per upcoming course, in the order they were passed. | |
| possible | Yes | True when the target can be reached with these courses 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 of the courses to plan for. | |
| credits_completed | Yes | The credits already completed. |