Config File Generation
In some cases, you will encounter the problem that your experiments may include hundreds or even thousands of trials, and it is not feasible to write them all by hand. Even though reVISit provides the BaseComponents
that you can reuse to reduce redundancy in your configurations files, it can still be quite an effort to write trials and sequences manually.
In this section, you will find three examples for generating config files that are too time-consuming to do by hand.
📄️ Example 1: Fixed Order
The example we provide below is very similar to our click accuracy test that you can view in our demo page.
📄️ Example 2: Random Sample
In the previous example, we generated 100 trials with varying speeds and organized them into a fixed order sequence. Here, we will modify this click-accuracy test by introducing different colors for the on-screen dot. The new study will still present trials in increasing speed order, with the dot's color randomized for each trial.
📄️ Example 3: Latin Square
When we randomized the trials in the previous section, we placed no restrictions on what colors were seen by the user -- only that they received exactly one color at each speed. Thus, it is possible that some users always see red, or some all pink, or some just never see the color green.