Skip to content

reg-canvas audit and discussions - #44

Merged
agiacalone merged 1 commit into
mainfrom
feat/canvas-audit-discussions
Oct 21, 2026
Merged

agiacalone merged 1 commit into
mainfrom
feat/canvas-audit-discussions

Conversation

@agiacalone

Copy link
Copy Markdown
Owner

Summary

  • reg-canvas audit finds ungraded or unposted work, empty weighted groups (an exam filed in the wrong group), and a missing-submission policy that is off. It exits 1 when it finds something.
  • reg-canvas discussions review | apply grades discussion assignments by post count. review writes a vault note listing only the posts that need a human look (one post, a post under 25 words, or 30% phrase overlap with another student), each with a deny box. apply sets scores and likes and can post the grades. It is a dry run until --apply.
  • Post text is reduced to metrics in memory and never written. A test asserts that no file contains it. The docs say plainly that the metrics are not an AI detector.
  • New module lectern/canvas_grading.py, 11 tests, and runbook sections in docs/canvas-api.md. README, SKILL.md, AGENTS.md and the CHANGELOG are updated.

Testing

  • pytest: 692 passed, 1 skipped.
  • Live read-only run on the three Fa26 sections. Its counts, review list and dry run match the prototype scripts used for the Weeks 5–6 audit.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N64GRxn3cQDJKAJLdfrso2

audit reports, per section, work that was never graded or never posted
and the settings that skew the weighted score: a weighted group with no
assignments, and a missing-submission policy that is off. Missing-work
zeros are counted apart from other hidden grades.

discussions review grades discussion assignments by post count (2+ = 5,
1 = 3) and writes a vault note listing only the posts that need a human
look, each with a deny box. discussions apply reads the ticks, sets
changed scores, likes credited posts, and with --post posts the grades.
Dry run until --apply.

Post text is reduced to counts and writing metrics in memory and never
written; a test enforces it. The metrics are documented as prompts to
read a post, not an AI detector.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N64GRxn3cQDJKAJLdfrso2
@agiacalone
agiacalone merged commit d7e28c4 into main Oct 21, 2026
4 checks passed
@agiacalone
agiacalone deleted the feat/canvas-audit-discussions branch October 21, 2026 19:13
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