Skip to content

About

Zero-dependency classroom grading mathematics: Dinkelbach 0-1 fractional drop-lowest solver, 6-model exam curving (10*sqrt(x), Z-Score, Tukey IQR outlier filter), Standards-Fair 4-level rubrics, and IEEE-754 exact rounding.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classroom Grading Algorithms (classroom-grading-algorithms)

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/


Why Classroom Grading Math Frequently Goes Wrong

  1. The "Drop Lowest Quiz" Percentage Paradox (0-1 Fractional Programming) Suppose a student earns 7/10 (70%), 76/100 (76%), 18/20 (90%), 85/100 (85%), and 9/10 (90%).

    • A naive gradebook drops 7/10 because 70% is the lowest percentage, leaving 188 / 230 = 81.7% (B-).
    • Dropping the high-weight 76/100 exam instead leaves 119 / 140 = 85.0% (B) — a +3.3% full letter-tier gain!
    • solveOptimalDropLowest() uses Dinkelbach's 0-1 Fractional Programming iteration to find the globally optimal subset in < 0.1 ms. Try it live in the Test Grade Calculator.
  2. IEEE-754 Floating-Point Boundary Errors on Exact Cutoffs In JavaScript, ((27 - 2.7) / 27) * 100 evaluates to 89.99999999999999, causing naive score >= 90 checks to misclassify an exact 90.0% (24.3 / 27) as a B+ instead of an A-. roundHalfUp() eliminates binary representation drift across Grading Calculator and Easy Grader.

  3. Outlier Distortion on Curved Exams (0% No-Shows & Tukey 1.5 × IQR) A single 0% 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. 4-Point Analytic Rubric Compression (3 / 4 = 75% C) On a raw proportional 4-level rubric, a student who meets every standard (3 · Proficient across all criteria) receives 75.0% (C). RUBRIC_4_LEVEL_SCALES.standardsFair maps 4 → 100% (A), 3 → 85% (B), 2 → 72% (C-), and 1 → 60% (D-) in the Rubric Grader.


Live Classroom Tools Built on This Engine

License

MIT © GradingPad Curriculum & Math Team

About

Zero-dependency classroom grading mathematics: Dinkelbach 0-1 fractional drop-lowest solver, 6-model exam curving (10*sqrt(x), Z-Score, Tukey IQR outlier filter), Standards-Fair 4-level rubrics, and IEEE-754 exact rounding.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages