Reply To: Comprehension question and rshuffle in self-paced reading

PennController for IBEX Forums Support Comprehension question and rshuffle in self-paced reading Reply To: Comprehension question and rshuffle in self-paced reading

#7730
JunLyu
Participant

Thank you Jeremy for clearing my confusion! I can now get the information I want after a trial run. I have a minor clarification question regarding .log() though. I only need to append the .log() command after each NewTrial, correct? I don’t need to use .log() command after each “task” (spr, sentence-final judgment) I assume (although it should also work)?

For example, here’s what I used in the script (the .log() commands are appended to the end of newTrial):


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'>(非常不通顺)</div>") )
        .after( newText("right", "<div class='fancy'>(非常通顺)</div>") )
        .labelsPosition("top")
        .keys()
        .log()
        .once()
        .color("LightCoral")
        .center()
        .print()
        .wait()
        .remove()
        )
    .log("group", row.Group)
    .log("item", row.Item_ID)
    .log("condition", row.Condition)
    )

Jun