//* general debrief *// var debrief_block = { type: "html-keyboard-response", stimulus: function() { var trials_A = jsPsych.data.get().filter({task: "response_A"}); var rt_A = Math.round(trials_A.select('rt').sum()); jsPsych.data.get().addToAll({rt_A: rt_A}); return `

Your mean reaction time for block A is

${rt_A}ms

Write your results down!

Press any key to continue

`} };