Skip to content
Discussion options

You must be logged in to vote

Update: this has been solved with help outside of the forum!

Just in case anyone's having the same problem, it was due to trialN accumulating at the end of feedbackPartial. That meant that on trialN = 31 (the 32nd repetition), ifTarget is run and at the end trialN becomes 32. However because ifNontarget is still run within the same 32nd repetition of LP, trialN = 32 ends up returning true for the conditional in ifNontarget, which results in the extra trial.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by amyxli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant