Millisecond Forums

Selecting video item that subjects saw 10 trials ago where no error occurred

https://forums.millisecond.com/Topic30510.aspx

By peter.k.p - 1/15/2021

Hi Everyone,

I have an item list with videos. One video from this list is played in each trial (and subjects have to select another stimuli). A trial gets aborted when not reacting fast enough to the stimuli and the stimuli for that trial gets added at the end so that it will be played again. This works fine. However, now I want to include an attention check to see whether subjects remember the video they saw. I want to choose the video item that subjects saw 10 trials ago. However if they did an error once, the video that should be selected is the one they saw 11 trials ago. Does anyone have any suggestions? Thank you!

Attention check:
<radiobuttons Q1>
/caption = "Have you seen this person before?"
/ options = ("Yes", "No")
/ optionvalues = ("1", "2")
/required = true
/orientation = horizontal
/ position = (35%, 10%)
</radiobuttons>

<video memory_videos>
/ items = ("<% getitem(item.p_items, list.memory.nextvalue) %>")
/ position = (50%, 50%)
/ erase = false
/ playthrough = true
</video>

<surveypage memory_practice>
/caption =""
/questions = [1 = Q1]
/stimulusframes = [1=memory_videos]
</surveypage>

<item p_items>
/1= "177_y_f_n_h.mp4"
/2= "175_y_m_n_h.mp4"
/3= "180_m_f_n_h.mp4"
/4= "101_y_f_n_h.mp4"
/5= "093_m_f_n_h.mp4"
...
/100= "095_m_m_n_h.mp4"
</item>

By Dave - 1/15/2021

licka - 1/15/2021
Hi Everyone,

I have an item list with videos. One video from this list is played in each trial (and subjects have to select another stimuli). A trial gets aborted when not reacting fast enough to the stimuli and the stimuli for that trial gets added at the end so that it will be played again. This works fine. However, now I want to include an attention check to see whether subjects remember the video they saw. I want to choose the video item that subjects saw 10 trials ago. However if they did an error once, the video that should be selected is the one they saw 11 trials ago. Does anyone have any suggestions? Thank you!

Attention check:
<radiobuttons Q1>
/caption = "Have you seen this person before?"
/ options = ("Yes", "No")
/ optionvalues = ("1", "2")
/required = true
/orientation = horizontal
/ position = (35%, 10%)
</radiobuttons>

<video memory_videos>
/ items = ("<% getitem(item.p_items, list.memory.nextvalue) %>")
/ position = (50%, 50%)
/ erase = false
/ playthrough = true
</video>

<surveypage memory_practice>
/caption =""
/questions = [1 = Q1]
/stimulusframes = [1=memory_videos]
</surveypage>

<item p_items>
/1= "177_y_f_n_h.mp4"
/2= "175_y_m_n_h.mp4"
/3= "180_m_f_n_h.mp4"
/4= "101_y_f_n_h.mp4"
/5= "093_m_f_n_h.mp4"
...
/100= "095_m_m_n_h.mp4"
</item>


Please provide the full code, this snippet is not useful.