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

fix: Pull manual scores from feedbacks and not higher level scores attribute [PT-187021319] #460

Merged

Conversation

dougmartin
Copy link
Member

The feedbacks.scores attribute is not updated in the selector when the question changes so the scores need to be pulled from the individual student feedback which does change when the question is changed.

…tribute [PT-187021319]

The feedbacks.scores attribute is not updated in the selector when the question changes so the scores need to be pulled from the individual student feedback which does change when the question is changed.
Copy link

codecov bot commented Mar 20, 2024

Codecov Report

Attention: Patch coverage is 20.00000% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 91.97%. Comparing base (47e94b0) to head (9d25e3e).

Files Patch % Lines
js/util/scoring.ts 14.28% 6 Missing ⚠️
...tal-dashboard/feedback/feedback-settings-modal.tsx 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #460      +/-   ##
==========================================
- Coverage   92.05%   91.97%   -0.09%     
==========================================
  Files         174      174              
  Lines        6357     6364       +7     
  Branches     1348     1349       +1     
==========================================
+ Hits         5852     5853       +1     
- Misses        480      486       +6     
  Partials       25       25              
Flag Coverage Δ
cypress 90.29% <20.00%> (-0.09%) ⬇️
jest 62.75% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

cypress bot commented Mar 20, 2024

Passing run #1828 ↗︎

0 173 5 0 Flakiness 0

Details:

fix: Pull manual scores from feedbacks and not higher level scores attribute [PT...
Project: portal-report Commit: 9d25e3e534
Status: Passed Duration: 03:21 💡
Started: Mar 20, 2024 10:17 AM Ended: Mar 20, 2024 10:21 AM

Review all test suite changes for PR #460 ↗︎

@dougmartin dougmartin requested a review from lublagg March 20, 2024 11:56
Copy link
Contributor

@lublagg lublagg left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@dougmartin dougmartin merged commit 8b92475 into master Mar 20, 2024
7 of 9 checks passed
@dougmartin dougmartin deleted the 187021319-fix-average-score-when-switching-questions branch March 20, 2024 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants