Skip to content

[Feature:TAGrading] Add Peer Progress Bar#13006

Merged
bmcutler merged 9 commits into
mainfrom
add-peer-progress-bar
Jul 8, 2026
Merged

[Feature:TAGrading] Add Peer Progress Bar#13006
bmcutler merged 9 commits into
mainfrom
add-peer-progress-bar

Conversation

@mattLif

@mattLif mattLif commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Why is this Change Important & Necessary?

Closes #10391

What is the New Behavior?

A second purple progress bar will appear on non-team gradeables with peer grading components. This progress bar represents the % of students within the peer grading matrix who have received at least one peer grading response from another student.

Before:
image

After:
image

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

A reviewer can either test with a preexisting gradeable (described in steps) or make their own

  1. Observe Released Peer PDF Homework on sample as an instructor
  2. Should have purple progress bar since only peer components
  3. Edit the gradeable and add a normal grading component to the rubric
  4. Go in and grade that component for a student in a section assigned to instructor (ex. adamsg)
  5. Observe the green progress bar now appears on the gradeable as well

Automated Testing & Documentation

This feature does not currently have automated testing.

Other information

Not a breaking change
No migrations
Not a security concern

@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 10.71429% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 21.28%. Comparing base (5cddcd8) to head (9d61301).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##               main   #13006      +/-   ##
============================================
- Coverage     21.32%   21.28%   -0.04%     
- Complexity    10055    10080      +25     
============================================
  Files           278      278              
  Lines         37646    37725      +79     
  Branches        516      516              
============================================
+ Hits           8028     8031       +3     
- Misses        29115    29191      +76     
  Partials        503      503              
Flag Coverage Δ
autograder 21.16% <ø> (ø)
js 1.98% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.20% <10.71%> (-0.05%) ⬇️
python_submitty_utils 79.83% <ø> (ø)
submitty_daemon_jobs 91.13% <ø> (ø)
vue 100.00% <ø> (ø)

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.

@NicholasCiuica
NicholasCiuica self-requested a review July 8, 2026 14:53
@automateprojectmangement automateprojectmangement Bot moved this from Seeking Reviewer to In Review in Submitty Development Jul 8, 2026

@NicholasCiuica NicholasCiuica left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It looks like the new bar is functioning properly. I got a purple bar on the
Released Peer PDF Homework gradeable as instructed, and I also got one to show up after making my own peer gradeable and doing some student grading. I tested that both peer grades from students and from instructors add to the bar. I also tested that students don't see the bar. One recommendation I have is to possibly pick a brighter purple color for the peer grading bar so it stands out better in dark mode (e.g. --standard-mediumorchid) but this change goes beyond the scope of this PR so it can be investigated later.

@github-project-automation github-project-automation Bot moved this from In Review to Awaiting Maintainer Review in Submitty Development Jul 8, 2026
@bmcutler

bmcutler commented Jul 8, 2026

Copy link
Copy Markdown
Member

as discussed in meeting, we will replace the plum color with orchid color for all peer grading on both light & dark modes. this will be in a separate PR.

@bmcutler
bmcutler merged commit 8876fc3 into main Jul 8, 2026
28 checks passed
@bmcutler
bmcutler deleted the add-peer-progress-bar branch July 8, 2026 19:48
parthrajsinghbhati pushed a commit to parthrajsinghbhati/Submitty that referenced this pull request Jul 10, 2026
### Why is this Change Important & Necessary?
Closes [Submitty#10391](Submitty#10391)

### What is the New Behavior?
A second purple progress bar will appear on non-team gradeables with
peer grading components. This progress bar represents the % of students
within the peer grading matrix who have received at least one peer
grading response from another student.

Before:
<img width="934" height="54" alt="image"
src="https://github.com/user-attachments/assets/98c76dba-60db-4132-b081-65c50ad41243"
/>

After:
<img width="956" height="63" alt="image"
src="https://github.com/user-attachments/assets/189ac87d-f853-4253-8b57-b2987675c81b"
/>


### What steps should a reviewer take to reproduce or test the bug or
new feature?
A reviewer can either test with a preexisting gradeable (described in
steps) or make their own
1. Observe Released Peer PDF Homework on sample as an instructor
2. Should have purple progress bar since only peer components
3. Edit the gradeable and add a normal grading component to the rubric
4. Go in and grade that component for a student in a section assigned to
instructor (ex. adamsg)
5. Observe the green progress bar now appears on the gradeable as well

### Automated Testing & Documentation
This feature does not currently have automated testing.

### Other information
Not a breaking change
No migrations
Not a security concern

---------

Co-authored-by: NicholasCiuica <[email protected]>
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.

Separate TA and peer grading progress bars

3 participants