-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to identify Score #1
Comments
Yes I want to store the first non 100% result in a cookie (at what question the user did not get 100%) |
Assuming you would like it stored when the test is over, rather than ending the test immediately. Down towards the end of the code, in the main() function, I print the results of a new function firstIncorrect(). This returns the array indices of the first incorrectly answered response. This means that it starts counting at 0, although note that the first two items cannot be answered incorrectly. |
Thank you very much, this is much cleaner than my series of 9 if statements. At what point of time does "endCriteria" become true? |
It ends either when every item is completed, or the user's success rate has become consistently extremely low. The current definition of 'extremely low', is in the later half of the scoreTest() function. In other words, whenever the code calls the function to determine how good the user's previous response was, it evaluates if the test should end early. This was done to try and avoid situations where low ability users were pointlessly taking test items that just made them feel bad, and didn't give the investigator any new information. I haven't checked what exactly state I uploaded it in, but the last time I used it I set that early cut-off to be on what I felt was leaned towards giving the user more test items than was necessarily needed. |
The number of items - and their length is defined in the questionLengths array. The first sub array are practice items, and the second is real items. I think in practice for my own use I used What you will want to use will likely depend on how much information you want, and how much user's time and patience you want to take up on this test. |
how yould you see at what question length the score is below 100% for the first time?
ps: love the project
The text was updated successfully, but these errors were encountered: