ChildMindInstitute / mindlogger-app

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

[CST] X Trials are divided into X different screens with the TEST instructions between instead of one trial screen with X attempts #2597

Closed natalia-muzyka closed 2 years ago

natalia-muzyka commented 2 years ago

Preconditions The user is logged into the admin panel https://admin-staging.mindlogger.org/ The mobile app is installed and launched. User is logged in. qwe123@qwe123.qwe123 qwe123 There is the applet with CST touch activity (number of trials is changed to >1) applet: My own CST applet 2 v2

Steps to reproduce

  1. Start the activity on the mobile app.
  2. Fail the first trial.
  3. Pay attention to the number of attempts.
  4. Move further, pay attention to the instructions and to the next test.
  5. Complete the activity.
  6. Compare the data export with applet builder and mobile app.
  7. Observe the result.

Actual result: X Trials are divided into X different screens with the TEST instructions between. After Trial 1 is failed, the user can restart but is interrupted on the length_of_test time and redirected to the TEST instructions screen. After tapping Next, user is able to start Trial 2. Trial 2 lasts the same time as the main test (focus phase) and have no restrictions on the number of attempts. After Trial 2 the TEST instructions screen is displayed AGAIN and the main test can be started. In the report TRIAL 2 is recorded as a "continuous_phase", lambda_slope is not changed in Trial 2 after crashing the puck (not decremented to 5%). In total: the Number of trials creates the X trials screens with max 3 attempts to fail for each screen. Screens lasts the length_test_time. Lambda_slope is reduced after crash only on the very first trial screen.

Expected: There is one screen with X number of possible attempts (as in the default CST there are 3 attempts). All the attempts are recorded in one file (calibration_phase). Lambda_slope is decremented to 5% after every crash.

Notes: Reproducible for TOUCH and GYRO activity.

Environment: https://admin-staging.mindlogger.org/ Win 10 // Chrome 101 ML v0.20.3 staging iPhone XR // iOS 14.3 Samsung Galaxy S7 // Android 8 qwe123@qwe123.qwe123 / qwe123 My own CST applet 2 v2 My own CST applet 3 CST gyro version 2 Applet password Qwe123!!!

natalia-muzyka commented 2 years ago

Verified as fixed: https://www.screencast.com/t/NPiCcCsLeg

Environment: https://admin-staging.mindlogger.org/ Win 10 // Chrome 101 ML v0.20.3 staging iPhone XR // iOS 14.3 Samsung Galaxy S7 // Android 8 Google Pixel 5a // Android 11 iPad Pro (10,5-inch) MQDX2 // iOS 15 qwe123@qwe123.qwe123 / qwe123 My CST touch applet My CST gyro applet