[Feature:Developer] Add bulk upload submissions#12571
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #12571 +/- ##
=========================================
Coverage 21.62% 21.62%
Complexity 9817 9817
=========================================
Files 268 268
Lines 36808 36808
Branches 490 490
=========================================
Hits 7960 7960
Misses 28362 28362
Partials 486 486
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
IDzyre
left a comment
There was a problem hiding this comment.
Please address the failing tests.
|
Hi @IDzyre, I've addressed the following issues:
However, the following CI failures are still present and I'm not sure if they are related to my changes or pre-existing:
I've checked CI #8131 on main and all tests passed there. Could you help clarify whether these remaining failures are pre-existing or caused by my changes? A new CI run (#8160) is also awaiting your approval to verify my latest fixes. |
This is a known issue with Submitty's testing. Since the sample course script uses a seeded random generation of submissions, changing the sample courses in any way can disrupt the existing testing infrastructure, because the submissions can change. You should run the tests locally to see if the changes you made affect the tests, and update them accordingly. |
|
@IDzyre Thank you for the explanation! I investigated further and here is what I found: The random seed in After reviewing all the CI logs carefully, the remaining failures are in files I did not touch:
The fixes I made ( |
You should be able to see if the tests are failing locally or on main, and given that main passed all the tests failing on your branch, I feel that it is affecting it somehow. |
…dates to avoid random seed shift
|
Hi, just checking in — I've addressed the review feedback, and this PR is still active on my end. Happy to make any additional changes if needed. Let me know! |
GarvitKhandelwal31
left a comment
There was a problem hiding this comment.
Looks good to me, also I have checked the pdf files and they are standard files which we find in submissions.
roye2
left a comment
There was a problem hiding this comment.
I was interested in reviewing this PR since I recently worked on tests that could have used the new sample data being added here. In my opinion, a more useful change would be to add some sample submissions to the gradeable (in the form of pdf bulk uploads) and move the gradeable into the 'grading in progress' category. That would actually provide us with some useful testing data. Otherwise, I don't really see what the point of this PR is or what it is currently providing.
|
I've decided it's best to close this PR. After further testing I determined it did not provide any useful testing data, considering there were no submissions already provided on the gradeable. I'm also concerned this would break existing tests. We can reopen this PR or a new one to address the issue at another time. |
Why is this Change Important & Necessary?
Closes #10010
The Bulk Upload gradeable in the Sample Course was a future gradeable with 0 submissions. This PR adds graded submissions to make it more useful for testing.
What is the New Behavior?
Added sample PDF submissions to more_autograding_examples/pdf_exam/submissions/
Updated dates in sample.yml for bulk_upload_test to past dates so it appears as an in-progress gradeable
What steps should a reviewer take to reproduce or test the bug or new feature?
Run the sample course setup script
Navigate to the Sample Course and verify the Bulk Upload Scanned Exam gradeable has submissions and appears in the in-progress section
Other information
No breaking changes. No migrations needed.