Skip to content

[Feature:TAGrading] Withdrawn student grading toggle#11879

Merged
bmcutler merged 18 commits intomainfrom
fix-withdrawn-grading-stats
Aug 13, 2025
Merged

[Feature:TAGrading] Withdrawn student grading toggle#11879
bmcutler merged 18 commits intomainfrom
fix-withdrawn-grading-stats

Conversation

@williamschen23
Copy link
Copy Markdown
Contributor

@williamschen23 williamschen23 commented Jul 16, 2025

Why is this Change Important & Necessary?

closes #11874
We are automatically including the withdrawn student in the grading statistics, leading to incomplete ta results. More could be read in the issue above. We want a toggle that automatically hides all the withdrawn students so we can grade all the "active" students.

What is the New Behavior?

Synced the two cookies to include_withdrawn_students
Made the statistics correct based on if we are hiding or showing withdrawn students.

What steps should a reviewer take to reproduce or test the bug or new feature?

Make sure that teams and user gradeables both work. Make sure the code is consistent and that each stat changes with cookie changes. Make sure that team gradeable stats don't change.

Automated Testing & Documentation

#11763 starts with adding withdrawn students. The tests will be added after that.

Other information

@github-project-automation github-project-automation bot moved this to Seeking Reviewer in Submitty Development Jul 16, 2025
@automateprojectmangement automateprojectmangement bot moved this from Seeking Reviewer to Work in Progress in Submitty Development Jul 16, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Jul 16, 2025

Codecov Report

❌ Patch coverage is 2.70270% with 72 lines in your changes missing coverage. Please review.
✅ Project coverage is 21.68%. Comparing base (78312ac) to head (0d3f606).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #11879   +/-   ##
=========================================
  Coverage     21.68%   21.68%           
- Complexity     9494     9512   +18     
=========================================
  Files           267      268    +1     
  Lines         36286    36326   +40     
  Branches        474      475    +1     
=========================================
+ Hits           7869     7879   +10     
- Misses        27947    27976   +29     
- Partials        470      471    +1     
Flag Coverage Δ
autograder 21.31% <ø> (ø)
js 2.07% <0.00%> (-0.01%) ⬇️
migrator 100.00% <ø> (ø)
php 20.69% <3.84%> (+<0.01%) ⬆️
python_submitty_utils 80.08% <ø> (ø)
submitty_daemon_jobs 90.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@williamschen23 williamschen23 marked this pull request as ready for review August 11, 2025 15:51
@automateprojectmangement automateprojectmangement bot moved this from Work in Progress to Seeking Reviewer in Submitty Development Aug 11, 2025
@martig7
Copy link
Copy Markdown
Contributor

martig7 commented Aug 13, 2025

This PR successfully makes it so that the withdrawn toggle impacts the color of the gradable button

@martig7 martig7 self-requested a review August 13, 2025 17:00
@automateprojectmangement automateprojectmangement bot moved this from Seeking Reviewer to In Review in Submitty Development Aug 13, 2025
@github-project-automation github-project-automation bot moved this from In Review to Awaiting Maintainer Review in Submitty Development Aug 13, 2025
@bmcutler bmcutler merged commit 3e4ac5b into main Aug 13, 2025
68 of 72 checks passed
@bmcutler bmcutler deleted the fix-withdrawn-grading-stats branch August 13, 2025 18:15
@github-project-automation github-project-automation bot moved this from Awaiting Maintainer Review to Done in Submitty Development Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Remove Withdrawn students from grading statistics.

3 participants