[Feature:Autograding] Add regrade_by to autograding history#12006
Merged
[Feature:Autograding] Add regrade_by to autograding history#12006
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #12006 +/- ##
============================================
+ Coverage 21.66% 21.71% +0.04%
- Complexity 9528 9582 +54
============================================
Files 268 268
Lines 36398 36563 +165
Branches 475 475
============================================
+ Hits 7886 7938 +52
- Misses 28041 28154 +113
Partials 471 471
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
JManion32
approved these changes
Aug 16, 2025
Member
|
I didn't test this, but do you also correctly handle (the original) regrade from the command line: And have we also tested vcs & team submissions (so many options to test). Please update your notes in the PR message about all of the different types of gradeable you have tested this on. Thanks! |
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.

Why is this Change Important & Necessary?
Whenever we click regrade, we have no idea who the submission has been graded by. If we want to include students regrading, we should have an idea of who regraded the submission. Therefore, we should add this in the queue file, which adds it to the history file.
What is the New Behavior?
Adds the user who regrades into the queue and history file
What steps should a reviewer take to reproduce or test the bug or new feature?
Make sure that autograding does not break. I have tested team, vcs, and notebook submissions. I have also verified that the history with regrade_by is written to the file.
Automated Testing & Documentation
Unit tests are included. E2E tests would still have to be written.
Other information