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

[Feature: RainbowGrades] Add Hover Text and Penalty Logic for Bad Status #82

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chloe-crews
Copy link

Description:

This PR introduces additional functionality in the RainbowGrades system to provide clarity for students regarding assignment statuses. The feature improves the hover text for assignments with a "bad status" by providing specific details regarding late penalties or automatic zeroes.


Changes:

  • Introduced two new variables: penalty_per_day and automatic_zero.
  • Applied penalty logic for deductions based on the number of late days.
  • Created dynamic hover text to display details about penalties or automatic zeroes for assignments.
  • Enhanced the TableCell constructor to compute the final score and generate hover text.
  • Updated the rendering logic in the output() function to handle cells with penalties or automatic zeroes more effectively.

Why:
This feature improves transparency for students, helping them understand why they received a penalty or automatic zero, thereby reducing confusion about grades.

Closes #10439

… zeros with dynamic hover text. Introduced variables 'penalty_per_day' and 'automatic_zero' to calculate scores based on late submissions and generate informative hover text. The hover text now displays details like original score, late days used, and penalty percentage, enhancing clarity for students.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Seeking (Additional) Reviewer
Development

Successfully merging this pull request may close these issues.

1 participant