Append or remove file extension in response?


Author
Message
gracethenoob
gracethenoob
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 11, Visits: 85
Hello,
I am programming an experiment in which the participant sees an image and must type in what they saw in. So far, I am able to record what exactly the participant saw (i.e., the stimulus item) but I don't want to require the participants to type in the file extension ".jpg" in order for the program to determine the correctness of the response. Is there a way to record the stimulus item without its file extension OR append the file extension to the participant response?

My code so far:

<picture target>
/items = ("eggplant.jpg",
"shorts.jpg",
"toydinosaur.jpg",
"swimgoggles.jpg")
/size = (25%, 25%)
</picture>

<trial stream_target>
/ontrialbegin = [list.fillers.reset();]
/stimulustimes = [0 = target; 500 = filler01; 1000 = filler02; 1500 = filler03]
/timeout = 2000
/ontrialend = [values.filler01 = list.fillers.nextvalue]
/ontrialend = [values.filler02 = list.fillers.nextvalue]
/ontrialend = [values.filler03 = list.fillers.nextvalue]
/ontrialend  = [values.target = picture.target.currentitem]
/branch = [openended.T1_question]
</trial>


<openended T1_question>
/stimulusframes = [1 = T1_question]
/recorddata = true
/iscorrectresponse = [openended.T1_question.response == values.target]
/monkeyresponse = ("eggplant.jpg", "shorts.jpg", "toydinosaur.jpg", "swimgoggles.jpg")
</openended>


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search