Skip to content

Commit 3eb0434

Browse files
author
Thanh Tung Bui
committed
Changes for gng + df to omit attention check note, and the rest to have correct exp_len.
1 parent 7f14fe5 commit 3eb0434

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

cued_task_switching_single_task_network/experiment.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,9 @@ var credit_var = 0
271271
var response_keys = {key: [77,90], key_name: ["M","Z"]}
272272
var choices = response_keys.key
273273
var practice_length = 16 // must be divisible by 4
274-
var test_length = 192 // must be divisible by 4
274+
var exp_len = 192 // must be divisible by 4
275275
var numTrialsPerBlock = 48
276-
var numTestBlocks = test_length / numTrialsPerBlock
276+
var numTestBlocks = exp_len / numTrialsPerBlock
277277

278278
var practice_thresh = 3 // 3 blocks of 16 trials
279279
var rt_thresh = 1000;

go_nogo_with_cued_task_switching/experiment.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ var practice_thresh = 3
356356
var response_keys = {key: [77,90], key_name: ["M","Z"]}
357357
var choices = response_keys.key
358358
var practice_len = 28 //56
359-
var exp_len = 112 //a multiple of 28
359+
var exp_len = 560 //a multiple of 28
360360
var numTrialsPerBlock = 112 /*7/31: So that it'll be a multiple of the new 6:1 ratio of go:nogo trials*/
361361
var numTestBlocks = exp_len / numTrialsPerBlock
362362
var CTI = 150

go_nogo_with_directed_forgetting/experiment.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ var practiceNode = {
913913

914914
var testTrials = []
915915
testTrials.push(feedback_block)
916-
testTrials.push(attention_node)
916+
// testTrials.push(attention_node)
917917
for (i = 0; i < numTrialsPerBlock; i++) {
918918
testTrials.push(start_fixation_block)
919919
testTrials.push(training_block)

n_back_with_shape_matching/experiment.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ var run_attention_checks = true
315315

316316

317317
var practice_len = 20 // 20 must be divisible by 10
318-
var exp_len = 40 // must be divisible by 10
318+
var exp_len = 240 // must be divisible by 10
319319
var numTrialsPerBlock = 40 // 40 must be divisible by 10 and we need to have a multiple of 3 blocks (3,6,9) in order to have equal delays across blocks
320320
var numTestBlocks = exp_len / numTrialsPerBlock //must be a multiple of 3 to have equal # of delays
321321
var practice_thresh = 3 // 3 blocks of 10 trials

0 commit comments

Comments
 (0)