result file

PennController for IBEX Forums Support result file

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by Avatar Sahar 2 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4221
    Avatar
    Sahar
    Participant

    Hi Jeremy,

    I have designed an experiments through which participants have to give a number in a textinput as an answer. The problem is that in the result file I don’t see my experimental items (words). I only see the participants’ answers (numbers). Therefore, I don’t know what experimental item the given answer belongs to, unless I match it with my .csv file. I will be grateful if you help me with this issue!

    My codes are below, if it helps.
    Thank you so much!
    Sahar
    ——————————————————-
    newText(variable.Word)
    .print()
    .settings.log()
    ,
    newText(“question”, “How related are the above items in their meaning?”)
    .print()
    ,
    newText(“1: very unrelated”)
    .print()
    ,
    newText(“2: Unrelated”)
    .print()
    ,
    newText(“3: sort of related”)
    .print()
    ,
    newText(“4: related”)
    .print()
    ,
    newText(“5: very related”)
    .print()
    ,
    newTextInput(“Answer”)
    .print()
    .wait( getTextInput(“Answer”).testNot.text(“”) )
    .settings.log()
    )
    .log( “ID” , getVar(“ID”) )
    .log( “Gap” , variable.Gap )
    .log( “NoGap” , variable.NoGap )
    .log( “Filler” , variable.Filler ) )

    PennController.SendResults()

    • This topic was modified 2 months, 1 week ago by Jeremy Jeremy. Reason: moved to appropriate forum
    #4223
    Jeremy
    Jeremy
    Keymaster

    Hi Sahar,

    You probably want to add .log("Word", variable.Word) to your stack of logs. Calling .settings.log on the Text element itself will just record the timestamp at which it was printed on the screen. It’s true that the line in the results file should also show the name of the Text element, but note that newText(variable.Word) creates a text element whose content is the value of the Word cell, its name is basically a random string. If you want the same name and content, you can do newText(variable.Word,variable.Word).

    Also, you might be interested in the Scale element to provide your participants with a 1-to-5 type of input.

    Let me know if you have any questions

    Jeremy

    #4229
    Avatar
    Sahar
    Participant

    Thank you so much, Jeremy! The codes you suggested solved the problem. Now I have answers and words in my results file 🙂

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.