Commit b8544ea
committed
PM-5409: Hide example scores from scoring emails
What was broken
Members received marathon match scoring-completion emails that included the relative example score alongside the provisional score.
Root cause
The submission scoring completion payload exposed aggregateExampleScore to the SendGrid email template data.
What was changed
Removed aggregateExampleScore from the submission scoring completion details and Bus email payload while keeping example scoring completion as part of the readiness and pass/fail status check. Updated the notification payload documentation to list only the provisional score for submission-phase emails.
Any added/updated tests
Updated scoring completion email and scoring result service specs to verify the submission email payload omits aggregateExampleScore and still includes aggregateProvisionalScore.1 parent 5db9157 commit b8544ea
5 files changed
Lines changed: 4 additions & 10 deletions
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
338 | | - | |
339 | 338 | | |
340 | 339 | | |
341 | 340 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
115 | | - | |
116 | 114 | | |
117 | 115 | | |
118 | 116 | | |
| |||
131 | 129 | | |
132 | 130 | | |
133 | 131 | | |
| 132 | + | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
78 | 77 | | |
79 | 78 | | |
80 | 79 | | |
81 | | - | |
| 80 | + | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| |||
460 | 459 | | |
461 | 460 | | |
462 | 461 | | |
463 | | - | |
| 462 | + | |
464 | 463 | | |
465 | 464 | | |
466 | 465 | | |
| |||
487 | 486 | | |
488 | 487 | | |
489 | 488 | | |
490 | | - | |
491 | 489 | | |
492 | 490 | | |
493 | 491 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
730 | | - | |
731 | 730 | | |
732 | 731 | | |
733 | 732 | | |
| |||
908 | 907 | | |
909 | 908 | | |
910 | 909 | | |
911 | | - | |
912 | 910 | | |
913 | 911 | | |
914 | 912 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1353 | 1353 | | |
1354 | 1354 | | |
1355 | 1355 | | |
1356 | | - | |
1357 | 1356 | | |
1358 | 1357 | | |
1359 | 1358 | | |
| |||
0 commit comments