Reply To: How can I identify what sentence was presented to my participant?

PennController for IBEX Forums Support How can I identify what sentence was presented to my participant? Reply To: How can I identify what sentence was presented to my participant?

#7558
Jeremy
Keymaster

Hi,

You can use row. to reference cells from the current row when generating a trial from within Template( "table.csv", row =>, and you can use .log on the closing parenthesis of newTrial() to add a column to the end of each results line generated by the corresponding trial. So you can do something like this:

Template("tarefa1Alvo.csv", row =>
  newTrial("tarefa1Alvo",
    // ...
  )
  .log("acuraciaAlvoT1" , getVar("acuraciaAlvoT1"))
  .log("ParticipantID", subjID)
  .log("Estimulo", row.estimulo)
)

Jeremy