<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="other" dtd-version="1.2" xml:lang="en">
    <front>
        <journal-meta>
            <journal-id journal-id-type="pmc">F1000Research</journal-id>
            <journal-title-group>
                <journal-title>F1000Research</journal-title>
            </journal-title-group>
            <issn pub-type="epub">2046-1402</issn>
            <publisher>
                <publisher-name>F1000 Research Limited</publisher-name>
                <publisher-loc>London, UK</publisher-loc>
            </publisher>
        </journal-meta>
        <article-meta>
            <article-id pub-id-type="doi">10.12688/f1000research.109729.1</article-id>
            <article-categories>
                <subj-group subj-group-type="heading">
                    <subject>Software Tool Article</subject>
                </subj-group>
                <subj-group>
                    <subject>Articles</subject>
                </subj-group>
            </article-categories>
            <title-group>
                <article-title>Introducing the Task Switching Game: a paradigm for neuroimaging and online studies</article-title>
                <fn-group content-type="pub-status">
                    <fn>
                        <p>[version 1; peer review: 1 not approved]</p>
                    </fn>
                </fn-group>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Kurtin</surname>
                        <given-names>Danielle L.</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Resources</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0001-5368-6737</uri>
                    <xref ref-type="corresp" rid="c1">a</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Jaquiery</surname>
                        <given-names>Dr. Matthew</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0003-3599-1580</uri>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Auer</surname>
                        <given-names>Dr. Tibor</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0001-5153-1424</uri>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Hampshire</surname>
                        <given-names>Prof. Adam</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a3">3</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Violante</surname>
                        <given-names>Dr. Ines R.</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                </contrib>
                <aff id="a1">
                    <label>1</label>Neuromodulation Laboratory, School of Psychology, Faculty of Health and Medical Science, University of Surrey, Guildford, GU2 7XH, UK</aff>
                <aff id="a2">
                    <label>2</label>Yeung Lab, Department of Experimental Psychology, Oxford University, Oxford, UK</aff>
                <aff id="a3">
                    <label>3</label>Imperial College London, UKDRI: Care Research and Technology Centre, Department of Brain Sciences,, Imperial College London, London, W12 0BZ, UK</aff>
            </contrib-group>
            <author-notes>
                <corresp id="c1">
                    <label>a</label>
                    <email xlink:href="mailto:d.kurtin@surrey.ac.uk">d.kurtin@surrey.ac.uk</email>
                </corresp>
                <fn fn-type="conflict">
                    <p>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>31</day>
                <month>3</month>
                <year>2022</year>
            </pub-date>
            <pub-date pub-type="collection">
                <year>2022</year>
            </pub-date>
            <volume>11</volume>
            <elocation-id>377</elocation-id>
            <history>
                <date date-type="accepted">
                    <day>22</day>
                    <month>3</month>
                    <year>2022</year>
                </date>
            </history>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Kurtin DL et al.</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <self-uri content-type="pdf" xlink:href="https://f1000research.com/articles/11-377/pdf"/>
            <abstract>
                <p>While writing this abstract I received an email, which I promptly answered. When I returned my attention to the abstract, I struggled to regain my flow of writing. In order to understand this deficit in performance associated with switching from one task to another, or "switch cost", cognitive neuroscientists use task switching paradigms to recreate similar experiences. However, many researchers may be familiar with the difficulties that accompany modifying an established paradigm to suit their experimental design, or even the challenge of creating a new, unvalidated paradigm to perturb a particular aspect of cognitive function. This software tool article introduces a novel task switching paradigm for use and adaptation in online and neuroimaging task switching studies. The paradigm was constructed with a flexible, easily-adapted framework that can accommodate a variety of designs. This paradigm utilizes three psychometrically opposed but visually similar tasks- the Digit Span, the Spatial Span, and the Spatial Rotation. In two Use Cases we demonstrate the reliable nature of overall task performance and the dependence of switch costs on certain task parameters. This task framework can be adapted for use across different experimental designs and environment, and we encourage researchers to modify the task switching game for their experiments.</p>
            </abstract>
            <kwd-group kwd-group-type="author">
                <kwd>task switching</kwd>
                <kwd>experimental design</kwd>
                <kwd>software</kwd>
                <kwd>cognitive task</kwd>
                <kwd>switch cost</kwd>
            </kwd-group>
            <funding-group>
                <award-group id="fund-1" xlink:href="http://dx.doi.org/10.13039/501100000265">
                    <funding-source>Medical Research Council</funding-source>
                    <award-id>17/18_MSD_661552</award-id>
                </award-group>
                <award-group id="fund-2" xlink:href="http://dx.doi.org/10.13039/501100000268">
                    <funding-source>Biotechnology and Biological Sciences Research Council</funding-source>
                    <award-id>BB/S008314/1</award-id>
                </award-group>
                <award-group id="fund-3">
                    <funding-source>University of Surrey</funding-source>
                    <award-id>ViceChancellorStudentship</award-id>
                </award-group>
                <funding-statement>IRV and TA were funded by the BBSRC (Ref: BB/S008314/1). DK was funded by the Vice Chancellor Studentship at the University of Surrey. MJ was funded by the Medical Research Council (Ref: 17/18_MSD_661552).</funding-statement>
                <funding-statement>
                    <italic>The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.</italic>
                </funding-statement>
            </funding-group>
        </article-meta>
    </front>
    <body>
        <sec id="sec1" sec-type="intro">
            <title>Introduction</title>
            <p>Switch costs are defined as the deficit in task performance incurred when switching between one task and another.
                <sup>
                    <xref ref-type="bibr" rid="ref1">1</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref2">2</xref>
                </sup> Behavioral switch costs are observed when comparing successive trials in which participants switch between tasks to those where the same task was repeated. This switch cost can be viewed as a result of the increasing demand on executive function incurred by restructuring one mental &#x201c;task set&#x201d; (the goals, rules, and attentional focus unique to one task) to a different one.
                <sup>
                    <xref ref-type="bibr" rid="ref3">3</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref4">4</xref>
                </sup> Put simply, switch costs may be a result of interference in cognitive restructuring processes. Neuroimaging studies classify the reconfiguration process as a result of the changes in brain network activity and functional connectivity that reflect the changes in task set.
                <sup>
                    <xref ref-type="bibr" rid="ref5">5</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref6">6</xref>
                </sup> The neural correlates of each task set may be considered the brain state unique to each task set.</p>
            <p>Many studies have investigated how unique, overlapping, dissociable, and predicative these brain states are.
                <sup>
                    <xref ref-type="bibr" rid="ref7">7</xref>
                </sup>
                <sup>&#x2013;</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref10">10</xref>
                </sup> To determine how unique the brain states for each task set are, Soreq 
                <italic toggle="yes">et al</italic> built a classifier that identifies which working memory task a participant was completing based on their brain states.
                <sup>
                    <xref ref-type="bibr" rid="ref11">11</xref>
                </sup> They showed that behaviorally distinct aspects of working memory mapped to distinct but densely overlapping patterns of activity and connectivity within the brain, known as the multiple demand cortex.
                <sup>
                    <xref ref-type="bibr" rid="ref12">12</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref13">13</xref>
                </sup> The differing mental processing characteristics that underpin participant&#x2019;s task performance are known as psychometric characteristics,
                <sup>
                    <xref ref-type="bibr" rid="ref14">14</xref>
                </sup> and three tasks used in Soreq 
                <italic toggle="yes">et al</italic>&#x2019;s study- the Digit Span, Spatial Span, and Spatial Rotation- maximized the psychometric distance across orthogonal factors- visuospatial reasoning and verbal reasoning.
                <sup>
                    <xref ref-type="bibr" rid="ref15">15</xref>
                </sup> Though all tasks recruited the multiple demand cortex, brain states could be separated according to the working memory processes recruited by each task, showing a high correspondence among behavioral constructs and resulting working memory subprocesses.
                <sup>
                    <xref ref-type="bibr" rid="ref11">11</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref16">16</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref17">17</xref>
                </sup>
            </p>
            <p>This invites the follow-up question &#x201c;How does the brain reconfigure between these different brain states?&#x201d; The literature here is sparser, with a lack of studies that model how neural networks reconfigure when transitioning from one discrete task to another (referred to as &#x201c;set switching&#x201d; or &#x201c;context switching&#x201d;
                <sup>
                    <xref ref-type="bibr" rid="ref18">18</xref>
                </sup>). In future studies we hope to characterize the trajectory neural networks take to effectively switch between tasks. Therefore, we created a cued task switching paradigm that aims to generate a behavioral and physiological switch cost for use in experiments that will characterize, model, and modulate the switch cost. We chose three psychometrically opposed tasks from Soreq 
                <italic toggle="yes">et al</italic>
                <sup>
                    <xref ref-type="bibr" rid="ref11">11</xref>
                </sup> to force distinct reconfiguration from one brain state to the next. Two versions of the task exist- one is written in JavaScript to collect behavioral data online, and the other is written in Python for use in neuroimaging studies. These versions are designed to be highly similar to one another. We describe both in detail below, then present the results of two pilot studies. The pilot studies aimed to evaluate whether the paradigm is within an optimal difficulty range, and whether the task creates a switch cost in reaction time or accuracy.</p>
        </sec>
        <sec id="sec2" sec-type="methods">
            <title>Methods</title>
            <sec id="sec3">
                <title>Implementation</title>
                <p>In this section, we first provide a description of each of the three tasks&#x2019; features. Then, we detail how the overall task is compiled, and what sections may be modified to suit different experimental designs.</p>
            </sec>
            <sec id="sec4">
                <title>Task Descriptions</title>
                <p>The cued task switching paradigm switches between three tasks- a Spatial Rotation, Spatial Span, and Digit Span task. Variants of these tasks have been created and implemented over the years.
                    <sup>
                        <xref ref-type="bibr" rid="ref19">19</xref>
                    </sup>
                    <sup>,</sup>
                    <sup>
                        <xref ref-type="bibr" rid="ref10">10</xref>
                    </sup> The essential components of each task are clarified below.</p>
                <p>All tasks use a similar stimuli presentation and response framework to reduce visual and motor confounds. Stimuli are created using normed pixel units, and the screen angle is standardized to reduce color variation across devices. Stimuli are presented on a 6x6 grid in the middle of the screen. To ensure the tasks are visually similar, each task&#x2019;s stimulus grid flashes cells and contain numbers, even if not strictly necessary for the task. After presentation is complete, the stimulus grid disappears, and three answer grids appear in a row across the screen. One of the answer grids contains the correct answer, and the other two have one of the cells from the correct answered shifted, meaning two of the three grids&#x2019; answers are incorrect by one cell (
                    <xref ref-type="fig" rid="f1">Figure 1</xref>).</p>
                <fig fig-type="figure" id="f1" orientation="portrait" position="float">
                    <label>Figure 1. </label>
                    <caption>
                        <title>Depiction of how A. trials build into a run of a task. These tasks form B. blocks, which together, compose C. a session.</title>
                        <p>This depiction represents the task described in the manuscript, but all components shown can be changed to suit the needs of other experiments.</p>
                    </caption>
                    <graphic id="gr1" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121272/9e8487f0-6a46-4a0b-970a-d3bca601c95f_figure1.gif"/>
                </fig>
                <p>
                    <bold>Digit Span</bold> measures verbal working memory capacity. In this task, a sequence of 6 numbers within a shaded box on the stimulus grid appears one after another. One of the three answer grids will contain the correct sequence of numbers, and the other two will be correct except for one digit. This is a variant of the WAIS-R intelligence test that evaluates working memory.
                    <sup>
                        <xref ref-type="bibr" rid="ref19">19</xref>
                    </sup> 
                    <bold>Spatial Span</bold> tests visuospatial working memory capacity. 6 squares flash digits appearing in a random sequence, one after another, in the stimulus grid. The correct answer grid will display the same sequence of numbers that flashed in the stimulus grid, while the other two display a sequence that is incorrect by one cell. Finally, 
                    <bold>Spatial Rotation</bold> measures the ability of the participant to mentally rotate objects in memory. Similar to the Spatial Span, shaded cells appear one after another, though in this task the previous cells continue to flash with each new addition. The resulting end stimulus is a flashing grid of 6 cells. The answer grids contain a 90, 180, or 270-degree rotation of the final grid, with two of the three answer grids incorrect by one cell. Gifs showing trials of each task can be found here: 
                    <ext-link ext-link-type="uri" xlink:href="https://github.com/daniellekurtin/task_switching_paradigm/tree/master/TaskGifs">https://github.com/daniellekurtin/task_switching_paradigm/tree/master/TaskGifs</ext-link>.</p>
            </sec>
            <sec id="sec5">
                <title>Compiling the paradigm</title>
                <p>We describe the implementation of the task switching paradigm as created for our experimental use, rather than the software package as a whole. We provide the software package as an example of how it may be implemented and used for an experiment.</p>
                <p>Running the 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">main</mml:mtext>
                            <mml:mo>.</mml:mo>
                            <mml:mi mathvariant="italic">py</mml:mi>
                        </mml:math>
                    </inline-formula> script initiates an implementation of the task switching paradigm. The paradigm consists of blocks composed of a sequence of tasks. Each task is composed of a run of trials. Trials consist of stimuli and answer grids (
                    <xref ref-type="fig" rid="f1">Figure 1</xref>). Runs are set up so that the last run on one block continues as the first run on another block. For example, if the last run within a block consists of 9 trials of Digit Span, then the break could occur on trial 7, and after the break, the remaining two trials would be the first two trials of the next block. This approach maximizes the number of task switches in each block while keeping the number of runs balanced across each of the three task types. The 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">main</mml:mtext>
                            <mml:mo>.</mml:mo>
                            <mml:mi mathvariant="italic">py</mml:mi>
                        </mml:math>
                    </inline-formula> implementation begins with a popup to record participant and session information (
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">taskSwitching</mml:mtext>
                            <mml:mo>.</mml:mo>
                            <mml:mtext mathvariant="italic">participant</mml:mtext>
                            <mml:mo>_</mml:mo>
                            <mml:mi mathvariant="italic">gui</mml:mi>
                            <mml:mo>.</mml:mo>
                            <mml:mi mathvariant="italic">py</mml:mi>
                        </mml:math>
                    </inline-formula>). After the popup is dismissed, a scanner sync process is initiated, creating a Pythonic interface for neuroimaging experiments. Then 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">main</mml:mtext>
                            <mml:mo>.</mml:mo>
                            <mml:mi mathvariant="italic">py</mml:mi>
                        </mml:math>
                    </inline-formula> constructs a demo that participants may play multiple times to ensure their familiarity with how to play the tasks. The demo&#x2019;s parameters are set by 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">taskSwitching</mml:mtext>
                            <mml:mo>.</mml:mo>
                            <mml:mtext mathvariant="italic">ExperimentTaskSwitch</mml:mtext>
                        </mml:math>
                    </inline-formula> class (and its parent 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">taskSwitching</mml:mtext>
                            <mml:mo>.</mml:mo>
                            <mml:mtext mathvariant="italic">Experiment</mml:mtext>
                        </mml:math>
                    </inline-formula> class), with trials determined by 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">main</mml:mtext>
                            <mml:mo>.</mml:mo>
                            <mml:mi mathvariant="italic">py</mml:mi>
                        </mml:math>
                    </inline-formula>. Then, 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">main</mml:mtext>
                            <mml:mo>.</mml:mo>
                            <mml:mi mathvariant="italic">py</mml:mi>
                        </mml:math>
                    </inline-formula> constructs a new task blueprint using the default parameters set by 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">taskSwitching</mml:mtext>
                            <mml:mo>.</mml:mo>
                            <mml:mtext mathvariant="italic">ExperimentTaskSwitch</mml:mtext>
                        </mml:math>
                    </inline-formula> class. If desired, implementations may specify the types of tasks the paradigm will switch between, the length of the cue cards, the number of trials per task, the duration of each stimuli, and more, as demonstrated in the tutorial construction. A pseudorandomized list of trials, runs, and blocks are constructed based on the provided specifications, ensuring there are an equal number of switches for each task type. Each task&#x2019;s trials are instances of classes unique to each task type: 
                    <italic toggle="yes">taskSwitching.TrialDigitSpan</italic>, 
                    <italic toggle="yes">taskSwitching.TrialSpatialSpan</italic>, and 
                    <italic toggle="yes">taskSwitching.TrialSpatialRotation.</italic> Parameters may be set at the Experiment, Component, Trial, or specific trial task level, with the later parameters overriding earlier ones where there are conflicts. Values that can be set in this way include how stimuli and answers are created and displayed, and for how long.</p>
                <p>Trials are instances of Components, and cue cards, instructions, and breaks are also components. 
                    <italic toggle="yes">taskSwitching. Components</italic> include the following: 
                    <italic toggle="yes">taskSwitching.ComponentRest</italic> determines the rest screen; 
                    <italic toggle="yes">taskSwitching.ComponentStart</italic> is the screen before participants begin the task switching game; 
                    <italic toggle="yes">taskSwitching.ComponentInfoCard</italic> creates the cue cards that prompt a task switch; and 
                    <italic toggle="yes">taskSwitching.ComponentTrialGap</italic> fixes the screen that appears between trials.</p>
                <p>As aforementioned, trials consist of stimuli and their answer grids, which are constructed according to the 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">taskSwitching</mml:mtext>
                            <mml:mo>.</mml:mo>
                            <mml:mtext mathvariant="italic">Grid</mml:mtext>
                        </mml:math>
                    </inline-formula> class. Finally, as the task is played, information is saved to a.csv file. What is saved and the file format is set by the 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">taskSwitching</mml:mtext>
                            <mml:mo>.</mml:mo>
                            <mml:mtext mathvariant="italic">Experiment</mml:mtext>
                        </mml:math>
                    </inline-formula> class.</p>
            </sec>
            <sec id="sec6">
                <title>Operation</title>
                <p>This task is executable in a Pythonic environment. Touch events (i.e., participant&#x2019;s responses) can be collected via button box, through keyboard strokes, and by mouse clicks. Responses minimize motor confounds through requiring a single button press or click to select an answer grid for all three tasks. We will now describe the workflow and design features for both the neuroimaging and online versions.</p>
            </sec>
            <sec id="sec7">
                <title>Neuroimaging studies</title>
                <p>The paradigm begins with a participant GUI that requires entering the participant ID, age, gender, and session ID (fields can be adjusted depending on specific study needs). Participants then play a demo that includes each of the tasks at least once. The demo includes performance feedback: after participants select an answer grid, a green box will highlight either the correct answer grid, or the space it would occupy. This gives participants a better understanding of how well they comprehend the task&#x2019;s rules. After a loading screen the participant is presented with a cue card stating they may press any button on the button box to begin. Once a button is pressed, the first cue card is presented, followed by the first trial of that task. After the first stimulus is finished, there is a variable delay before participant responses are enabled. Participants then have a window to respond. Once the participant selects their answer grid, the other two disappear, and the first answer grid is held on the screen for the remainder of the response window. This serves two purposes. First, by eliminating the other answer grids, we provide feedback that their answer has been recorded, preventing repetitive button presses. Second, we eliminate the potential for participants to compare their answer to the other answer girds. Once the trial is over, there is a variable intertrial interval (e.g. 100 to 1100 msec) to introduce a jitter. The jitter is used to improve reliability of fMRI signals, and increase the spatio-temporal resolutions.
                    <sup>
                        <xref ref-type="bibr" rid="ref20">20</xref>
                    </sup> The number of trials per run range is modifiable (5-10 might be a reasonable number for fMRI experiments). Once the task is complete, a cue card stating &#x201c;Next Task: [Digit Span/Spatial Span/Spatial Rotation]&#x201d; is displayed to indicate which task is next. There are no task repeats (i.e., if the previous task was the Digit Span, the next would be either the Spatial Span or Spatial Rotation). The duration of the cue card is a random choice of either 0.5 or 4.0 seconds, though the number of cue cards and their length can be varied. This enables future investigation into the effects of short vs long cue presentation on neural network dynamics and task performance. After the trials within the block are complete, a break occurs (though the presence and/or duration of a break can be modified). The break screen contains a centered fixation cross, and a countdown until the task restarts. Once all blocks are complete, the task quits, and data is saved in a.csv file. Participant reaction time is computed as the difference between when they submit an answer and when a response was enabled for that trials. Reaction time is measured in seconds with hundred-millionths period precision.</p>
            </sec>
            <sec id="sec8">
                <title>Online studies</title>
                <p>Our version of the task switching paradigm is hosted on the University of Surrey&#x2019;s web servers. The university servers serve three main functions: enabling participants to access and play the task, recording their performance, and storing &#x201c;task blueprints&#x201d; (
                    <xref ref-type="fig" rid="f2">Figure 2</xref>). These &#x201c;task blueprints&#x201d; are pre-compiled sessions (the order of tasks, the number of trials per task, etc), and are the same as the tasks generated locally. Uploading the task blueprints is simple, and reduces the burden on the server. These blueprints are created using 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mtext mathvariant="italic">serve</mml:mtext>
                            <mml:mo>&#x2212;</mml:mo>
                            <mml:mtext mathvariant="italic">trial</mml:mtext>
                            <mml:mo>&#x2212;</mml:mo>
                            <mml:mtext mathvariant="italic">sequences</mml:mtext>
                            <mml:mo>.</mml:mo>
                            <mml:mi mathvariant="italic">py</mml:mi>
                        </mml:math>
                    </inline-formula>, with dependencies and scripts used to communicate among servers located in the 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mi mathvariant="italic">www</mml:mi>
                        </mml:math>
                    </inline-formula> folder of the paradigm&#x2019;s repository. Participants access the task from the link 
                    <ext-link ext-link-type="uri" xlink:href="http://www.task-switching-game.surrey.ac.uk">http://www.task-switching-game.surrey.ac.uk</ext-link>. They are walked through a tutorial with written instructions and accompanying animations. Participants then play the same demo described in the above section. After the demo, participants are invited to either play it again, or continue on to the main task. Once they continue, they read an ethics statement and fill out consent checklists and their participant information (participant ID, age, sex). Next, they receive the instruction to &#x201c;Press next to begin.&#x201d; At this stage the online version of the task is as the neuroimaging version, except it consists of one, 20-minute long block, and answer selection is done using the mouse (the task is configured to work using a keyboard, mouse, or button box).</p>
                <fig fig-type="figure" id="f2" orientation="portrait" position="float">
                    <label>Figure 2. </label>
                    <caption>
                        <title>Schematic of various servers used to execute the online version of the paradigm and their broad functions.</title>
                        <p>Participants accessed the task using a link that can be opened via web browsers using either a mobile device or computer (though we specified we prefer that participants used a computer).</p>
                    </caption>
                    <graphic id="gr2" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121272/9e8487f0-6a46-4a0b-970a-d3bca601c95f_figure2.gif"/>
                </fig>
            </sec>
        </sec>
        <sec id="sec9">
            <title>Use Case 1: Online study</title>
            <p>The study was advertised on SONA, a participant recruitment and experiment management system that connects participants to ongoing studies. Participants could sign up and play the task switching game, and were awarded course credit for completion. All participants gave informed consent. This study was conducted with ethical approval by the University of Surrey Ethics Committee.</p>
            <p>Parameters for this use case are as follows:
                <list list-type="bullet">
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Delay from stimulus end to participant response window: 0.15 s</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Participant response window: 3.0 s</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Block break: 120.0 s</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Response mode: mouse</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Inter-trial interval: 100-1100 msec</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Cue card length: 0.5 or 4.0 s</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Number of trials per occurrence: 6-9 trials</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>Range of trials: 176-187</p>
                    </list-item>
                </list>
            </p>
            <p>Data analysis was conducted using the 
                <inline-formula>
                    <mml:math display="inline">
                        <mml:mo>.</mml:mo>
                        <mml:mi mathvariant="italic">csv</mml:mi>
                    </mml:math>
                </inline-formula> file output by the online task in a MATLAB environment. Non-normally distributed performance data was normalized by computing the z-score with a center of zero and one standard deviation. Generalized linear mixed effects models and ttests assessed the influence of task type and occurrence on performance. Occurrence refers to the number of times a participant has played a task. For example, if the task starts with a Digit Span, then switches to the Spatial Rotation, then back to the Digit Span, the occurrences would be 1, 1, 2.</p>
            <sec id="sec10">
                <title>Results</title>
                <p>
                    <bold>Data cleaning</bold> The total number of online participants was n=87, with a mean age of 19.68, and all participants were university students. We removed any sessions with less than 100 trials (n=7). There were no participants that had 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mo>&gt;</mml:mo>
                        </mml:math>
                    </inline-formula>20% omissions in any task. We removed participants that performed below chance level for any task (n=19), leaving us with a final cohort of 61 participants (n=52 females). Each participant had an average of 178.9 trials (sd=12.37) overall.</p>
                <p>
                    <bold>Overall performance-reaction time and accuracy</bold> Performance was evaluated using accuracy and mean reaction time (MRT) (
                    <xref ref-type="table" rid="T1">Table 1</xref>). Kolgov-Smirnov tests show both accuracy (D(1509)=0.55, p
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mo>&#x2264;</mml:mo>
                        </mml:math>
                    </inline-formula>0.0001) and MRT (D(10909)=1, p
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mo>&#x2264;</mml:mo>
                        </mml:math>
                    </inline-formula>0.0001) are non-normally distributed, and were thus normalized.</p>
                <table-wrap id="T1" orientation="portrait" position="float">
                    <label>Table 1. </label>
                    <caption>
                        <title>Behavioral performance for the first online pilot.</title>
                    </caption>
                    <table content-type="article-table" frame="hsides">
                        <thead>
                            <tr>
                                <th align="left" colspan="1" rowspan="1" valign="middle"/>
                                <th align="left" colspan="1" rowspan="1" valign="middle">Overall mean &#x00b1; sd</th>
                                <th align="left" colspan="1" rowspan="1" valign="middle">Digit Span mean &#x00b1; sd</th>
                                <th align="left" colspan="1" rowspan="1" valign="middle">Spatial Span mean &#x00b1; sd</th>
                                <th align="left" colspan="1" rowspan="1" valign="middle">Spatial Rotation mean &#x00b1; sd</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">MRT (ms)</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">1826.5 &#x00b1; 501</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">1837.7 &#x00b1; 505</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">1826.2 &#x00b1; 489</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">1813.1 &#x00b1; 511</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">Accuracy</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">60.57% &#x00b1; 22</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">66.31% &#x00b1; 23</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">53.68% &#x00b1; 21</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">61.51% &#x00b1; 21</td>
                            </tr>
                        </tbody>
                    </table>
                </table-wrap>
                <p>There was a significant effect of task type on accuracy (F[2,1503]=10.8, p=2.1e-05). Post-hoc T-tests show each task&#x2019;s accuracy is significantly different than the others, with Digit Span performing 12.6% and 4.8% better than Spatial Span (t(502)=-9.6, p=3.1e-20) and Spatial Rotation (t(502)=-3.6, p=3.7e-04) respectively, (
                    <xref ref-type="fig" rid="f3">Figure 3A</xref>). Spatial Rotation performance was 7.8% higher than Spatial Span performance (t(502)=-6.1, p=5.5e-11). There was no significant effect of occurrence on accuracy (F[1,1503]=2.6, p=0.10) (
                    <xref ref-type="fig" rid="f3">Figure 3B</xref>).</p>
                <fig fig-type="figure" id="f3" orientation="portrait" position="float">
                    <label>Figure 3. </label>
                    <caption>
                        <title>Violin plots show accuracy A. per task type and B. occurrence, as well as MRT A. per task type and D. occurrence.</title>
                        <p>The top and bottom edges of the grey boxes represent the 25th and 75th percentiles, with the mean being the white dot. Extension of the whiskers limits outliers. A kernel density estimate of the data provides the edges to the violin plot, and individual data points are dark blue. 
                            <inline-formula>
                                <mml:math display="inline">
                                    <mml:mo>&#x2217;</mml:mo>
                                </mml:math>
                            </inline-formula> denotes significance at 
                            <inline-formula>
                                <mml:math display="inline">
                                    <mml:mi>p</mml:mi>
                                    <mml:mo>&#x2264;</mml:mo>
                                    <mml:mn>0.05</mml:mn>
                                </mml:math>
                            </inline-formula> after Bonferroni correction for multiple comparisons.</p>
                    </caption>
                    <graphic id="gr3" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121272/9e8487f0-6a46-4a0b-970a-d3bca601c95f_figure3.gif"/>
                </fig>
                <p>There was a significant effect of occurrence on MRT (F[1,1481]=8.4, p=0.004) (
                    <xref ref-type="fig" rid="f3">Figure 3D</xref>). A Bland-Altman plot was created to investigate whether the effect of occurrence was a result of unreliable RT recording or learning effects. There are no remarkable effects on the data, as shown in the (
                    <xref ref-type="fig" rid="f4">Figure 4A</xref>). There was no significant effect of task type on MRT (F[2,1481]=0.1, p=0.92) (
                    <xref ref-type="fig" rid="f3">Figure 3C</xref>).</p>
                <fig fig-type="figure" id="f4" orientation="portrait" position="float">
                    <label>Figure 4. </label>
                    <caption>
                        <title>Bland-Altman plots of the difference in mean reaction time between the first and second half of the session per participant (y-axis) against the mean reaction time (x-axis) for the (A.) first and (B.) second Use Cases.</title>
                        <p>Plots show the mean (solid line), 95% confidence limits (dashed lines), and the data points (blue points).</p>
                    </caption>
                    <graphic id="gr4" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121272/9e8487f0-6a46-4a0b-970a-d3bca601c95f_figure4.gif"/>
                </fig>
                <p>
                    <bold>Switch Cost</bold> There is a significant overall switch cost in accuracy (t(1447)=3.0, p=0.003) (
                    <xref ref-type="fig" rid="f5">Figure 5A</xref>) but not MRT (t(811)=0.85, p=0.39) (
                    <xref ref-type="fig" rid="f5">Figure 5B</xref>). Because there is an effect of task type on accuracy, we looked at whether there was an effect of switch on each task&#x2019;s performance. After Bonferroni correction for multiple comparisons, there is a significant switch cost in Spatial Span (F[1,120]=7.4, p=0.008) and Spatial Rotation (F[1,120]=7.4, p=0.007) accuracy, but not Digit Span (F[1,120]=0.25, p=0.62) 
                    <xref ref-type="fig" rid="f5">Figure 5C-E</xref>).</p>
                <fig fig-type="figure" id="f5" orientation="portrait" position="float">
                    <label>Figure 5. </label>
                    <caption>
                        <title>Violin plots show switch costs in A. accuracy, B. MRT, and C. accuracy per task type.</title>
                        <p>The top and bottom edges of the grey boxes represent the 25th and 75th percentiles, with the mean being the white dot. Extension of the whiskers limits outliers. A kernel density estimate of the data provides the edges to the violin plot, and individual data points are dark blue. 
                            <inline-formula>
                                <mml:math display="inline">
                                    <mml:mo>&#x2217;</mml:mo>
                                </mml:math>
                            </inline-formula> denotes significance at 
                            <inline-formula>
                                <mml:math display="inline">
                                    <mml:mi mathvariant="normal">p</mml:mi>
                                    <mml:mo>&#x2264;</mml:mo>
                                    <mml:mn>0.05</mml:mn>
                                </mml:math>
                            </inline-formula> after Bonferroni correction for multiple comparisons.</p>
                    </caption>
                    <graphic id="gr5" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121272/9e8487f0-6a46-4a0b-970a-d3bca601c95f_figure5.gif"/>
                </fig>
                <p>We also sought to determine whether switch cost was influenced by switch type- the six possible combinations of how one task may switch to another. For example, a switch from Digit Span to Spatial Span is one switch type, and vice versa, another. We found a significant effect of switch type (F[1,425]=6.8, p=0.009) on accuracy but not MRT (F[1,405]=1.3, p=0.26). Post-hoc ttests found no significant differences in accuracy per switch type after Bonferroni corrections for multiple comparisons.</p>
            </sec>
            <sec id="sec11">
                <title>Discussion</title>
                <p>In this first online pilot of the task switching paradigm we found task type influenced accuracy. The better performance in the Digit Span compared to the Spatial Span is not surprising. A study of 44,600 participants playing a range of cognitive tasks online found that, when playing the Digit Span, the average number of stimuli remembered by participants is 7, whereas the average number of stimuli remembered for the Spatial Span is 6.
                    <sup>
                        <xref ref-type="bibr" rid="ref19">19</xref>
                    </sup> This means that, using our 6x6 grid, the number of stimuli to retain for the Digit Span is well within the abilities of our population. The discrepancy in performance between the Digit Span and Spatial Rotation is less clear. However, in a previous study comparing performance between working memory tasks that greatly resemble the Digit Span and Spatial Rotation, performance on the Digit Span analog was significantly better than their analog visuospatial task.
                    <sup>
                        <xref ref-type="bibr" rid="ref21">21</xref>
                    </sup> Finally, the difference in performance between the Spatial Span and the Spatial Rotation may be a result of participant&#x2019;s ability to form effective strategies for each task. A study by Gardony 
                    <italic toggle="yes">et al</italic> investigated mental rotation tasks and found that, as difficulty increased, cognitive strategies shifted in order to meet the demands of the task.
                    <sup>
                        <xref ref-type="bibr" rid="ref22">22</xref>
                    </sup> Participants playing the Spatial Span can more easily rely on recognition strategies than in the Spatial Rotation, where participants not only need to recall patterns, but perform a mental rotation of the patterns as well. The additional demands of the Spatial Rotation task may have resulted in the discrepancy between Spatial Span and Spatial Rotation performance.</p>
                <p>We found an influence of occurrence on MRT. The greatest difference in MRT per occurrence is between occurrence 1 and 7. MRT in occurrence 7 is 6% faster than during occurrence 1; a marginal improvement over the duration of the experiment.</p>
                <p>The switch cost in accuracy, but not reaction time, demonstrates a partial success of our aim to create a task switching paradigm that forces a behavioral switch cost. The presence of switch costs in accuracy, but not reaction time, may be a function of the response window imposed on participants. A study by Hughes 
                    <italic toggle="yes">et al</italic> found that switch accuracy fell 29% by introducing a response time window,
                    <sup>
                        <xref ref-type="bibr" rid="ref23">23</xref>
                    </sup> but this switch cost did not extend to reaction time. Our response window of three seconds is likely enough to induce a time pressure on participants, as well as the added switch cost in accuracy, but not reaction time. The explicit cues informing participants a switch is about to occur may have reduced the behavioral switch cost. A study by Merian also using a random, cued, task switching paradigm reported a smaller switch cost than the switch cost observed in a study by Monsell without random task switches.
                    <sup>
                        <xref ref-type="bibr" rid="ref1">1</xref>
                    </sup>
                    <sup>,</sup>
                    <sup>
                        <xref ref-type="bibr" rid="ref24">24</xref>
                    </sup> Tornay and Milan compared the two studies and hypothesized that the cue for a change in task gives participants time to suppress the current task set. This initiates the cognitive restructuring process of task switching, thus increasing participants&#x2019; ability to quickly reconfigure to the demands of the new task.
                    <sup>
                        <xref ref-type="bibr" rid="ref4">4</xref>
                    </sup> Our cue card intervals of 0.5 and 4.0 seconds were likely long enough to allow participants to suppress the currently active task set when the cue card is shown. This preparatory process may decrease the switch cost, but not the cognitive restructuring process of switching. We did not collect neuroimaging data for this study, but we plan to in the future, and will investigate this arm of research.</p>
                <p>Due to an error in the data collection process, we were unable to assess how the variation in cue card presentation length effected participant&#x2019;s performance. Because of the potentially significant influence this variability may have had on participant&#x2019;s performance, we standardized the cue card length from 4.0 seconds to 0.5 seconds, and conducted a second round of data collection. The results from this second use case are detailed below.</p>
            </sec>
        </sec>
        <sec id="sec12">
            <title>Use Case 2: Online study with standardized cue card length</title>
            <p>As a result of our inability to calculate the impact of cue card length on MRT and accuracy, we standardized the cue card length to be 0.5 seconds. Our data collection and analysis were conducted using the same methods as above.</p>
            <sec id="sec13">
                <title>Results</title>
                <p>
                    <bold>Data cleaning</bold> The total number of online participants was n=40, and all participants were university students. We removed any sessions with less than 100 trials (n=4). We also removed participants that had 
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mo>&gt;</mml:mo>
                        </mml:math>
                    </inline-formula>20% omissions in any task (n=0), participants that performed below chance level for any task (n=3), leaving us with a final n=33 (n=31 females) Each participant had an average of 182 trials (sd = 3.35) overall.</p>
                <p>
                    <bold>Overall performance-reaction time and accuracy</bold> Accuracy and MRT were used to evaluate performance (
                    <xref ref-type="table" rid="T2">Table 2</xref>). Kolgov-Smirnov tests show both accuracy (D(825)=0.55, p=4.4e-215) and MRT (D(825)=1, p
                    <inline-formula>
                        <mml:math display="inline">
                            <mml:mo>&#x2264;</mml:mo>
                        </mml:math>
                    </inline-formula>0.0001) are non-normally distributed.</p>
                <table-wrap id="T2" orientation="portrait" position="float">
                    <label>Table 2. </label>
                    <caption>
                        <title>Behavioral performance for the second online pilot.</title>
                    </caption>
                    <table content-type="article-table" frame="hsides">
                        <thead>
                            <tr>
                                <th align="left" colspan="1" rowspan="1" valign="middle"/>
                                <th align="left" colspan="1" rowspan="1" valign="middle">Overall mean &#x00b1; sd</th>
                                <th align="left" colspan="1" rowspan="1" valign="middle">Digit Span mean &#x00b1; sd</th>
                                <th align="left" colspan="1" rowspan="1" valign="middle">Spatial Span mean &#x00b1; sd</th>
                                <th align="left" colspan="1" rowspan="1" valign="middle">Spatial Rotation mean &#x00b1; sd</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">MRT (ms)</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">1844.0 &#x00b1; 496</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">1872.5 &#x00b1; 481</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">1821.6 &#x00b1; 519</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">1831.5 
                                    <inline-formula>
                                        <mml:math display="inline">
                                            <mml:mo>&#x00b1;</mml:mo>
                                        </mml:math>
                                    </inline-formula> 492</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">Accuracy</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">60.34% &#x00b1; 23</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">68.02% &#x00b1; 22</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">53.16% &#x00b1; 21</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">62.50% &#x00b1; 21</td>
                            </tr>
                        </tbody>
                    </table>
                </table-wrap>
                <p>There was a significant effect of task type (F[1,819]=3.1, p=0.047) (
                    <xref ref-type="fig" rid="f5">Figure 5A</xref>), but not occurrence (F[1,819]=0.01, p=0.94) (
                    <xref ref-type="fig" rid="f6">Figure 6B</xref>), on accuracy. Post-hoc T-tests show each task&#x2019;s accuracy is significantly different than one another, with Digit Span performing 14.9% and 5.5% better than Spatial Span (t(274)=-5.6, p=4.9e-08) and Spatial Rotation (t(274)=-3.4, p=7.8e-04), respectively. Spatial Rotation performance was 9.34% higher than Spatial Span performance (t(274)=-9.1, p=2.3e-17).</p>
                <fig fig-type="figure" id="f6" orientation="portrait" position="float">
                    <label>Figure 6. </label>
                    <caption>
                        <title>Violin plots show accuracy A. per task type and B. occurrence, as well as MRT A. per task type and D. occurrence.</title>
                        <p>The top and bottom edges of the grey boxes represent the 25th and 75th percentiles, with the mean being the white dot. Extension of the whiskers limits outliers. A kernel density estimate of the data provides the edges to the violin plot, and individual data points are dark blue. 
                            <inline-formula>
                                <mml:math display="inline">
                                    <mml:mo>&#x2217;</mml:mo>
                                </mml:math>
                            </inline-formula> denotes significance at 
                            <inline-formula>
                                <mml:math display="inline">
                                    <mml:mi mathvariant="normal">p</mml:mi>
                                    <mml:mo>&#x2264;</mml:mo>
                                    <mml:mn>0.05</mml:mn>
                                </mml:math>
                            </inline-formula> after Bonferroni correction for multiple comparisons.</p>
                    </caption>
                    <graphic id="gr6" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121272/9e8487f0-6a46-4a0b-970a-d3bca601c95f_figure6.gif"/>
                </fig>
                <p>There was a significant effect of occurrence on MRT (F[1,813]=12.0, p=0.0006) (
                    <xref ref-type="fig" rid="f6">Figure 6D</xref>). A Bland-Altman plot was created to investigate whether the effect of occurrence was a result of unreliable RT recording or learning effects. There are no remarkable effects on the data, as shown in the (
                    <xref ref-type="fig" rid="f4">Figure 4B</xref>). There was no significant effect of task type on MRT (F[2,813]=0.39, p=0.67) (
                    <xref ref-type="fig" rid="f6">Figure 6C</xref>).</p>
                <p>
                    <bold>Switch cost</bold> There is no significant switch cost in accuracy (t(791)=-0.69, p=0.49) (
                    <xref ref-type="fig" rid="f7">Figure 7A</xref>) or MRT (t(469)=-0.34, p=0.73) (
                    <xref ref-type="fig" rid="f7">Figure 7B</xref>). There was no significant effect of switch type on accuracy (F[1,229]=0.01, p=0.92).</p>
                <fig fig-type="figure" id="f7" orientation="portrait" position="float">
                    <label>Figure 7. </label>
                    <caption>
                        <title>Violin plots show switch costs in A. accuracy and B. MRT. The top and bottom edges of the grey boxes represent the 25th and 75th percentiles, with the mean being the white dot.</title>
                        <p>Extension of the whiskers limits outliers. A kernel density estimate of the data provides the edges to the violin plot, and individual data points are dark blue.</p>
                    </caption>
                    <graphic id="gr7" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/121272/9e8487f0-6a46-4a0b-970a-d3bca601c95f_figure7.gif"/>
                </fig>
            </sec>
            <sec id="sec14">
                <title>Discussion</title>
                <p>This online pilot sought to evaluate performance on the task switching paradigm and see how the standardization of cue cards influenced performance.</p>
                <p>There was high similarity between the first and second pilot, with both pilots showing an effect of occurrence on MRT and task type on accuracy. However, the switch cost in the Spatial Span and Spatial Rotation observed in the first pilot was not present in the second. The loss of switch cost is surprising, especially given that the cue card length was standardized to 0.5 seconds as opposed to 4.0 second, suggesting that switch costs may by driven by a longer cue card.</p>
                <p>This is supported by a task switching study by Peri&#x00e1;nez and Barcelo
                    <sup>
                        <xref ref-type="bibr" rid="ref25">25</xref>
                    </sup> that studied the role of exogenous (cues) and endogenous (task-set activation) in the behavior and EEG markers of switch costs. Their experimental paradigm randomly varied the cue-trial interval (CTI) between participants as either 800 or 2000 ms. They found that the shorter CTI did not consistently lead to a greater switch cost, and in fact, influenced a cue-switch 
                    <italic toggle="yes">benefit.</italic> The results from our study are similar- Use Case 1, which had CTIs of either 500 ms or 4000 ms, exhibited a greater switch cost than in Use Case 2, which solely had CTIs of 500 ms. Their EEG results suggest this phenomena may be a result of reduced P3 activity that arises from an interplay between time-dependent endogenous (anticipatory task set reconfiguration) and exogenous (cue) factors. We suggest future studies utilize the neuroimaging compatibility of our task switching paradigm to replicate this finding.</p>
            </sec>
            <sec id="sec15">
                <title>Limitations</title>
                <p>This task contains two visual confounds. First, in the Spatial Span and Digit Span the boxes disappear after the initial presentation; in the Spatial Rotation, they build upon one another. The resulting end image is a visually more complex image. This confound is unavoidable due to the nature of the Spatial Rotation task. Second, the stimuli in the Digit Span present in half the time as the stimuli for the Spatial Span and Spatial Rotation, 0.25 seconds as opposed to 0.50 seconds, respectively. This difference was implemented after rounds of piloting the task, where it was noticed the Digit Span was markedly easier than the other two tasks. By reducing the stimulus presentation time we increase the difficulty of the Digit Span, making it more comparable to the other two tasks. This is important, as cognitive load influences the brain network activity and connectivity within a task.
                    <sup>
                        <xref ref-type="bibr" rid="ref26">26</xref>
                    </sup> Future researchers are encouraged to modify these parameters as it suits their task. The task switching paradigm was built with flexibility in mind, so it may be easily adapted to various experimental designs.</p>
            </sec>
        </sec>
        <sec id="sec16" sec-type="conclusions">
            <title>Conclusions</title>
            <p>Searching for &#x201c;task switching paradigms&#x201d; reveals a staggering amount of task designs, theories, and neuroimaging data. The quantity and heterogeneity of experimental designs address specific facets of switch costs, and by proxy, cognitive function. The authors are not aware of an existing framework that can be adapted easily to suit the demands of different experiments, leaving researchers to either re-use old tasks or create entirely new ones to suit their experimental designs. We needed to construct a novel task switching paradigm, and chose to create one within a framework that can be adapted to suit the needs of different experiments. Here we introduce a flexible software package to create task switching paradigms. It can accommodate nuanced designs within a stable and robust framework for on or offline studies, and is compatible with neuroimaging methods. The task switching paradigm does induce minimal switch costs, but efforts are underway to improve the switch cost.</p>
        </sec>
        <sec id="sec17">
            <title>Data availability</title>
            <p>Repository: Task Switching Paradigm. 
                <ext-link ext-link-type="uri" xlink:href="https://github.com/daniellekurtin/task_switching_paradigm">https://github.com/daniellekurtin/task_switching_paradigm</ext-link> with an MIT license.</p>
            <p>This project contains the following underlying data:
                <list list-type="bullet">
                    <list-item>
                        <label>&#x2022;</label>
                        <p>rawdata_pilot4.csv. (Data downloaded from the task server for Use Case 1.)</p>
                    </list-item>
                    <list-item>
                        <label>&#x2022;</label>
                        <p>rawdata_pilot5.csv. (Data downloaded from the task server for Use Case 2.)</p>
                    </list-item>
                </list>
            </p>
            <p>Data are available under the terms of the repository&#x2019;s MIT license.</p>
        </sec>
        <sec id="sec18">
            <title>Software availability</title>
            <p>Source code available from: 
                <ext-link ext-link-type="uri" xlink:href="https://github.com/daniellekurtin/task_switching_paradigm">https://github.com/daniellekurtin/task_switching_paradigm</ext-link> with an MIT license.</p>
        </sec>
        <sec id="sec19">
            <title>Competing interests</title>
            <p>No competing interests were disclosed.</p>
        </sec>
        <sec id="sec20">
            <title>Grant information</title>
            <p>IRV and TA were funded by the BBSRC (Ref: BB/S008314/1). DK was funded by the Vice Chancellor Studentship at the University of Surrey. MJ was funded by the Medical Research Council (Ref: 17/18_MSD_661552).</p>
        </sec>
    </body>
    <back>
        <ack>
            <title>Acknowledgements</title>
            <p>We would like to thank Henry Hebron for his guidance in creating the figures in this manuscript.</p>
        </ack>
        <ref-list>
            <title>References</title>
            <ref id="ref1">
                <label>1</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Rogers</surname>
                            <given-names>RD</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Monsell</surname>
                            <given-names>S</given-names>
                        </name>
</person-group>:
                    <article-title>Costs of a predictible switch between simple cognitive tasks.</article-title>
                    <source>

                        <italic toggle="yes">J. Exp. Psychol. Gen.</italic>
</source>
                    <year>1995</year>;<volume>124</volume>(<issue>2</issue>):<fpage>207</fpage>&#x2013;<lpage>231</lpage>.
                    <pub-id pub-id-type="doi">10.1037/0096-3445.124.2.207</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref2">
                <label>2</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Jersild</surname>
                            <given-names>AT</given-names>
                        </name>
</person-group>:
                    <article-title>Mental set and shift.</article-title>
                    <source>

                        <italic toggle="yes">Arch. Psychol.</italic>
</source>
                    <year>1927</year>.</mixed-citation>
            </ref>
            <ref id="ref3">
                <label>3</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Vandierendonck</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Liefooghe</surname>
                            <given-names>B</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Verbruggen</surname>
                            <given-names>F</given-names>
                        </name>
</person-group>:
                    <article-title>Task switching: interplay of reconfiguration and interference control.</article-title>
                    <source>

                        <italic toggle="yes">Psychol. Bull.</italic>
</source>
                    <year>2010</year>;<volume>136</volume>(<issue>4</issue>):<fpage>601</fpage>&#x2013;<lpage>626</lpage>.
                    <pub-id pub-id-type="pmid">20565170</pub-id>
                    <pub-id pub-id-type="doi">10.1037/a0019791</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref4">
                <label>4</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Tornay</surname>
                            <given-names>FJ</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Mil&#x00e1;n</surname>
                            <given-names>EG</given-names>
                        </name>
</person-group>:
                    <article-title>A more complete task-set reconfiguration in random than in predictable task switch.</article-title>
                    <source>

                        <italic toggle="yes">The Quarterly Journal of Experimental Psychology Section A.</italic>
</source>
                    <year>2001</year>;<volume>54</volume>(<issue>3</issue>):<fpage>785</fpage>&#x2013;<lpage>803</lpage>.
                    <pub-id pub-id-type="pmid">11548035</pub-id>
                    <pub-id pub-id-type="doi">10.1080/713755984</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref5">
                <label>5</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Yeung</surname>
                            <given-names>N</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Nystrom</surname>
                            <given-names>LE</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Aronson</surname>
                            <given-names>JA</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Between-task competition and cognitive control in task switching.</article-title>
                    <source>

                        <italic toggle="yes">J. Neurosci.</italic>
</source>
                    <year>2006</year>;<volume>26</volume>(<issue>5</issue>):<fpage>1429</fpage>&#x2013;<lpage>1438</lpage>.
                    <pub-id pub-id-type="doi">10.1523/JNEUROSCI.3109-05.2006</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref6">
                <label>6</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Dosenbach</surname>
                            <given-names>NUF</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Visscher</surname>
                            <given-names>KM</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Palmer</surname>
                            <given-names>ED</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>A core system for the implementation of task sets.</article-title>
                    <source>

                        <italic toggle="yes">Neuron.</italic>
</source>
                    <year>2006</year>;<volume>50</volume>(<issue>5</issue>):<fpage>799</fpage>&#x2013;<lpage>812</lpage>.
                    <pub-id pub-id-type="pmid">16731517</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.neuron.2006.04.031</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref7">
                <label>7</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Lorenz</surname>
                            <given-names>R</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Violante</surname>
                            <given-names>IR</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Monti</surname>
                            <given-names>RP</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Dissociating frontoparietal brain networks with neuroadaptive bayesian optimization.</article-title>
                    <source>

                        <italic toggle="yes">Nat. Commun.</italic>
</source>
                    <year>2018</year>;<volume>9</volume>(<issue>1</issue>):<fpage>1</fpage>&#x2013;<lpage>14</lpage>.
                    <pub-id pub-id-type="doi">10.1038/s41467-018-03657-3</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref8">
                <label>8</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Shi</surname>
                            <given-names>Y</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Wolfensteller</surname>
                            <given-names>U</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Schubert</surname>
                            <given-names>T</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>When global rule reversal meets local task switching: The neural mechanisms of coordinated behavioral adaptation to instructed multi-level demand changes.</article-title>
                    <source>

                        <italic toggle="yes">Hum. Brain Mapp.</italic>
</source>
                    <year>2018</year>;<volume>39</volume>(<issue>2</issue>):<fpage>735</fpage>&#x2013;<lpage>746</lpage>.
                    <pub-id pub-id-type="pmid">29094788</pub-id>
                    <pub-id pub-id-type="doi">10.1002/hbm.23878</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref9">
                <label>9</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Hampshire</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Daws</surname>
                            <given-names>RE</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Neves</surname>
                            <given-names>ID</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Probing cortical and sub-cortical contributions to instruction-based learning: Regional specialisation and global network dynamics.</article-title>
                    <source>

                        <italic toggle="yes">NeuroImage.</italic>
</source>
                    <year>2019</year>;<volume>192</volume>:<fpage>88</fpage>&#x2013;<lpage>100</lpage>.
                    <pub-id pub-id-type="pmid">30851447</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.neuroimage.2019.03.002</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref10">
                <label>10</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Soreq</surname>
                            <given-names>E</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Leech</surname>
                            <given-names>R</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Hampshire</surname>
                            <given-names>A</given-names>
                        </name>
</person-group>:
                    <article-title>Dynamic network coding of working-memory domains and working-memory processes.</article-title>
                    <source>

                        <italic toggle="yes">Nat. Commun.</italic>
</source>
                    <year>2019</year>;<volume>10</volume>(<issue>1</issue>):<fpage>1</fpage>&#x2013;<lpage>14</lpage>.
                    <pub-id pub-id-type="doi">10.1038/s41467-019-08840-8</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref11">
                <label>11</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Soreq</surname>
                            <given-names>E</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Violante</surname>
                            <given-names>IR</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Daws</surname>
                            <given-names>RE</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Neuroimaging evidence for a network sampling theory of individual differences in human intelligence test performance.</article-title>
                    <source>

                        <italic toggle="yes">Nat. Commun.</italic>
</source>
                    <year>2021</year>;<volume>12</volume>(<issue>1</issue>):<fpage>1</fpage>&#x2013;<lpage>13</lpage>.
                    <pub-id pub-id-type="doi">10.1038/s41467-021-22199-9</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref12">
                <label>12</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Duncan</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Owen</surname>
                            <given-names>AM</given-names>
                        </name>
</person-group>:
                    <article-title>Common regions of the human frontal lobe recruited by diverse cognitive demands.</article-title>
                    <source>

                        <italic toggle="yes">Trends Neurosci.</italic>
</source>
                    <year>2000</year>;<volume>23</volume>(<issue>10</issue>):<fpage>475</fpage>&#x2013;<lpage>483</lpage>.
                    <pub-id pub-id-type="pmid">11006464</pub-id>
                    <pub-id pub-id-type="doi">10.1016/S0166-2236(00)01633-7</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref13">
                <label>13</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Fedorenko</surname>
                            <given-names>E</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Duncan</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Kanwisher</surname>
                            <given-names>N</given-names>
                        </name>
</person-group>:
                    <article-title>Broad domain generality in focal regions of frontal and parietal cortex.</article-title>
                    <source>

                        <italic toggle="yes">Proc. Natl. Acad. Sci.</italic>
</source>
                    <year>2013</year>;<volume>110</volume>(<issue>41</issue>):<fpage>16616</fpage>&#x2013;<lpage>16621</lpage>.
                    <pub-id pub-id-type="pmid">24062451</pub-id>
                    <pub-id pub-id-type="doi">10.1073/pnas.1315235110</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref14">
                <label>14</label>
                <mixed-citation publication-type="book">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Deary</surname>
                            <given-names>IJ</given-names>
                        </name>
</person-group>:
                    <chapter-title>Psychometric intelligence differences and brain function</chapter-title>.
                    <source>

                        <italic toggle="yes">Novartis Foundation Symposium.</italic>
</source>
                    <publisher-name>Wiley Online Library</publisher-name>;<year>2000</year>; pages<fpage>58</fpage>&#x2013;<lpage>72</lpage>.</mixed-citation>
            </ref>
            <ref id="ref15">
                <label>15</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Hitch</surname>
                            <given-names>GJ</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Allen</surname>
                            <given-names>RJ</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Baddeley</surname>
                            <given-names>AD</given-names>
                        </name>
</person-group>:
                    <article-title>Attention and binding in visual working memory: Two forms of attention and two kinds of buffer storage.</article-title>
                    <source>

                        <italic toggle="yes">Atten. Percept. Psychophys.</italic>
</source>
                    <year>2020</year>;<volume>82</volume>(<issue>1</issue>):<fpage>280</fpage>&#x2013;<lpage>293</lpage>.
                    <pub-id pub-id-type="pmid">31420804</pub-id>
                    <pub-id pub-id-type="doi">10.3758/s13414-019-01837-x</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref16">
                <label>16</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Baddeley</surname>
                            <given-names>A</given-names>
                        </name>
</person-group>:
                    <article-title>Exploring the central executive.</article-title>
                    <source>

                        <italic toggle="yes">The Quarterly Journal of Experimental Psychology Section A.</italic>
</source>
                    <year>1996</year>;<volume>49</volume>(<issue>1</issue>):<fpage>5</fpage>&#x2013;<lpage>28</lpage>.
                    <pub-id pub-id-type="doi">10.1080/713755608</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref17">
                <label>17</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Baddeley</surname>
                            <given-names>AD</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Hitch</surname>
                            <given-names>GJ</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Allen</surname>
                            <given-names>R</given-names>
                        </name>
</person-group>:
                    <article-title>A multicomponent model of working memory.</article-title>
                    <source>

                        <italic toggle="yes">Working memory: State of the science.</italic>
</source>
                    <year>2020</year>:<fpage>10</fpage>&#x2013;<lpage>43</lpage>.
                    <pub-id pub-id-type="doi">10.1093/oso/9780198842286.003.0002</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref18">
                <label>18</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Kim</surname>
                            <given-names>C</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Cilles</surname>
                            <given-names>SE</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Johnson</surname>
                            <given-names>NF</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Domain general and domain preferential brain regions associated with different types of task switching: A meta-analysis.</article-title>
                    <source>

                        <italic toggle="yes">Hum. Brain Mapp.</italic>
</source>
                    <year>2012</year>;<volume>33</volume>(<issue>1</issue>):<fpage>130</fpage>&#x2013;<lpage>142</lpage>.
                    <pub-id pub-id-type="pmid">21391260</pub-id>
                    <pub-id pub-id-type="doi">10.1002/hbm.21199</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref19">
                <label>19</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Hampshire</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Highfield</surname>
                            <given-names>RR</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Parkin</surname>
                            <given-names>BL</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Fractionating human intelligence.</article-title>
                    <source>

                        <italic toggle="yes">Neuron.</italic>
</source>
                    <year>2012</year>;<volume>76</volume>(<issue>6</issue>):<fpage>1225</fpage>&#x2013;<lpage>1237</lpage>.
                    <pub-id pub-id-type="pmid">23259956</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.neuron.2012.06.022</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref20">
                <label>20</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Watanabe</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Bartels</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Macke</surname>
                            <given-names>JH</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Temporal jitter of the bold signal reveals a reliable initial dip and improved spatial resolution.</article-title>
                    <source>

                        <italic toggle="yes">Curr. Biol.</italic>
</source>
                    <year>2013</year>;<volume>23</volume>(<issue>21</issue>):<fpage>2146</fpage>&#x2013;<lpage>2150</lpage>.
                    <pub-id pub-id-type="doi">10.1016/j.cub.2013.08.057</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref21">
                <label>21</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Hubber</surname>
                            <given-names>PJ</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Gilmore</surname>
                            <given-names>C</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Cragg</surname>
                            <given-names>L</given-names>
                        </name>
</person-group>:
                    <article-title>Mathematics students demonstrate superior visuo-spatial working memory to humanities students under conditions of low central executive processing load.</article-title>
                    <year>2019</year>.</mixed-citation>
            </ref>
            <ref id="ref22">
                <label>22</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Gardony</surname>
                            <given-names>AL</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Eddy</surname>
                            <given-names>MD</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Bruny&#x00e9;</surname>
                            <given-names>TT</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Cognitive strategies in the mental rotation task revealed by eeg spectral power.</article-title>
                    <source>

                        <italic toggle="yes">Brain Cogn.</italic>
</source>
                    <year>2017</year>;<volume>118</volume>(0):<fpage>1</fpage>&#x2013;<lpage>18</lpage>.
                    <pub-id pub-id-type="pmid">28734164</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.bandc.2017.07.003</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref23">
                <label>23</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Hughes</surname>
                            <given-names>MM</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Linck</surname>
                            <given-names>JA</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Bowles</surname>
                            <given-names>AR</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Alternatives to switch-cost scoring in the task-switching paradigm: Their reliability and increased validity.</article-title>
                    <source>

                        <italic toggle="yes">Behav. Res. Methods.</italic>
</source>
                    <year>2014</year>;<volume>46</volume>(<issue>3</issue>):<fpage>702</fpage>&#x2013;<lpage>721</lpage>.
                    <pub-id pub-id-type="pmid">24356991</pub-id>
                    <pub-id pub-id-type="doi">10.3758/s13428-013-0411-5</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref24">
                <label>24</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Meiran</surname>
                            <given-names>N</given-names>
                        </name>
</person-group>:
                    <article-title>Reconfiguration of processing mode prior to task performance.</article-title>
                    <source>

                        <italic toggle="yes">J. Exp. Psychol. Learn. Mem. Cogn.</italic>
</source>
                    <year>1996</year>;<volume>22</volume>(<issue>6</issue>):<fpage>1423</fpage>&#x2013;<lpage>1442</lpage>.
                    <pub-id pub-id-type="doi">10.1037/0278-7393.22.6.1423</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref25">
                <label>25</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Peri&#x00e1;&#x00f1;ez</surname>
                            <given-names>JA</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Barcel&#x00f3;</surname>
                            <given-names>F</given-names>
                        </name>
</person-group>:
                    <article-title>Updating sensory versus task representations during task-switching: Insights from cognitive brain potentials in humans.</article-title>
                    <source>

                        <italic toggle="yes">Neuropsychologia.</italic>
</source>
                    <year>2009</year>;<volume>47</volume>(<issue>4</issue>):<fpage>1160</fpage>&#x2013;<lpage>1172</lpage>.
                    <pub-id pub-id-type="pmid">19350711</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.neuropsychologia.2009.01.014</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref26">
                <label>26</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Cocchi</surname>
                            <given-names>L</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Halford</surname>
                            <given-names>GS</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Zalesky</surname>
                            <given-names>A</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Complexity in relational processing predicts changes in functional brain network dynamics.</article-title>
                    <source>

                        <italic toggle="yes">Cereb. Cortex.</italic>
</source>
                    <year>2014</year>;<volume>24</volume>(<issue>9</issue>):<fpage>2283</fpage>&#x2013;<lpage>2296</lpage>.
                    <pub-id pub-id-type="pmid">23563963</pub-id>
                    <pub-id pub-id-type="doi">10.1093/cercor/bht075</pub-id>
                </mixed-citation>
            </ref>
        </ref-list>
    </back>
    <sub-article article-type="reviewer-report" id="report129896">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.121272.r129896</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Karayanidis</surname>
                        <given-names>Frini</given-names>
                    </name>
                    <xref ref-type="aff" rid="r129896a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-3317-9954</uri>
                </contrib>
                <aff id="r129896a1">
                    <label>1</label>Functional Neuroimaging Laboratory, School of Psychological Sciences, College of Engineering, Science and Environment, The University of Newcastle, Callaghan, NSW, Australia</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>19</day>
                <month>5</month>
                <year>2022</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2022 Karayanidis F</copyright-statement>
                <copyright-year>2022</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport129896" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.109729.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>reject</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>This paper presents a well-motivated objective &#x2013; to design and make available a well-controlled task-switching paradigm that can be used in multiple contexts (eg., imaging and online studies) and with different groups. This will facilitate the comparison of findings across studies and participant groups.</p>
            <p> </p>
            <p> The authors put substantial effort into making the three tasks similar in visual presentation and response requirements, so that differences between them can be attributed to different cognitive processes rather than sensory or motor processes. They select three visual tasks that have previously established psychometric properties and focus on digit span, spatial span, and spatial rotation, with a multiple-choice response format (i.e., given 3 options and have to select the correct response). The design includes short blocks of trials (7-10 trials) on the same task. Each block begins with a cue card that indicates which task will be performed. Task order is pseudorandomised, as the same task is not repeated across two blocks. The duration of the cue card is variable, the duration of each target card is not specified, but the response grid appears after variable delay. Once the participant selects one of the three options, the others disappear and after another variable interval, the next trial appears. The first data set shows significant accuracy and RT differences between tasks, and a significant &#x2018;switch cost&#x2019; on accuracy but not RT. The second data set is run with a fixed cue duration (0.5 secs) and the effect of the task is found again, but no &#x2018;switch cost&#x2019; in either accuracy or RT.</p>
            <p> </p>
            <p> The paper is generally very well-written, and the data are clearly presented with good quality, analytical figures.&#x00a0;However, I found that there are many weakly justified decisions in the paradigm development that question whether the paradigm can produce data comparable to the vast volume of task-switching literature available and therefore weaken the potential impact of the paper. My concerns are mainly related to the fact that the design of the task-switching paradigm, the choice of tasks, the timing parameters, the response options, and the conditions are not consistent with any of the multiple paradigm structures available. Moreover, the paradigm itself did not produce robust switch effects, which questions its usefulness as a task-switching paradigm.</p>
            <p> </p>
            <p> There are many well-established variants of the task-switching paradigm (e.g.,&#x00a0;Grange and Houghton
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-129896-1">1</xref>
                </sup>,&#x00a0;Jamadar 
                <italic>et al</italic>.
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-129896-2">2</xref>
                </sup>,&#x00a0;Karayanidis and McKewen
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-129896-3">3</xref>
                </sup>). These produce somewhat different ways to measure switch costs and additional measures of interest. The paradigm used here is probably most similar to that used by Allport 
                <italic>et al.</italic>
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-129896-4">4</xref>
                </sup>, but with significant differences to make comparisons difficult.&#x00a0;The paper does not actually specify how &#x2018;switch cost&#x2019; is measured. An example trial sequence is: Task A: 1 2 3 4 5 6 7, Task B: 1 2 3 4 5 6 7 8 Task C: 1 2 3 4 5 6 7, etc. I can only assume that trial 1 in each block is considered the &#x2018;switch&#x2019; trial. However, it&#x2019;s not clear which of the other trials are used as the &#x2018;repeat&#x2019; trial, e.g., is it trial 2, the average of all other trials, etc. This will impact the value of the repeat trial, and therefore switch cost estimation.</p>
            <p> </p>
            <p> Allport and Wylie
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-129896-5">5</xref>
                </sup> showed that these paradigms produce both switch and restart costs, as the first trial of each block produces poorer performance whether the task switches or not. Without occasional repeat blocks, e.g., Task A A B C C B A, it is impossible to differentiate between the switch and restart costs. In addition, this paradigm does not allow estimation of mixing cost (the difference between repeat trials in a single-task vs a mixed-task block), a measure that has been found to be more sensitive to variability in some groups (e.g., ageing, see Karayanidis and McKewen
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-129896-3">3</xref>
                </sup>, Karayanidis 
                <italic>et al</italic>.
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-129896-6">6</xref>
                </sup>).</p>
            <p> </p>
            <p> Another major concern is the timing parameters. The paradigm includes very slow trials &#x2013; the exact inter-trial interval is not specified but appears to be in the order of seconds &#x2013; and substantial jitter. Monsell and colleagues
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-129896-7">7</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-129896-8">8</xref>
                </sup> have shown that timing, jitter, etc can result in measurable changes in outcomes. Ruge 
                <italic>et al.</italic>
                <sup>
                    <xref ref-type="bibr" rid="rep-ref-129896-9">9</xref>
                </sup>
                <italic>&#x00a0;</italic>reviewed the fMRI task-switching literature and concluded that timing variations used to adapt the paradigm to fMRI timing can significantly impact the cognitive control processes being activated.</p>
            <p> </p>
            <p> Finally, the tasks themselves are very different from the tasks typically used in task-switching paradigms. In previous studies, tasks tend to involve a simple visual stimulus (e.g., letter, number, shape) that requires a 2-choice decision with a discrete response associated with that decision on each trial (e.g., is the letter a vowel or a consonant, press left for vowel, right for consonant). Here, the stimulus is a matrix and different types of exemplars appear over time. So, the stimulus involves a sequence of processes that evolve over time (how long?). The response is not the result of a discrete decision associated with that target. It involves the outcome of a process of comparing three different matrices against the representation of the stimulus held in working memory and selecting which is the closest match. The set of cognitive operations involved is very different to those in typical task-switching paradigms, and the memory-related operations are likely to drown out any effects of task-switching that only apply to the first trial of each block. This may account for the weak switch effects reported. Moreover, any such task-switching processes are not tightly timed to an event (e.g., cue) so will not be readily targeted by event-related fMRI or EEG measures. In addition, this paradigm is likely to produce a lot of motion, especially eye movements, which may create artefacts for fMRI as well as EEG.</p>
            <p> </p>
            <p> Overall, the aim of the paper is sound, the approach well-executed, and the concept of designing paradigms that can be used across platforms and labs is highly commendable. The paradigm appears suited to investigating the cognitive and neural processes engaged by three different visual attention tasks &#x2013; spatial span, digit span and visual rotation. However, in my opinion, it is not suited to measuring the cognitive and neural processes involved in task-switching.</p>
            <p>Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?</p>
            <p>No</p>
            <p>Is the rationale for developing the new software tool clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the software tool technically sound?</p>
            <p>Yes</p>
            <p>Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?</p>
            <p>Partly</p>
            <p>Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?</p>
            <p>No</p>
            <p>Reviewer Expertise:</p>
            <p>Cognitive control processes, task-switching paradigm, cognitive ageing, behavioural and EEG measures.&#x00a0;I do not have sufficient expertise to evaluate the software code.</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to state that I do not consider it to be of an acceptable scientific standard, for reasons outlined above.</p>
        </body>
        <back>
            <ref-list>
                <title>References</title>
                <ref id="rep-ref-129896-1">
                    <label>1</label>
                    <mixed-citation>
                        <person-group person-group-type="author"/>:
                        <article-title>Task Switching and Cognitive Control</article-title>.
                        <source>
                            <italic>Oxford University Press</italic>
                        </source>.<year>2014</year>;</mixed-citation>
                </ref>
                <ref id="rep-ref-129896-2">
                    <label>2</label>
                    <mixed-citation>
                        <person-group person-group-type="author"/>:
                        <article-title>Task switching processes In Toga A. W. (Ed.), Brain mapping: An encyclopedic reference</article-title>.
                        <source>
                            <italic>Cambridge, MA: Academic Press</italic>
                        </source>.<year>2015</year>;<fpage>327</fpage>-<lpage>355</lpage>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-129896-3">
                    <label>3</label>
                    <mixed-citation>
                        <person-group person-group-type="author"/>:
                        <article-title>More than &#x201c;just a test&#x201d;&#x2014;Task-switching paradigms offer an early warning system for cognitive decline. In K. D. Federmeier (Ed.), The psychology of learning and motivation</article-title>.
                        <source>
                            <italic>Elsevier Academic Press</italic>
                        </source>.<year>2021</year>;<fpage>141</fpage>-<lpage>193</lpage>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-129896-4">
                    <label>4</label>
                    <mixed-citation>
                        <person-group person-group-type="author"/>:
                        <article-title>Shifting intentional set: Exploring the dynamic control of tasks. In C. Umilta and M. Moscovitch (Eds.), Vol. XV. Attention and performance</article-title>.
                        <source>
                            <italic>Cambridge: MIT Press</italic>
                        </source>.<year>1994</year>;<fpage>421</fpage>-<lpage>452</lpage>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-129896-5">
                    <label>5</label>
                    <mixed-citation>
                        <person-group person-group-type="author"/>:
                        <article-title>Task-switching, stimulus-response bindings, and negative priming. In S. Monsell and J. Driver (Eds.), Control of cognitive processes: Attention and performance XVIII</article-title>.
                        <source>
                            <italic>Cambridge, MA: MIT Press</italic>
                        </source>.<year>2000</year>;<fpage>35</fpage>-<lpage>70</lpage>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-129896-6">
                    <label>6</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>Variability in proactive and reactive cognitive control processes across the adult lifespan.</article-title>
                        <source>
                            <italic>Front Psychol</italic>
                        </source>.<year>2011</year>;<volume>2</volume>:
                        <elocation-id>10.3389/fpsyg.2011.00318</elocation-id>
                        <fpage>318</fpage>
                        <pub-id pub-id-type="pmid">22073037</pub-id>
                        <pub-id pub-id-type="doi">10.3389/fpsyg.2011.00318</pub-id>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-129896-7">
                    <label>7</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>Can the task-cuing paradigm measure an endogenous task-set reconfiguration process?</article-title>.
                        <source>
                            <italic>J Exp Psychol Hum Percept Perform</italic>
                        </source>.<year>2006</year>;<volume>32</volume>(<issue>3</issue>) :
                        <elocation-id>10.1037/0096-1523.32.3.493</elocation-id>
                        <fpage>493</fpage>-<lpage>516</lpage>
                        <pub-id pub-id-type="pmid">16822121</pub-id>
                        <pub-id pub-id-type="doi">10.1037/0096-1523.32.3.493</pub-id>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-129896-8">
                    <label>8</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>Costs of a predictible switch between simple cognitive tasks.</article-title>
                        <source>
                            <italic>Journal of Experimental Psychology: General</italic>
                        </source>.<year>1995</year>;<volume>124</volume>(<issue>2</issue>) :
                        <elocation-id>10.1037/0096-3445.124.2.207</elocation-id>
                        <fpage>207</fpage>-<lpage>231</lpage>
                        <pub-id pub-id-type="doi">10.1037/0096-3445.124.2.207</pub-id>
                    </mixed-citation>
                </ref>
                <ref id="rep-ref-129896-9">
                    <label>9</label>
                    <mixed-citation publication-type="journal">
                        <person-group person-group-type="author"/>:
                        <article-title>The many faces of preparatory control in task switching: reviewing a decade of fMRI research.</article-title>
                        <source>
                            <italic>Hum Brain Mapp</italic>
                        </source>.<year>2013</year>;<volume>34</volume>(<issue>1</issue>) :
                        <elocation-id>10.1002/hbm.21420</elocation-id>
                        <fpage>12</fpage>-<lpage>35</lpage>
                        <pub-id pub-id-type="pmid">21998090</pub-id>
                        <pub-id pub-id-type="doi">10.1002/hbm.21420</pub-id>
                    </mixed-citation>
                </ref>
            </ref-list>
        </back>
        <sub-article article-type="response" id="comment8538-129896">
            <front-stub>
                <contrib-group>
                    <contrib contrib-type="author">
                        <name>
                            <surname>Kurtin</surname>
                            <given-names>Danielle</given-names>
                        </name>
                        <aff>University of Surrey, UK</aff>
                    </contrib>
                </contrib-group>
                <author-notes>
                    <fn fn-type="conflict">
                        <p>
                            <bold>Competing interests: </bold>We have no competing interests to disclose</p>
                    </fn>
                </author-notes>
                <pub-date pub-type="epub">
                    <day>19</day>
                    <month>7</month>
                    <year>2022</year>
                </pub-date>
            </front-stub>
            <body>
                <p>
                    <bold>Response to Prof Frini Karyanadis&#x2019;s Peer Review Report</bold>
                </p>
                <p> </p>
                <p> Prof Karyanadis provided a thorough summary of our manuscript and its intent to introduce a novel task switching paradigm for use in online or neuroimaging studies. She captured the careful design we implemented to reduce visual and motor confounds, the discrete nature of the visual working memory tasks the paradigm switches among, as well as the results of our two Use Cases.</p>
                <p> </p>
                <p> We thank her for the careful reading of the manuscript and for the valuable comments. We appreciate her main concerns centre around our task design and how it diverges from existing literature, the task&#x2019;s timing, the study&#x2019;s results, and considerations on how we define and evaluate switch costs. We have addressed Prof Karyanadis&#x2019;s concerns in our new version of the manuscript and have responded to each concern below.</p>
                <p> </p>
                <p> 
                    <bold>Our paradigm&#x2019;s design is different from the existing literature</bold>
                </p>
                <p> </p>
                <p> Our task&#x2019;s different experimental design draws three concerns from Prof Karyanadis - that its novelty and difference make comparison to existing literature difficult, that its design cultivates memory-related processes rather than switching processes, and that switch events are not tightly timed to a cue. In this section, we address each concern in turn.</p>
                <p> </p>
                <p> We understand Prof Karyanadis&#x2019;s concern that it may be difficult to compare our paradigm to existing task switching literature that utilizes standard task switching frameworks. This paradigm is intentionally different from most task switching paradigms so one can study research questions traditional task switching paradigms are not well-suited to investigating &#x2013; in our case, evaluating the neural correlates of large set shifts. In the likely event there are other researchers who also need a new paradigm to meet the needs of their research question, we created our paradigm in an easily modifiable framework so that fewer entirely new paradigms need to be created. We acknowledge we may not have made this paradigm&#x2019;s differences and their impact clear enough. To ensure readers are aware that results from our experiment may not generalize to task switching studies with more standard designs, we have added the following sentences (in 
                    <bold>bold</bold>) to the Introduction: 
                    <italic>"This invites the follow-up question &#x201c;How does the brain reconfigure between these different brain states?&#x201d; The literature here is sparser, with a lack of studies that model how neural networks reconfigure when transitioning from one discrete task to another (referred to as &#x201c;set switching&#x201d; or &#x201c;context switching&#x201d; (Kim et al 2012). In future studies we hope to characterize the trajectory neural networks take to effectively switch between tasks. Therefore, we created a cued task switching paradigm that aims to generate a behavioral and physiological switch cost for use in experiments that will characterize, model, and modulate the switch cost. We chose three psychometrically opposed tasks from Soreq et al (2021) to force distinct reconfiguration from one brain state to the next. 
                        <bold>Rather than switching between stimulus response mappings or rules, our task switches between entire task sets, similar to Allport et al (1994). Yet our task differs from to Allport's set-shifting task by shifting among different, psychometrically opposed working memory tasks, rather than rules or stimuli within a task. These differences were introduced with the aim of inducing large set shifts observable by fMRI, where future studies may explore how neural networks reconfigure to meet the demands of different working memory tasks.</bold>"</italic>
                </p>
                <p> </p>
                <p> We have also added another sentence in the Limitations section, to ensure readers consider the difference in our paradigms to most others in their interpretation of results and application of this paradigm to other studies:
                    <italic> "Finally, our task differs from most variants of task switching paradigms, and this should be taken into consideration when comparing results from this task to literature using different paradigms."</italic>
                </p>
                <p> </p>
                <p> Prof Karyanadis&#x2019;s second point centres around a concern that the paradigm probes memory, rather than switch-related processes. We agree that these shifts in working memory processes are different than the common 2-choice decision tasks, both in terms of the number of cognitive operations required and the three, rather than two, response options. Nevertheless, we intentionally switch between three psychometrically opposed working memory tasks because we wanted to investigate the neural correlate of large set shifts, which could not be possible using more standard task switches, such as stimulus-response or rule switches.</p>
                <p> </p>
                <p> Regarding Prof Karyanadis&#x2019;s third point that there is not an event to which we can identify the task switch events, we would like to highlight that our Cue Cards precede each switch, and are timed cues by which we can localize task switching events. Figure 1 provides a visual depiction of how a Cue Card precedes a set of trials that build into a run of a task before another Cue Card announces a switch to the next run of trials of a different task.</p>
                <p> </p>
                <p> 
                    <bold>Task timing</bold>
                </p>
                <p> </p>
                <p> We understand Prof Karyanadis has two concerns regarding task timing, with the first being that we do not specify a precise intertrial interval (ITI). We do not specify a specific ITI because, as described in the Neuroimaging studies section, the ITI varies randomly between 100 to 1100 msec. Should future researchers wish to change this, the task was created to be easily customizable, and we remark in several places that all task parameters (such as the ITI) can be changed to suit the researcher.</p>
                <p> </p>
                <p> Second, we understand Prof Karyanadis&#x2019;s concern about the influence the variable ITI exerts on cognitive control processes or fMRI analysis. To ensure readers are aware of the impact of adding a variable ITI, we have included the following sentence:&#x00a0;
                    <italic>&#x201c;For online studies, we recommend researchers include a jitter-induced delay related regressor in models of BOLD activity, and remove jitter during offline studies as recommended by [1] for response-cue trial intervals.&#x201d;</italic> in the Neuroimaging study section.</p>
                <p> </p>
                <p> 
                    <bold>Study results</bold>
                </p>
                <p> </p>
                <p> We acknowledge Prof Karyanadis is unsure whether a task switching paradigm qualifies as such if it does not induce switch effects. As with any study, the results are the one aspect of an experiment that cannot be controlled. We argue that the absence of positive results does not invalidate the design of the paradigm.</p>
                <p> </p>
                <p> We also would like to highlight that we did pilot our work to identify suitable task parameters that induce a switch cost. Before conducting any Use Cases, we determined which parameters would ensure above-chance and below-ceiling performance in each task. For example, literature has shown most healthy young adults can remember 7 digits in a digit span [2], but we use 6x6 grids for the working memory tasks, meaning that the number of stimuli participants are asked to remember for the digit span should be within their ability. Early piloting showed that, when 6 stimuli were presented at the standard 0.5 seconds per stimuli, participants exhibited ceiling effects. We, therefore, shortened the stimuli presentation time for digit span stimuli to 0.25 seconds, with the intent to standardize performance across tasks.</p>
                <p> </p>
                <p> With these parameters, we began conducting Use Case 1. In Use Case 1, the cue cards preceding each task were either 4.0 or 0.5 seconds. We observed a switch cost in accuracy but not reaction time, and, based on literature showing short cue cards induce switch costs [3][4], we chose to standardize our cue card duration to 0.5 seconds in an attempt to induce a switch cost in both accuracy and reaction time. Though we did not observe a switch cost after standardizing our cue card duration, in our discussion for the second Use Case we suggest that our negative results may be due to an interplay between endogenous, preparatory processes and exogenous, cue-driven processes [5]. Because of the customizable nature of the paradigm, we encourage future researchers to pilot the task using parameters (cue cards, length of time stimuli are presented, the number of tasks, etc) suitable for their experiment and assess the presence of a switch cost.</p>
                <p> </p>
                <p> 
                    <bold>Switch costs</bold>
                </p>
                <p> </p>
                <p> We thank Prof Karyanadis for identifying that we did not fully specify how we measure switch cost. We have clarified this in the manuscript in the Use Case 1 section as follows
                    <italic>: &#x201c;Switch task types are defined as the first trial after a switch between tasks, and stay trial types are all other trials.&#x201d;</italic>
                </p>
                <p> </p>
                <p> We appreciate that our task design does not permit a comparison of switch vs restart costs, nor mixing costs, and how this may have influenced our ability to induce switch costs. We have added the following sentences to our Limitations section to make this clearer to readers: 
                    <italic>&#x201c;Though the piloting of this task was performed with healthy control participants, future researchers may want to assess differences between healthy control and patient populations. Mixing costs may be more sensitive to between-group variability [6], and one limitation of our task structure is that it does not permit the exploration of mixing costs. Moreover, the current design did not allow repeats blocks of the same task (for example, this order would not occur: Digit Span, Spatial Span, Spatial Span, Spatial Rotation), and therefore cannot investigate the difference in switch vs restart costs [7]. </italic>
                    <italic>Future researchers are invited to adapt the paradigm&#x2019;s design to allow repeat task blocks, to investigate switch vs restart costs, and explore whether introducing mixed-task blocks induces switch costs not seen in this version of the paradigm.</italic>
                    <italic>&#x201d;</italic>
                </p>
                <p> </p>
                <p> Finally, to make it abundantly clear to readers that our paradigm does not consistently introduce a switch cost, we have included the following sentence at the end of the Software Tool Article&#x2019;s Introduction: 
                    <italic>&#x201c;The pilot studies observe that, though the two versions of the task do not consistently induce a switch cost, the paradigm operates within an optimal difficulty range, and participants do not exhibit learning effects. Though our task does not produce traditional switch costs, we believe this paradigm is useful given its highly adaptable, multi-modal, open-source nature.&#x201d;.</italic>
                </p>
                <p> </p>
                <p> We hope this response addresses Prof Karyanadis&#x2019;s concerns surrounding our Software Tool Article Manuscript. We appreciate her insight, and the changes we have made as a result of her review have improved and strengthened the manuscript.</p>
                <p> </p>
                <p> 
                    <bold>References:</bold>
                </p>
                <p> </p>
                <p> [1] Ruge H, Jamadar S, Zimmermann U, Karayanidis F: The many faces of preparatory control in task switching: reviewing a decade of fmri research. Human brain mapping. 2013; 34(1):12&#x2013;35</p>
                <p> [2] Hampshire A, Highfield RR, Parkin BL, et al.: Fractionating human intelligence. Neuron. 2012; 76(6): 1225&#x2013;1237</p>
                <p> [3] Monsell S, Mizon GA: Can the task-cuing paradigm measure an endogenous task-set reconfiguration process? Journal of Experimental Psychology: Human perception and performance. 2006; 32.3(493).</p>
                <p> [4] Schneider DW, Logan GD: Task-switching performance with 1: 1 and 2: 1 cue&#x2013;task mappings: Not so different after all. Journal of Experimental Psychology: Learning, Memory, and Cognition. 2011; 37(2):405.</p>
                <p> [5] Peri&#x00e1;&#x00f1;ez JA, Barcel&#x00f3; F: Updating sensory versus task representations during task-switching: Insights from cognitive brain potentials in humans. Neuropsychologia. 2009; 47(4): 1160&#x2013;1172.</p>
                <p> [6 Karayanidis F, Whitson LR, Heathcote A, Michie PT: Variability in proactive and reactive cognitive control processes across the adult lifespan. Frontiers in psychology. 2011; 2:318.</p>
                <p> [7] Allport DA, Wylie GR: Task-switching, stimulus-response bindings, and negative priming. In S. Monsell and J. Driver (Eds.), Control of cognitive processes: Attention and performance XVIII. Cambridge, MA: MIT Press. 2000. 35-70</p>
            </body>
        </sub-article>
    </sub-article>
</article>
