Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configure maximum late submission penalty #2151

Open
seekstar opened this issue Apr 26, 2024 · 2 comments
Open

Allow configure maximum late submission penalty #2151

seekstar opened this issue Apr 26, 2024 · 2 comments

Comments

@seekstar
Copy link

Currently, the penalty for late submissions can reduce the score to zero. However, I want to limit the maximum penalty to 40% so that students can still get 60% of the full marks as long as they complete the assignment at last.

@jhs-panda
Copy link
Contributor

Hi! Thanks for the feature request, we'll look into it!
In the meantime, if you would like to limit the maximum penalty, the workaround is to manually adjust students' scores.

In the gradesheet for an assignment, clicking on a student's email and submission history will lead you to their handin history. Clicking Edit under "Instructor Actions" and entering a Tweak number of points or percentage will allow you to increment their score by the tweaked amount.
Screen Shot 2024-04-26 at 10 53 31 PM
Screen Shot 2024-04-26 at 10 55 52 PM
Screen Shot 2024-04-26 at 10 56 16 PM

Sorry for the inconvenience!

@jhs-panda
Copy link
Contributor

Currently, in submission.rb, the apply_late_penalty and apply_version_penalty functions set the score with penalty if it exists. During the calculation, it ensures that the final score is nonnegative.
Screen Shot 2024-04-27 at 1 05 55 AM

To implement the feature, we can consider adding a setting that allows the user to set a maximum penalty (0 by default) and pass that variable into the max() function instead of the current value of 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants