DashedAcceptabilityJudgment

PennController for IBEX Forums Support DashedAcceptabilityJudgment

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6279
    jgreen88
    Participant

    Hello,

    Can you please help me know how to use the DashedAcceptabilityJudgment controller from IbexFarm? I’ve tried the following:

    Template( "myTable.csv" ,
        // Row will iteratively point to every row in myTable.csv
        row => newTrial("experiment",
      newController("DashedAcceptabilityJudgment", {
            s: row.Sentence, 
            q: "How acceptable was that sentence?", 
            as: ["1", "2", "3", "4", "5", "6", "7"], 
            presentAsScale: true, 
            autoFirstChar: true,
            leftComment: "totally unacceptable", 
            rightComment: "totally acceptable", 
            mode: "self-paced reading"
            })
        .print()
        .log()
        .wait()
        .remove()
    )
    );

    When I do this, nothing shows up. If I used the “DashedSentence” controller instead, I get the sentence showing up in a self-paced reading format like expected (but no question). If I use the “Question” controller, I get the acceptability judgment question showing up like it should (but no self-paced reading sentence). It’s just when I try to use “DashedAcceptabilityJudgment” that it doesn’t work.

    #6283
    Jeremy
    Keymaster

    Hello,

    There seems to be a bug with how PennController integrates the VBox controller, on which the DashedAcceptabilityJudgment controller relies. I’ll have to fix that for the next release of PennController. In the meantime, one solution would be to use the DashedSentence controller first and then directly code the judgment part in PennController:

    Template( "myTable.csv" ,
        // Row will iteratively point to every row in myTable.csv
      row => newTrial("experiment",
        newController("DashedSentence", {s: row.Sentence})
            .print()
            .log()
            .wait()
            .remove()
        ,
        newText("How acceptable was that sentence?").print()
        ,
        newScale(7)
            .before( newText("totally unacceptable ") )
            .after( newText(" totally acceptable ") )
            .button()
            .keys()
            .print()
            .log()
            .wait()
      )
    )

    Fiddle with the aesthetics if the scale’s rendering is not to your liking

    Let me know if you have questions

    Jeremy

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.