Forum Replies Created
-
AuthorPosts
-
KateK
ParticipantWe have fixed issue 1 somehow, but I think the solution might be of interest to others as well.
Essentially, it looks like the .log() method works fine, but the .log() command simply doesn’t work. In less opaque terms: when you add .log() at the end of a Trial, outside it, then it actually does have an effect on the results csv file, and it adds what it’s supposed to add. However, at least in our code, whenever .log() is *inside* a Trial (for example, newHtml(… .log()), newTextInput(… .log()), etc.)), it simply just doesn’t do anything at all for some reason. I don’t know if the PennController has a little bug that might be causing this, but by fickling and tinkering it seems like a pretty consistent pattern.
As for issue 2, the phantom missing results, we’re still fully in the dark – anyone who has had similar problems?
KateK
ParticipantHi Jeremy,
Thank you so much for this. I am curious – is there a way to get the “Button” effect without the “Button” appearing on screen? Would I be able to make the button invisible using CSS? I wonder if it would distract participants.
Best,
KateAugust 16, 2023 at 9:41 am in reply to: Question about assigning conditions, groups + randomization #10822KateK
ParticipantHi Jeremy,
Thanks for all your help! I’m encountering one last issue, still with the logging.
I’m checking the results file and even using the logging method you suggested, where it checks agains the .csv, I’m still not logging all the information about the trial.
It seems to only be logging information related to the minimum standard .csv, and none of the information from the target .csv is being appended to the results file. Do you know how I can make sure it logs the information from evaltarget1.csv too? Information related to contextquestion, equativequestion, etc is not present.
Here is the build: https://farm.pcibex.net/r/IfMxOL/
Thank you again.
July 28, 2023 at 12:53 pm in reply to: Question about assigning conditions, groups + randomization #10794KateK
ParticipantThanks, Jeremy! This is so helpful. Right now, I’m using rshuffle in the latest iteration of this build, but am a little concerned about participants being able to receive up to 6 fillers in a row… I tried inserting a randomizeNoMoreThan file and then modifying the sequence, but whenever I did, I lost all filler items entirely.
Do you have any tips on how to add a constraint on how many fillers can appear consecutively?
July 24, 2023 at 10:21 am in reply to: Question about assigning conditions, groups + randomization #10788KateK
ParticipantDear Jeremy,
Thanks for this!
I keep getting a *ton* of errors, because the column names aren’t standard across the three .csv’s in Part 1. Do I *have* to standardize them/make them the same in order to run the study?
July 19, 2023 at 3:14 pm in reply to: Question about assigning conditions, groups + randomization #10760KateK
ParticipantThanks, Jeremy.
Unfortunately I have encountered another problem – my code seems to be generating each fillers and MP item *two times*, oddly. So all of the target items are generating properly, but every single filler and MP item shows up twice.
I’m wondering if it has to do with having “Template(“0718fillers.csv”, myCustomTrialFunction)
Template(“0718minimumstandard.csv”, myCustomTrialFunction) in my code, but if I take that out, the items in the fillers and MS .csv’s don’t generate at all.I am also not sure why my experiment isn’t logging row data.
Here is a link to the experiment: https://farm.pcibex.net/r/hyapLe/
Any help would be appreciated as always. Thank you so much.
July 17, 2023 at 11:50 am in reply to: Question about assigning conditions, groups + randomization #10748KateK
ParticipantHi Jeremy,
Thanks! Unfortunately, it seems like the target item’s questions are not printing with this new code inserted. I can’t tell why the questions are printing for fillers and not targets, even though the aesthetics have been fixed. Could you help me figure out why?
https://farm.pcibex.net/r/lYFvPD/
I appreciate it!
July 11, 2023 at 3:22 pm in reply to: Question about assigning conditions, groups + randomization #10737KateK
ParticipantHi Jeremy!
Thanks, this helped a lot.
I’m unfortunately still having some trouble getting the aesthetics of my Experiment-Target items (generated by the .js dictionary at the top of the script) to match my Experiment-Filler items. I want the Target item optics to match the setup of the Filler items… I can’t figure out how to put a spacer between the Context Sentence and Question in the new_targets like I have for the other items.
I’m also having some weird issues with making sure all the item text is centered; I’m not sure why some of them will center and others won’t.
You can see the script here: https://farm.pcibex.net/r/jvWllE/
Any advice would be appreciated!
Kate
June 27, 2023 at 12:35 pm in reply to: Question about assigning conditions, groups + randomization #10717KateK
ParticipantHi Jeremy,
Sorry to bug you again – should I/can I use the same Javascript dictionary (aka, duplicate) to generate and randomize three trials from the N/A items? I just put them in a separate spreadsheet and am not sure where to go with it.
Best,
KateJune 27, 2023 at 9:35 am in reply to: Question about assigning conditions, groups + randomization #10716KateK
ParticipantJeremy,
Thank you so much! I removed the NA rows for now and will give them a new home in another .csv!
Do you know what I should do in order to randomize the presentation of fillers and the new items generated from the Javascript dictionary?
Here is my most recent build: https://farm.pcibex.net/r/KTUJvz/.
June 26, 2023 at 11:55 am in reply to: Question about assigning conditions, groups + randomization #10714KateK
ParticipantA follow-up – I tried to edit the code and inserted my .csv with the actual items in it and unfortunately can’t seem to get it to run. Could you take a look: https://farm.pcibex.net/r/Zhoqih/?
June 26, 2023 at 11:34 am in reply to: Question about assigning conditions, groups + randomization #10713KateK
ParticipantThis is great! Thanks so much for catching that.
With my filler items, I have a context sentence appear first, then a follow up question with a Likert scale. Do you know how I can apply this to the items created by the code above?
June 26, 2023 at 11:07 am in reply to: Question about assigning conditions, groups + randomization #10711KateK
ParticipantHi Jeremy,
Thank you again for your help with this!
It doesn’t seem to be printing things from the mock-up test template or producing the items and presenting them – do you think you could help me figure out what went awry? Is it an issue with the column names between the test and filler items?
Here is the experiment as it exists now: https://farm.pcibex.net/r/Zhoqih/
I appreciate your help!
Kate
June 23, 2023 at 9:06 am in reply to: Question about assigning conditions, groups + randomization #10704KateK
ParticipantHi Jeremy,
I tried to place this code in my experiment and when I try to run it, it freezes and crashes the page. Do you have any advice?
Best,
KateKateK
ParticipantUPDATE: Resolved!
-
AuthorPosts