SyllabusCalc

How the calculators are tested

The suites, one row each, with the number of assertions every one of them runs.

The About page claims the arithmetic on this site is checked before it ships. This page is that claim in table form: every test suite in the build, what it re-derives, and how many separate assertions it makes. The numbers below are not typed by hand. They are written into this page by the build script from the output of the suites themselves, so a suite that shrinks, breaks, or disappears changes this table on the next release.

Last built from a full run of the suites: 8,765 assertions across 34 of them, 31 mirroring one calculator each and 3 covering the guides and the site’s own published claims.

SuiteWhat it re-derivesAssertions
Attendance Grade Calculator suiteAttendance Grade Calculator and the numbers printed in its guide42
Australian GPA and WAM Calculator suiteAustralian GPA and WAM Calculator and the numbers printed in its guide170
Canadian GPA Calculator (Percent to 4.0) suiteCanadian GPA Calculator (Percent to 4.0) and the numbers printed in its guide487
CAO Points Calculator (Leaving Cert) suiteCAO Points Calculator (Leaving Cert) and the numbers printed in its guide302
CGPA to Percentage Calculator (India) suiteCGPA to Percentage Calculator (India) and the numbers printed in its guide1,186
Class Rank Calculator suiteClass Rank Calculator and the numbers printed in its guide155
College GPA Calculator suiteCollege GPA Calculator and the numbers printed in its guide57
Cumulative GPA Calculator suiteCumulative GPA Calculator and the numbers printed in its guide61
Curve Applier suiteCurve Applier and the numbers printed in its guide78
ECTS Grade Conversion Calculator suiteECTS Grade Conversion Calculator and the numbers printed in its guide524
Exam Curve Calculator suiteExam Curve Calculator and the numbers printed in its guide70
Extra Credit Calculator suiteExtra Credit Calculator and the numbers printed in its guide77
Final Grade Calculator suiteFinal Grade Calculator and the numbers printed in its guide62
German Grade Calculator (Bavarian Formula) suiteGerman Grade Calculator (Bavarian Formula) and the numbers printed in its guide2,386
GPA Calculator (4.33 Scale) suiteGPA Calculator (4.33 Scale) and the numbers printed in its guide59
GPA Calculator suiteGPA Calculator and the numbers printed in its guide57
Grade Calculator suiteGrade Calculator and the numbers printed in its guide95
Grade Needed Calculator suiteGrade Needed Calculator and the numbers printed in its guide53
Gradebook Average Calculator suiteGradebook Average Calculator and the numbers printed in its guide61
High School GPA Calculator suiteHigh School GPA Calculator and the numbers printed in its guide65
Late Penalty Calculator suiteLate Penalty Calculator and the numbers printed in its guide594
Letter Grade to GPA suiteLetter Grade to GPA and the numbers printed in its guide63
Pass/Fail Impact Calculator suitePass/Fail Impact Calculator and the numbers printed in its guide99
Percentage to GPA suitePercentage to GPA and the numbers printed in its guide72
Percentage to Letter Grade suitePercentage to Letter Grade and the numbers printed in its guide58
R Score Calculator (Quebec Cote R) suiteR Score Calculator (Quebec Cote R) and the numbers printed in its guide321
Raise My GPA Planner suiteRaise My GPA Planner and the numbers printed in its guide57
Semester Grade Calculator suiteSemester Grade Calculator and the numbers printed in its guide52
Test Average Calculator suiteTest Average Calculator and the numbers printed in its guide56
UK Degree Classification Calculator suiteUK Degree Classification Calculator and the numbers printed in its guide127
Weighted Grade Calculator suiteWeighted Grade Calculator and the numbers printed in its guide56
Standalone guides suiteThe worked examples in five standalone guides: finals leverage, weighted against unweighted GPA, admissions recalculation, credit hours, and the 89.5 rounding question.64
Target-grade guides suiteEvery cell of the two target-grade guides (what do I need to get an A, and what do I need to pass) recomputed from the final-grade formula.88
Prose and site claims suiteFigures stated in sentences rather than printed by a calculator, plus the site's claims about itself: the published counts, the citations each page promises, and the fetch log behind them.1,011
34 suitesTotal8,765

What one assertion is

A mirror suite is a second implementation of a calculator, written in Python, that never imports the site’s JavaScript. It computes the same answer from the same inputs and compares. One assertion is one such comparison: this input, on this scale, must produce this output. A tool with 60 assertions has been asked 60 questions with known answers: ordinary cases, boundary scores, impossible targets, already-secured targets, malformed input, and the exact rounding the browser performs, which is not the rounding Python performs by default.

Where a calculator carries a published table (a letter ladder, a percentage band, a classification boundary), the mirror reads that table out of the JavaScript source and asserts it against its own copy, so a silent edit to a grading scale fails the build rather than shipping.

The suites at the foot of the table are not tied to one calculator. They re-derive the worked examples printed in the guides that have no calculator of their own, and they check the site’s own statements: that the counts on the homepage match the number of files, that the pages promising a source actually link one, and that the fetch log behind every outbound citation records a 200, from its latest check or, where the linked site’s robots.txt or bot defenses rule out a re-check, from the dated check that last confirmed it.

What this table does not prove

Two implementations that agree still rest on one reading of the source. A mirror catches arithmetic error, rounding drift, and a table edited in one place and not the other. It cannot tell you that a policy has been read correctly, that an institution has not changed its rules since the citation was checked, or that a calculator is answering the question you actually have. Those are what the sources on each page and the plain statements of limits are for, and they are why every tool and guide ends with a “Calculator, not counselor” note sending you to your school’s own rules.

The suites also run before a release, not in your browser. If you find a number here that disagrees with your own arithmetic, that is worth an email: a confirmed error becomes a failing assertion in the relevant suite first, and only then gets fixed, so the same mistake cannot return in a later change.