MERIT: A No-Code Platform for Unifying High-Precision Cognitive Assessment Across Laboratory and Real-World Settings
Abstract Background: Administering the same cognitive task in the laboratory and in daily life could help researchers link controlled measurements with changes in everyday performance. Doing so requires both a means of deploying the same task across settings and reliable information about when stimuli appear on participants own devices. However, on mobile devices, the delay between a request to display a stimulus and its visible onset can vary by tens of milliseconds across devices, complicating the interpretation of timing-sensitive measures collected in the field. Objective: We developed the Mobile Experimental Research Investigative Toolkit (MERIT), a no-code platform for visually authoring cognitive tasks. A single task definition supports synchronized laboratory recording and scheduled delivery through Curious, where cognitive burst sampling can be combined with ecological momentary assessment. We evaluated MERIT's visual stimulus timing and event-marker fidelity across mobile devices. Methods: MERIT supports reaction-time, continuous-control, drawing, and sequential tasks through a visual builder and a native Unity player embedded in the Curious iOS and Android apps. On 7 phones and tablets, we used photodiodes sampled at 2 kHz to measure visible stimulus onset relative to MERIT's display flip timestamps and to compare observed durations with a requested 500 ms. Photodiodes were recorded by a separately clocked system and aligned with device timestamps through Lab Streaming Layer (LSL) over USB and Wi-Fi. We also tested an older phone under rendering overload and assessed how closely LSL event markers tracked MERIT's clock. Results: Request-based timestamps preceded visible onset; stimulus requests preceded display flips by 2 to 4 refreshes, corresponding to a delay of up to approximately 67 ms at 60 Hz. MERIT's flip-based timestamps were unaffected. Across 28,787 stimulus onsets, light appeared at the top of the display 1.5 to 2.6 ms after the recorded flip, with low within-device variability (robust SD <= 0.36 ms). At the center of the display, the delay was approximately 5 to 10 ms, depending on the device. Outside the overload test, mean stimulus durations were within 0.8 ms of the requested 500 ms. During overload, MERIT's recorded durations agreed with photodiode measurements even when the device missed the requested duration. Delays were similar over USB and Wi-Fi. LSL marker timestamps tracked MERIT's clock with a median residual SD of 0.025 ms across USB and Wi-Fi. The uncertainty on absolute alignment between independently clocked devices was larger, at +/-0.7 to 1.2 ms over USB and +/- 3.0 to 5.1 ms over Wi-Fi. Conclusions: MERIT enables researchers to author a cognitive task without code, synchronize its events with electroencephalography, eye tracking, or physiological recordings in the laboratory, and deliver the same task through Curious for ecological momentary assessment or burst sampling, with submillisecond within-device variability in display timing. This workflow allows studies to test whether laboratory-characterized measures capture meaningful variation in everyday performance. Because MERIT records the timing each device achieved, timing quality can be reported per deployment.
การสนทนา
ติดตามกระทู้นี้
อีเมลแจ้งเมื่อมีคนแสดงความคิดเห็น ไม่ต้องมีบัญชี
จดหมายข่าว
สมัครรับจดหมายข่าวฟรีของเราเพื่อติดตามทุกเรื่องราวของวงการไบโอเทคอยู่เสมอ