PennController for IBEX › Forums › Support › Comprehension question and rshuffle in self-paced reading › Reply To: Comprehension question and rshuffle in self-paced reading
Hi Jeremy,
Following my previous post, after data collection, I found that in the results file, the conditions (e.g., Target_a, Target_b,…) were not appended to the trials (I see “experiment-trial” appended to each trial instead), although the conditions were labeled in the csv file. The same problem applies to other labels like “Experiment”, “Group”, etc.
This the code I used:
Template("demo_data.csv", row =>
newTrial("experimental-trial",
newController("DashedSentence",{s: row.Sentence})
.cssContainer({"margin-top":"2em", "margin-bottom":"2em"})
.print()
.center()
.log()
.wait()
.remove()
,
newScale(7)
.before( newText("left", "<div class='fancy'>(Highly unacceptable)</div>") )
.after( newText("right", "<div class='fancy'>(Highly acceptable)</div>") )
.labelsPosition({"margin-top":"2em", "margin-bottom":"2em"})
.keys()
.log()
.once()
.color("LightCoral")
.center()
.print()
.wait()
.remove()
)
)
Another minor issue is that for some reason, the Item ID for each trial was incremented by a fixed number (maybe by the number of practice trials and number of instruction texts).
Could you please let me know what went wrong? Thank you!
Jun