MathTrials
This application illustrates how the CRSocket component can be used to implement remotely controlled digital task web apps. It also illustrates how server-side plugins can be used to implement authentication and storage functionality. The typical use scenario is to use a phone as controller and a tablet as responder, but the app pair can also be tested in ordinary browsers.
Functionality
The primary functionality includes:
- Signing in with a user id.
- Identifying and connecting to a responder app.
- Saving and automatically reapplying authentication and pairing info on controller and responder apps.
- Monitoring of connection states and other issues.
- Administration of tasks, consisting of random mathematical challenges
- Monitoring of response accuracy, average response time, and data saving.
- Downloading results.
Usage
- To sign in, enter "alice" or "bob" in the User field
- Both controller and responder apps must be signed in with the same user.
-
To pair with a responder, the clientId shown in the responder app (6 digits) must be entered in the Responder field in the controller app.
- The responder app will only accept connection if it is not already assigned to another controller.
-
When a responder app has been successfully paired and is interacting with a controller, the connection dialogue will be hidden.
- The Participant field must contain 3 or more alphanumeric characters.
-
When a participant id has been assigned, it is possible to run simple tasks consisting of three trials with random math challenges.
-
Active tasks on the responder will always continue to the end, regardless of connection issues, unless actively cancelled by the controller app.
- Data recorded for the current combination of user and participant id can be downloaded by pressing the Download button.