Skip to content

[Bugfix:InstructorUI] Allow floats for grade override#12270

Merged
bmcutler merged 2 commits intomainfrom
grade-override-float
Dec 11, 2025
Merged

[Bugfix:InstructorUI] Allow floats for grade override#12270
bmcutler merged 2 commits intomainfrom
grade-override-float

Conversation

@williamschen23
Copy link
Copy Markdown
Contributor

@williamschen23 williamschen23 commented Dec 3, 2025

Why is this Change Important & Necessary?

Grade Override does not allow for floats for grades. If we have a gradeable that we need to give someone partial credit, we are unable to do it.

What is the New Behavior?

Allows floats. Changes the type signature.
image
image
image

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

Verify that floats can be stored

Automated Testing & Documentation

Other information

@github-project-automation github-project-automation bot moved this to Seeking Reviewer in Submitty Development Dec 3, 2025
@williamschen23 williamschen23 marked this pull request as ready for review December 3, 2025 23:44
@automateprojectmangement automateprojectmangement bot moved this from Seeking Reviewer to Work in Progress in Submitty Development Dec 3, 2025
@automateprojectmangement automateprojectmangement bot moved this from Work in Progress to Seeking Reviewer in Submitty Development Dec 3, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Dec 3, 2025

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 21.69%. Comparing base (9ce63f0) to head (cf3b3ce).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #12270   +/-   ##
=========================================
  Coverage     21.69%   21.69%           
- Complexity     9617     9618    +1     
=========================================
  Files           268      268           
  Lines         36113    36113           
  Branches        478      478           
=========================================
  Hits           7835     7835           
  Misses        27804    27804           
  Partials        474      474           
Flag Coverage Δ
autograder 21.39% <ø> (ø)
js 2.07% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.69% <0.00%> (ø)
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.

Copy link
Copy Markdown
Contributor

@Rkoester47 Rkoester47 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was successfully able to use a float when creating a grade override for a student. There were no issues with entering the value, and it showed up in the rainbow grades summary for the student afterwards as intended.

@github-project-automation github-project-automation bot moved this from Seeking Reviewer to Awaiting Maintainer Review in Submitty Development Dec 4, 2025
Copy link
Copy Markdown
Contributor

@JManion32 JManion32 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replicated the issue on main and verified that this fixes it.

@bmcutler bmcutler merged commit 3766ff6 into main Dec 11, 2025
94 of 97 checks passed
@bmcutler bmcutler deleted the grade-override-float branch December 11, 2025 04:35
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.

4 participants