Skip to content

Emit a per-outcome GRADING_NOTE.md with every Gradescope build - #39

Merged
agiacalone merged 1 commit into
mainfrom
feat/grading-note-per-outcome
Oct 20, 2026
Merged

agiacalone merged 1 commit into
mainfrom
feat/grading-note-per-outcome

Conversation

@agiacalone

Copy link
Copy Markdown
Owner

Summary

reg-exam-build wrote a one-line-per-question grading note, which left graders to invent the Gradescope rubric. Every Gradescope build now writes the per-outcome note instead: one rubric row per possible outcome of each question, with its points and a form·Qn·slot key.

Type Rows
MC one per choice; only the correct one carries +N
T/F True and False
FIB one per blank, plus a wrong-order row unless % order: any
Written/code the authored Gradescope rubric block, item for item, with a [Group] tag

Graders enter the rows verbatim and only pick which one applies, so points land the same way whoever grades. reg-gradescope-stats reads the note directly, which closes the format gap listed under Known gaps.

Changes

  • New lectern/grading_note.py, graduated from the CECS 378 Su26 prototype (build_grading_note.py).
  • exam_pack.emit_grading_note delegates to it; OutlineRow keeps the raw question block.
  • New reg-exam-build <manifest> --grading-note-only rewrites just the note for an exam that is already printed.
  • Two prototype bugs fixed: a code question keyed True/False lost its credit to a trailing brace, and math in choices rendered as 2^{n/2.
  • Docs: docs/gradescope-workflow.md, README, SKILL.md, CHANGELOG, demo README.

Testing

  • pytest: 642 passed, 1 skipped.
  • New tests cover MC, FIB with and without % order: any, T/F, code keyed True/False, authored rubric blocks, math sanitizing, the note-only CLI, and a round trip through gradescope_stats.parse_grading_note.
  • Regenerated the three Fa26 Exam 1 notes (CECS 326 §01 and §03, CECS 378) and checked every question against <form>_outline.csv for points, type and keyed answer.

🤖 Generated with Claude Code

https://claude.ai/code/session_012VAyCxeJ3nhHwBM5ABHMqN

The grading note was a one-line-per-question summary, which left graders to
invent the Gradescope rubric. It now lists one rubric row per possible
outcome of each question (each MC choice, both T/F sides, each FIB blank
plus a wrong-order row, and every item of an authored Gradescope rubric
block), with its points and a form·Qn·slot key. Graders enter the rows and
only pick which one applies, and reg-gradescope-stats reads the note
directly, which closes the documented format gap.

Graduated from the CECS 378 Su26 prototype into lectern.grading_note. A
code question keyed True/False no longer loses its credit, and math in
choices renders as 2^(n/2). New --grading-note-only rewrites just the note
for an exam that is already printed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012VAyCxeJ3nhHwBM5ABHMqN
@agiacalone
agiacalone merged commit 8aabab3 into main Oct 20, 2026
4 checks passed
@agiacalone
agiacalone deleted the feat/grading-note-per-outcome branch October 20, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant