Skip to content

Packs / education-public

gradebook-weighted

compute weighted final grades and letter grades for a class from assessment scores

L2 Checks passed 3 of 3 runsv1.0.0Tech-Realm/space-education-public

Install

logicpacks pack use education-public/gradebook-weighted
get_pack education-public/gradebook-weighted

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: python-stdlib
  • Checks: 1 in outcome/checks.yaml
  • Code: grades.py
  • Tools: python3

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

Compute weighted final grades and letter grades for a class from assessment scores.

Steps

  1. Export scores as percentages, one column per assessment.
  2. Set weights from the syllabus.
  3. Run grades.py and review borderline students before publishing.

Edge cases

  • Missing scores count as 0 here; mark excused work separately.
  • Rounding rules (69.5 -> 70?) must follow the syllabus.

Don'ts

  • Don't share one student's grades with another; use IDs not names in shared files.

Routes (free first)

  1. python-stdlib: code/grades.py (no install).