Zero-dependency, mathematically exact algorithms for K–12 and university assessment workflows—powering the free browser-local tools at GradingPad.com.
Live interactive documentation & benchmarks: https://lcccsky.github.io/classroom-grading-algorithms/
-
The "Drop Lowest Quiz" Percentage Paradox (
0-1Fractional Programming) Suppose a student earns7/10 (70%),76/100 (76%),18/20 (90%),85/100 (85%), and9/10 (90%).- A naive gradebook drops
7/10because70%is the lowest percentage, leaving188 / 230 = 81.7% (B-). - Dropping the high-weight
76/100exam instead leaves119 / 140 = 85.0% (B)— a +3.3% full letter-tier gain! solveOptimalDropLowest()uses Dinkelbach's0-1Fractional Programming iteration to find the globally optimal subset in< 0.1 ms. Try it live in the Test Grade Calculator.
- A naive gradebook drops
-
IEEE-754 Floating-Point Boundary Errors on Exact Cutoffs In JavaScript,
((27 - 2.7) / 27) * 100evaluates to89.99999999999999, causing naivescore >= 90checks to misclassify an exact90.0%(24.3 / 27) as aB+instead of anA-.roundHalfUp()eliminates binary representation drift across Grading Calculator and Easy Grader. -
Outlier Distortion on Curved Exams (
0%No-Shows & Tukey1.5 × IQR) A single0%absent placeholder drags down class mean and inflates standard deviation on Bell and Z-Score curves.trimExamOutliers()filters unsubmitted zeros and Tukey lower-fence outliers before computing curve parameters in the Grading Curve Calculator. -
4-Point Analytic Rubric Compression (
3 / 4 = 75% C) On a raw proportional 4-level rubric, a student who meets every standard (3 · Proficientacross all criteria) receives75.0% (C).RUBRIC_4_LEVEL_SCALES.standardsFairmaps4 → 100% (A),3 → 85% (B),2 → 72% (C-), and1 → 60% (D-)in the Rubric Grader.
- Grading Calculator — 1–500 question quiz scorer with
0.5half-point steps & speed stack. - Easy Grader (EZ Slide Chart) — Digital replacement for cardboard EZ charts (
15Q,20Q,25Q,30Q,40Q,50Q). - Final Grade Calculator — Syllabus-weighted exam target solver supporting
89.5% → 90%rounding rules. - Grading Curve Calculator — Compare Square-Root (
10√x), True Z-Score (μ, σ), 2-Point Anchor, Linear, and Flat boosts. - Rubric Grader — 4-level analytic rubric matrix with Standards-Fair
85% Bconversion. - Grading Scale Chart — US 10-point vs. strict 7-point & 4.0/5.0 AP GPA reference tables.
- Random Group Generator — CSPRNG unbiased shuffling +
DSATURkeep-apart conflict graph coloring.
MIT © GradingPad Curriculum & Math Team