feat(gradebook): external assessment management and CSV grade import#8441
Open
LWS49 wants to merge 1 commit into
Open
feat(gradebook): external assessment management and CSV grade import#8441LWS49 wants to merge 1 commit into
LWS49 wants to merge 1 commit into
Conversation
2220631 to
ad01bc8
Compare
7d9fdb4 to
ade1ddf
Compare
ad01bc8 to
82c7316
Compare
c799dd5 to
2de895b
Compare
521efed to
2efbb02
Compare
2de895b to
e750140
Compare
- add ExternalAssessment/Grade models, CRUD + grade-set endpoints gated to teaching staff, scoped to the course - extend gradebook contributions to weight an external contributor (XOR validation), serialized as a synthetic negative-id grouping - CSV import wizard (define/upload/verify/conflict) with dry-run preview, upsert commit, and conflict/mismatch detection - FE store, operations, and inline add/rename/delete/grade/max editing for external columns in the gradebook table - surface external assessments in gradebook index JSON and route weight entries to external contributions - add controller, model, service, and component specs
e750140 to
f8c70e8
Compare
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.
Summary
External assessments are the only gradebook columns a professor can create, edit, and delete directly (native missions and quizzes are managed on their own assessment pages), but until now they had no proper management home and grades could only be entered one cell at a time. This PR gives externals a dedicated "Manage external assessments" panel for all CRUD, plus a CSV import wizard for bulk grade entry keyed by External ID or email. It also hardens the grade pipeline: external grade columns now store two decimal places to match the Canvas and SoftMark feeds that supply them, floor/cap bounds are applied at compute time so they affect only the weighted total without ever mutating the stored grade, and weight is forced to zero server-side when the weighted view is off. The work is stacked on the weighted-view branch, so this PR contains only the external-assessment delta.
Design decisions
Regression prevention
gradebook/contribution. Model specs cover external assessment and external assessment grade validation plus the 2dp round-trip (asserting 87.25 and 99.25 persist without rounding).course_gradebook_contributions.weight.