ari

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Randomising serially presented text items within a trial #7772
    ari
    Participant

    Hi Jeremy,

    It’s been a while but I’ve just gotten back to this – I tried your solution and it works perfectly.

    Many thanks for the extremely helpful answers!!

    Best regards,
    Ari

    in reply to: Randomly Shuffle Positions of Elements #7459
    ari
    Participant

    Hi Jeremy,

    I’ve checked and synced it exactly as it says to in the above link :/ It still refuses to shuffle.

    in reply to: Randomly Shuffle Positions of Elements #7424
    ari
    Participant

    Dear Jeremy,

    This trick worked very well for me until recently and now suddenly doesn’t – the only change being that I’m no longer using the PCIbex Farm, I have to run the experiment on a locally hosted IbexFarm server by syncing the git repo to obey local data protection laws.

    Here’s the code for the relevant segment of a trial:

    newTrial("practice",
        defaultText
            .center()
            .print(),
            
        newText("info","<p><i>This is a trial round.</i></p>"),
            
        newSelector("texts"),
            
        newText("premise1", "The girl is holding an ice-cream.")
            .selector("texts"),
        newText("premise2", "The boy is holding a cupcake.")
            .selector("texts"),
        newText("premise3", "The baby is holding an ice-cream and a cupcake.")
            .selector("texts"),
            
        getSelector("texts")
            .shuffle()
            .disable(),
            
        newButton("next", "NEXT"),
        
        newCanvas("next1", 250, 250)
            .add(300, 64.5, getButton("next"))
            .print(),
        
        getButton('next')
            .log()
            .wait()
    
    );

    The same code runs on IbexFarm but no longer shuffles the elements. I’ve tried different formats like adding items to the selector using .add() instead, using .disableClicks(), ordering differently, etc. but it makes no difference and I can’t tell what I’m doing wrong. Might it have something to do with the PennController syncing to where I’m running the experiment?

    Thank you for your input!

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