@quesmed/types-rn 2.6.274 → 2.6.275
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -115,9 +115,9 @@ const getStationScore = (marks) => {
|
|
|
115
115
|
}
|
|
116
116
|
const { total, userScore } = marks.reduce((acc, mark) => {
|
|
117
117
|
const choices = mark.osceStationMark?.choices;
|
|
118
|
-
const
|
|
118
|
+
const isDualMark = mark.secondaryMark != null;
|
|
119
119
|
// Maximum possible score
|
|
120
|
-
acc.total +=
|
|
120
|
+
acc.total += isDualMark ? 4 : choices?.length ? 2 : 1;
|
|
121
121
|
if (choices) {
|
|
122
122
|
// paces product
|
|
123
123
|
acc.userScore += MarkMap[mark.mark] ?? 0;
|