Hello,
My trial stage consists of 3 questions and responses for each question are supposed to be counted as 3 different subtask scores. I can get cumulative total score but I cant get subscores for subtasks.
Correct answers for each question generate subtask scores as below.
Question 1 must generate recognition subtask score,
Question 2 must generate doer subtask score,
Question 3 must generate act subtask score.
I added 3 keyboards and 3 codes for each question and also a keyboard and code for total score but It didnât work out.
Condition File is this
Codes for the subtasks are;
Question 1
Begin expriment:
cumulative_recognition = 0
End Routine:
if keyboard1.corr:
cumulative_recognition = cumulative_recognition + RecognitionCorrPoint
#And save the data
thisExp.addData (âcumulative_recognitionâ, cumulative_recognition)
Question 2
Begin Experiment:
cumulative_doer = 0
End Routine:
if keyboard2.corr:
cumulative_doer = cumulative_doer + DoerCorrPoint
#And save the data
thisExp.addData (âcumulative_doerâ, cumulative_doer)
Question 3
Begin Experiment:
cumulative_act = 0
End Routine:
if keyboard3.corr:
cumulative_act = cumulative_act + ActCorrPoint
#And save the data
thisExp.addData (âcumulative_pointsâ, cumulative_points)
Total Score
Begin Experiment:
cumulative_points = 0
End Routine:
if keyboard_total.corr:
cumulative_points = cumulative_points + CorrPoint
#And save the data
thisExp.addData (âcumulative_pointsâ, cumulative_points)
In the end data file comes like this. It stores responses for question 1 but still not exactly I responded. I dont know why It is recorded ânoneâ as a response which I highlighted in blue. It wasnât added up to the cumulative score though.
Responses for question 2 and question 3 highlighted in green arenât recorded as they should be too.
Any recommendations?