Skip to content

Commit

Permalink
mini change to practise
Browse files Browse the repository at this point in the history
  • Loading branch information
rosrobshaw committed Mar 12, 2024
1 parent 9c0608c commit c0e6e16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions experiment/SelfAssociation/SelfAssociation.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,13 +455,13 @@ var sat_practice_trial = {
var n_consecutive = jsPsych.data
.get()
.filter({ screen: "sat_practicetrial" })
.last(21)
.last(19)
.values()
.map((x) => x["correct"])
.reduce((a, b) => a + b)

// Autoend training if more than 6 continuous responses
if (n_consecutive > 20){
if (n_consecutive > 18){
jsPsych.endCurrentTimeline()
}
},
Expand Down

0 comments on commit c0e6e16

Please sign in to comment.