ChildMindInstitute / mindlogger-app

MindLogger (React Native) data collection app
Other
15 stars 6 forks source link

The first response option in the slider item has the option score 0 always #2851

Open natalia-muzyka opened 1 year ago

natalia-muzyka commented 1 year ago

There are two slider items with a 1-5 range. Option score is allowed for both items. There is the configured report: both slider items are selected to calculate sum, and average, percent score. The subscale is created in the activity to sum the items (in total) and get the average (within a subscale).

Case 1: Complete the activity with the same response: slider 1 - 1, slider 2 - 1 Compare the mobile app summary, PDF report, and subscale data

image.png

Case 2: Complete the activity with the response: slider 1 - 2, slider 2 - 3 Compare the mobile app summary, PDF report, and subscale data

image.png

Actual result The first response option in the slider item has the option score 0 always. The issue is reproduced on mobile app summary and on the DataViz (subscales), but NOT reproduced in the exported/received PDF report. NOT reproduced for other options than the first one.

Expected result Every option has the score assigned in the builder

Environment: ML v0.21.48 staging iPhone 7 // iOS 13.1.1 Google Pixel 5a // Android 11 https://admin-staging.mindlogger.org/ Win 10 / Chrome 103 user-stg@ml.com / 123456 Config report v14 / Test C Applet password: Qwe123!!!

e-kass commented 1 year ago

No sliders in Ped Screener