snederve

Forum Replies Created

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • in reply to: Progress bar #5886
    snederve
    Participant

    Hi Jeremy,

    This question is also related to the progress bar: I’m trying to delete the progress bar in all html forms but not in the test trials. I keep failing to do it properly. The only code that did seem to work somewhat was this:

    var defaults = [      "PennController",{hideProgressBar: true}
                    ] ;

    Unfortunately, using this piece of code deleted hides the progress bar from all trials too, and I just want to keep it out of the consent and debrief forms. Is there a way of doing this? I can give some more code as to how the forms are introduced too.

    Sander

    in reply to: DashedSentence in a PennController trial #5535
    snederve
    Participant

    I fixed it. The .log(“all”) did the trick.

    in reply to: DashedSentence in a PennController trial #5525
    snederve
    Participant

    Hi!
    Just one more question: when the results come out, I do not get the reading time for each word, but only the total time for one item. Is there a way to record the time per word that you know of? Or can I only do this with the native ibex script (not not with an external CSV file? Thanks 🙂
    Sander

    in reply to: DashedSentence in a PennController trial #5505
    snederve
    Participant

    Amazing, it works perfectly! Thanks a lot!

    in reply to: DashedSentence in a PennController trial #5466
    snederve
    Participant

    Hi Jeremy,

    Thanks for posting this! I’m working with the native Ibex calling in a CSV from elsewhere. Getting the sentences works great, but I have one problem:
    I would like to include comprehension questions that relate to the sentence the participants just saw. In your message, the comprehension questions are independent, so they are randomized as separate elements. I can’t seem to figure out how I can stay within the same environment and have the comprehension questions show up.

    So I copied your code, and I only randomize the item “Sentence” (a column label in my csv). So I understand why the questions don’t show up. However, if I add “comprehension” to the shuffle sequence, they just show up randomly and are not associated with the previous sentence. Do you know how I can make the comprehension questions correspond to the previous sentence? Should I call in a specific column from a row?

    PennController.ResetPrefix(null)
    // Sequence of randomly picked pairs of test + control trials
    PennController.Sequence( "practice" , rshuffle("Sentence") )
    // This is the standard way of defining items in Ibex
    var items = [
        ["practice", "DashedSentence", {s: "This is a practice item so that you know what the task looks like"}]
    ]
    
     PennController.Template( "CSV_Template.csv", 
      row => ["Sentence", "DashedSentence", {s: row.Sentence}] 
     )
     
     PennController.Template( "CSV_Template.csv",  // So I'm sure I shouldn't put this here, but I can't make it work as part of the PennController.Template() above. CSV column labels correspond with code.
        row => PennController( "comprehension" ,
        newText("CompQ", row.CompQ)
           .print()
        ,
        newText("Negative feedback", "Not correct!")
       ,
       // This is a dirty javascript trick to randomize the answers
       newScale("result", ...[row.Results1, row.Results2].sort(()=>0.5-Math.random()) )
           .labelsPosition("right")
            .print()
            // We wait until the participant selects the right answer
           .wait(
             getScale("result").test.selected(row.Results1)
                    .failure( getText("Negative feedback").print() )
            )
      )
    )

    Again, thanks a lot for building this. I’m happy to do SPRs in PC Ibex and have all my experiments done on the same platform.

    Thanks.
    Sander

    in reply to: logging spreadsheet info #4183
    snederve
    Participant

    Hi,

    Oh yes, I had the debugger turned off — good call: should keep it on while work is in progress.

    Good info to know about the next release, I’ll hopefully keep using PennController for the next few years 🙂

    Sander

    in reply to: logging spreadsheet info #4179
    snederve
    Participant

    It’s always something small I suppose. I didn’t putt the command behind the right parenthesis. Thanks for pointing that out, it now works!

    Thanks a lot!

    -S

    in reply to: logging spreadsheet info #4177
    snederve
    Participant

    https://vault.sfu.ca/index.php/s/lRydTawHYdU5oAH

    Another link to the zipped folder. I first accidentally used password protection.

    in reply to: logging spreadsheet info #4176
    snederve
    Participant

    This is the link to my experiment:
    https://expt.pcibex.net/ibexexps/snederve/Speaker_Belief_ListA/experiment.html

    Here’s a link to the zipped folder in which the entire experiment (including CSV) is stored: https://vault.sfu.ca/index.php/s/lRydTawHYdU5oAH

    It’s not with the ABCD groups, but just list A – but I figure that once it is fixed in one list, I can apply that to the others.

    Thanks!

    in reply to: logging spreadsheet info #4174
    snederve
    Participant

    In my CSV file, the headers are as follows:

    Label Class Group Sentence Sagen Claim Question
    Rating VF-1 A bla bla bla bla
    Rating V2-1 B bla bla bla bla
    Rating EVF-1 C bla bla bla bla
    Rating EV2-1 D bla bla bla bla

    So I want the VF-1, V2-1, EVF-1, EV2-1, recorded for each item, but I feel like you already got that…

    Sander

    in reply to: logging spreadsheet info #4172
    snederve
    Participant

    Hi

    Thanks. It still doesn’t seem to work. My results file will only give a column in which it states “Class”, but not the value of Class for each item.

    Is there any way to log the values within the column, rather than just the column header? Thanks.

    Sander

    in reply to: CSV activation in shuffleSequence #4160
    snederve
    Participant

    Thanks, it all works now. 🙂

    in reply to: CSV activation in shuffleSequence #4155
    snederve
    Participant

    Thanks! I started from scratch, using only PennController code and it works now.

    In terms of aesthetics, I can’t find anywhere how I can put boxes around a canvas. Do I need to add a separate script for that into the chunk_includes/resources? Or is there a way I can write that in my main script in such a way that all canvases are boxed?
    Thanks.

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