Skip to content

Commit c49d601

Browse files
Jamie LiJamie Li
Jamie Li
authored and
Jamie Li
committed
instructions - predictable_task_switching_with_directed_forgetting, stop_success bounds were changed to practice threshold - stop_signal_with_predictable_task_switching
1 parent 7b24e3d commit c49d601

File tree

2 files changed

+19
-14
lines changed

2 files changed

+19
-14
lines changed

predictable_task_switching_with_directed_forgetting/experiment.js

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ var instructions_block = {
587587
'<p class = block-text>In this experiment, you will be presented with '+numLetters+' letters, all of which you must memorize.'+
588588
' These '+numLetters+' letters will move clockwise from quadrant to quadrant across trials.</p> '+
589589

590-
'<p class = block-text>You will be asked to remember or forget some letters, depending on which quadrant the 6 letters are in. For now, remember all '+numLetters+' letters.</p>'+
590+
'<p class = block-text>You will be asked to remember or forget some letters, depending on which quadrant the letters are in. For now, remember all '+numLetters+' letters.</p>'+
591591

592592
'<p class = block-text>After the '+numLetters+' letters disappear, you will receive a cue either TOP or BOT. This cue states which of the '+numLetters+' letters you should forget or remember, either the top or bottom '+numLetters/2+' letters.</p>'+
593593

@@ -641,21 +641,26 @@ var start_test_block = {
641641
},
642642
timing_response: 180000,
643643
text: '<div class = centerbox>'+
644-
'<p class = block-text>You will be asked to remember or forget some letters, depending on which quadrant the '+numLetters+' letters are in.</p>'+
645-
646-
'<p class = block-text>You will also be presented with a cue after the '+numLetters+' letters. This cue states which of the '+numLetters+' letters you should forget or remember. '+
647-
'If you get a TOP cue, please remember or forget the top '+numLetters/2+' letters. If you get a BOT cue, please remember or forget the bottom '+numLetters/2+' letters. '+
648-
'<i>The '+numLetters/2+' remaining letters are called your memory set.</i></p>'+
644+
645+
'<p class = block-text>In this experiment, you will be presented with '+numLetters+' letters, all of which you must memorize.'+
646+
' These '+numLetters+' letters will move clockwise from quadrant to quadrant across trials.</p> '+
647+
648+
'<p class = block-text>You will be asked to remember or forget some letters, depending on which quadrant the letters are in. For now, remember all '+numLetters+' letters.</p>'+
649649

650-
'<p class = block-text>After, you will be presented with a probe. Please indicate whether this probe was in your memory set.</p>'+
650+
'<p class = block-text>After the '+numLetters+' letters disappear, you will receive a cue either TOP or BOT. This cue states which of the '+numLetters+' letters you should forget or remember, either the top or bottom '+numLetters/2+' letters.</p>'+
651651

652-
'<p class = block-text>When in the top two quadrants, please <i>'+predictive_dimensions[0]+'</i> the cued set. Press the <i>'+possible_responses[0][0]+
653-
' </i>if the probe was in the memory set, and the <i>'+possible_responses[1][0]+' </i>if not.</p>'+
652+
'<p class = block-text>When in the upper two quadrants, please <i>'+predictive_dimensions[0]+'</i> the cued set.</p>'+
654653

655-
'<p class = block-text>When in the bottom two quadrants, please <i>'+predictive_dimensions[2]+'</i> the cued set. Press the <i>'+possible_responses[0][0]+
656-
' </i> if the probe was in the memory set, and the <i>'+possible_responses[1][0]+' </i> if not.</p>'+
654+
'<p class = block-text>When in the lower two quadrants, please <i>'+predictive_dimensions[2]+'</i> the cued set.</p>'+
655+
656+
'<p class = block-text>The '+numLetters/2+' letters that you need to remember are called your memory set.</p>'+
657+
658+
'<p class = block-text>After, you will be presented with a probe (single letter). Please indicate whether this probe was in your memory set.</p>'+
659+
660+
'<p class = block-text>Press the <i>' + possible_responses[0][0] + '</i> if the probe was in the memory set, and the <i>'+possible_responses[1][0]+' </i>if not.</p>'+
657661

658662
'<p class = block-text>You will no longer receive the rule prompt, so remember the instructions before you continue. Press Enter to begin.</p>'+
663+
659664
'</div>',
660665
cont_key: [13],
661666
timing_post_trial: 1000,

stop_signal_with_predictable_task_switching/experiment.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ var practiceNode = {
753753
feedback_text = "<br>Please take this time to read your feedback and to take a short break! Press enter to continue"
754754
feedback_text += "</p><p class = block-text><i>Average reaction time: " + Math.round(ave_rt) + " ms. Accuracy for trials that require a response: " + Math.round(accuracy * 100)+ "%</i>"
755755

756-
if ((accuracy > accuracy_thresh) && (stop_success_percentage < upper_stop_success_bound) && (stop_success_percentage > lower_stop_success_bound)){
756+
if ((accuracy > accuracy_thresh) && (stop_success_percentage < upper_stop_success_bound_practice) && (stop_success_percentage > lower_stop_success_bound_practice)){
757757
feedback_text +=
758758
'</p><p class = block-text>Done with this practice. Press Enter to continue.'
759759
stims = createTrialTypes(numTrialsPerBlock)
@@ -765,12 +765,12 @@ var practiceNode = {
765765
'</p><p class = block-text>We are going to try practice again to see if you can achieve higher accuracy. Remember: <br>' + prompt_text_list
766766
}
767767

768-
if (stop_success_percentage === upper_stop_success_bound){
768+
if (stop_success_percentage === upper_stop_success_bound_practice){
769769
feedback_text +=
770770
'</p><p class = block-text>You have been responding too slowly. Please respond as quickly as possible without sacrificing accuracy.'
771771
}
772772

773-
if (stop_success_percentage === lower_stop_success_bound){
773+
if (stop_success_percentage === lower_stop_success_bound_practice){
774774
feedback_text +=
775775
'</p><p class = block-text>You have been responding on trials where there are stars. If a star appears, try your best not to make a response on that trial.'
776776
}

0 commit comments

Comments
 (0)