Forum Replies Created
-
AuthorPosts
-
snederve
ParticipantHi 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
snederve
ParticipantI fixed it. The .log(“all”) did the trick.
snederve
ParticipantHi!
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 🙂
Sandersnederve
ParticipantAmazing, it works perfectly! Thanks a lot!
snederve
ParticipantHi 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.
Sandersnederve
ParticipantHi,
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
snederve
ParticipantIt’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
snederve
Participanthttps://vault.sfu.ca/index.php/s/lRydTawHYdU5oAH
Another link to the zipped folder. I first accidentally used password protection.
snederve
ParticipantThis is the link to my experiment:
https://expt.pcibex.net/ibexexps/snederve/Speaker_Belief_ListA/experiment.htmlHere’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!
snederve
ParticipantIn 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 blaSo I want the VF-1, V2-1, EVF-1, EV2-1, recorded for each item, but I feel like you already got that…
Sander
snederve
ParticipantHi
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
snederve
ParticipantThanks, it all works now. 🙂
snederve
ParticipantThanks! 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. -
AuthorPosts