calculate_gpa
Compute VIT 10-point GPA, CGPA, and percentage from letter grades; project what-if CGPA with course credits or find GPA needed to reach a target CGPA.
Instructions
GPA / CGPA / percentage calculator on VIT's 10-point scale (S=10 A=9 B=8 C=7 D=6 E=5 F=0; percentage = CGPA×10). It works from the LETTER GRADES VTOP already awarded — whether those were decided by relative or absolute grading doesn't matter, the grade→point scale is the same for every course. With no arguments it reports your current CGPA, percentage, total credits, and each completed semester's GPA. Pass courses (credits + grade for each) to compute that set's GPA and your projected CGPA — for 'what-if' scenarios where you supply expected grades (the most reliable way to forecast). Pass targetCgpa (+ plannedCredits) for the GPA needed to reach that CGPA. Pass semesterId (no courses) to compute one stored semester's GPA. (To estimate grades from current MARKS, use predict_grades instead.) If the response contains NOT_AUTHENTICATED, call get_captcha then login then retry. Requires login.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courses | No | Explicit courses (credits + expected/actual grade) to compute a GPA from and project your CGPA — use for 'what-if' grade scenarios. | |
| semesterId | No | When `courses` is omitted, compute this semester's GPA from VTOP. Omit for current semester. | |
| targetCgpa | No | If set, compute the GPA needed over `plannedCredits` to reach this CGPA. | |
| currentCgpa | No | Override the base CGPA for projection (defaults to your real CGPA). | |
| currentCredits | No | Override base completed credits for projection (defaults to real). | |
| plannedCredits | No | Upcoming-semester credits, used with `targetCgpa` (defaults to the credits in `courses`). |