elisa
About
- Username
- elisa
- Joined
- Visits
- 1,335
- Last Active
- Roles
- Moderator
Comments
-
Hi, On Prolific it's actually easy: use the Prolific ID to align the data from two participants. (See point 2. in this page on the JATOS docs: https://www.jatos.org/Use-Prolific.html#2-optional-consider-passing-prolific-url-parameters-to-your-study…
-
Hi Kim, we’d need a bit more information to understand the problem. Can you open the console in the browser (on chrome it’s called developer tools) and check which error messages you get, if any? elisa
-
Thanks, but I wanted to see something more complex than the hello world example, or the default shiny app when one creates a project. This will let me see how a proper survey with many questions looks like and I will know better where to include all…
-
My first thought is that you are trying to execute this before the jatos.js library is fully loaded. Try the same code, but within the callback function jatos.onLoad(), as we explain in point 2 here: http://www.jatos.org/Adapt-Pre-written-Code-to-r…
-
The only disadvantage is that you’d have to write this into your OSWeb study, which I don’t know how to do :) if you do,I see no obvious difference
-
Hi, R shiny creates an HTML file in the end, so you wouldn't be reading R on the browser, but HTML/JS. So it might be possible. As far as I know, shiny apps expect a "shiny server", so there must be some functions that are posting data to…
-
Hi, You can't have two separate links for two separate components. Instead, what I would do is have three components (as I described in an the answer to your other question Component 1 is called "Assign Conditions". All workers will alwa…
-
Hi Sine and @eduard, Batch data sessions (and the functions to access them) are JATOS-related. [Edit: now I see your other question.] but I am not familiar with how to write additional code in an OSWeb study, so I can tell you which functions you ne…
-
But let's ask @Eli for her opinion, she did several studies with counter balancing. I would not ask that people have to include the names of their conditions in the batch, as you just defined it. Imagine somebody wants to test 300 people.. it will b…
-
Hi, It depends on how you wrote your study. It sounds like you have two components in your study, with the first session in component 1 and the second session on component 2? Either way, you need an if statement. On the batch session, assign to you…
-
Hi, There's no built-in way. What you could do is use the batch session data together with a personal multiple worker: In the batch session, store the number of runs that a given participant did (how you identify them is up to you). In your JS, you …
-
Hi Pia, You can try to open the Developer tools (on Chrome: View -> Developer -> Developer tools) and see if you see any errors in the console. We'll then be able to tell if it's a problem with JATOS or OSWeb And maybe @lvanderlinden might be…
-
Great that it works! The docs explain how jsPsych and JATOS interact. http://www.jatos.org/jsPsych-and-JATOS.html, in case you come across the same problem again
-
(Unless, that is, there’s a situation that I haven’t thought about where this really is crucial)
-
Hi both, this is obviously an interesting feature to add and it’s nice to have a very robust tool that works without any hiccups. But I just want to add a very practical perspective: It seems to me that the number of times that this is an actual pr…
-
Dear S, without much more context it's hard to know what the problem might be. The one thing that comes to mind is: do you call jatos.urlQueryParameters.participant after jatos.onLoad? http://www.jatos.org/jatos.js-Reference.html#jatosonload It ta…
-
Hi Marta, It sounds like this was a bug in JATOS (sorry about that) that was fixed in the latest release. Can you update your JATOS and tell us if you still have the problem? Best
-
Dear Juliana, that’s an interesting point. The short answer is no, at the moment this is not possible. I looked at the psiturk documentation and didn’t understand completely what they describe there, but it sounds as though the client basically ge…
-
Hi, I haven’t used ngrok myself so I’m not sure but it sounds like you’re connecting and disconnecting? If you want to expose your local jatos, you’ll have to leave your computer on and port connected all the time. otherwise yes, your domain and IP …
-
Hi Iris, JATOS is meant to be a server that people access through the Internet. You are running JATOS locally, on your computer. Unless you make that accessible through the WWW, other participants won't be able to run your study and send you the res…
-
That’s best to ask in the OSWeb forum you’re welcome, I feel bad it took so long.
-
Hi Martin, I fixed the HTML. Now with order [5,3,4] it will redirect to the correct OSWeb component and also store the data appropriately. Sorry for the previous messy solution. Download it here https://www.dropbox.com/s/kasfoxtmrwsktj3/symmetry_spa…
-
You're right! I forgot to remove the quotes. (The reason is that I made a mistake: I did it rather quickly and just copy-pasted your original code from one place to another). Now that you say this, I think there are a couple of errors in the code: T…
-
Hi, Ok, I see. The problem was not that you didn't have a button to press, but really that you weren't updating the field taskIndex within jatos.studySessionData (this is the index that iterates over your jatos.studySessionData.order vector, to tell…
-
(Better move the same message to their forum. I've done that)
-
Hi Sanne, I assume that I would have to change it in my OSWeb file in some way? But I'm just not sure how to do this. Yes, the best is that you ask in the OSWeb forum how to add this as custom inline JavaScript. Will they be treated as the subject …
-
Hi Anne, Right now there is no proper way to do that with the abortStudy function. What you could do instead is overwrite your result data with an empty string '[]', and jump to the last component. Something like this: jatos.startLastComponent(&quo…
-
Hi, sorry, I don't understand the problem. For me, the modified line worked (and you did have a button to click on). But if you want to have a callback on a keypress anywhere on the document (and at any time) you could change your code to something…
-
Ah, also, I noticed that you send the message 'everything ok' on every trial to the server. This should be fine because it's just a small message but exchanging information with the server so often might lead to trouble, especially if too many peopl…
-
Hi Martin, I think I found the problem, in the call: jatos.submitResultData(resultCSV, "Task complete, moving to the next", () => { jatos.startComponentByPos(order[jatos.studySessionData["taskIndex"]]) }); You are giving a par…