unable to log ACC and RT

26 views
Skip to first unread message

Miao Qian

unread,
Feb 15, 2021, 2:49:37 PM2/15/21
to Minno.js
Hi Minno group, 
We recently coded a face individuation task using Minno, but was not able to log ACC and RT.  For the “logger” URL, I used '/implicit/PiPlayerApplet'. I wonder if you would know where the problem is? Here is a copy of our code. Looking forward to your reply! Thank you!


Miao



Mayan Navon

unread,
Feb 16, 2021, 6:25:18 AM2/16/21
to Miao Qian, Minno.js
Dear Miao,

Could you please specify which issue you encountered? - Did you fail to see the task's data when you tried to download it? If this is the case, it's probably because you included the logger code (i.e., API.addSettings('logger')...). It is not required (the task's data is logged automatically), and it creates issues if included in the code.

Best,
Mayan
 

--
You received this message because you are subscribed to the Google Groups "Minno.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minnojs+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/minnojs/65bb72a6-c9f7-4f02-abf3-e8f3f0e5a895n%40googlegroups.com.


--
Mayan

Miao Qian

unread,
Feb 17, 2021, 11:59:39 AM2/17/21
to Minno.js
Hi Mayan, 
Thanks for your reply! I failed to see the task data in the TEST.iat.txt file (no response time and accuracy, as seen below). 

Capture.JPG
I also would like to mention that the task (see code here) we created is not an IAT-like task. Should this affect data logging? Thanks. 

Mayan Navon

unread,
Feb 18, 2021, 5:27:21 AM2/18/21
to Miao Qian, Minno.js
Hi Miao,

There were a few issues with your code:
expt file: 
- The current version of minno.js is 0.3, and its url is: /common/all/js/minnojs/0.3.jsp. You used version 0.1.
Manager file (you called it intro.js): 
- You need to define the tasks (i.e., API.addTasksSet) before you create a sequence. 
- Also, you need to use the type 'time' for time tasks (rather than 'pip') with no version property.
trial2.js:
- No need to set the task name if you do that in the manager file.
- You need to tell minno to log your data (stimuli, RT. ACC) explicitly, and in the appropriate place (i.e., following the participants' response). So I added a score property to the trial (to log ACC) and a log type to the trial's actions.
- I also added {type:'resetTimer'} to measure the RT following the onset of the target stimulus.
- You also need to remove the option to give an input following the participant's response (so participants would only be able to respond once per trial).
- Your setter function did not work for me, so I commented it out.
- You need to trigger endTrial for the error trials too.
- Finally, I didn't understand your code for the sequence, It seems you redefine the trial. I changed it to just inherit the trials you defined earlier (1,2).

Here is my complete code (**with the only intention to get data for trial2.js), and here is the data I got:
image.png

Let me know if you have further questions.

Best,
Mayan





--
Mayan

Miao Qian

unread,
Feb 22, 2021, 1:15:35 PM2/22/21
to Minno.js
Yay! Problem solved! Thanks a lot, Mayan. 

Miao

Reply all
Reply to author
Forward
0 new messages