Repository navigation
lms_grades: --exclude-sis filters staff with a student role - #43
Merged
Merged
Conversation
A grad student who helps with a section can hold a Canvas student enrolment there without being registered, so the export lists them like a student and reg-gradebook import stops with "in Canvas but not in roster". Their SIS IDs now go to grades.filtered.csv with reason "staff". reg-canvas grades-export --import passes the flag through. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N64GRxn3cQDJKAJLdfrso2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
--exclude-sistoreg-lms-grades-import, and passes it throughreg-canvas grades-export --import.Why: the first live
reg-canvasexport (2026-10-21) included a grad student who holds a Canvas student enrolment in sections he is not registered in.reg-gradebook importthen stopped with "in Canvas but not in roster".What changes:
grades.filtered.csvwith reasonstaff, next to the existing Test Student and ISA filters.Testing: 681 passed, including a new test in
tests/test_lms_grades.py. Used live to rebuild the three Fa26 gradebooks.🤖 Generated with Claude Code
https://claude.ai/code/session_01N64GRxn3cQDJKAJLdfrso2