-
Notifications
You must be signed in to change notification settings - Fork 52
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
Updates to plugin-self-paced-reading #79
Conversation
🦋 Changeset detectedLatest commit: 465f58c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Thanks @jessestorbeck ! I think we should remove yarn.lock, since the rest of the environment is using package.lock files. @bjoluc want to confirm that? The data values are all prefixed with |
@jodeleeuw -- There were other vars called |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few more tweaks and I think it's ready to go. 🚀
(Also remove yarn.lock
as part of that update)
packages/plugin-self-paced-reading/docs/jspsych-self-paced-reading.md
Outdated
Show resolved
Hide resolved
@jodeleeuw -- I believe I've addressed everything now. Thanks! |
Thanks, @jessestorbeck! This should be released on npm now. |
This should close #75 and supersede #77.
jsPsych.data.write()
are removed, andjsPsych.finishTrial()
now gets an object with words and reading times stored as arrays. Each trial now generates a single data object.inter_word_interval
> 0 is corrected. Previously, theinter_word_interval
value would be subtracted from the reading time of the initial blank and not subtracted from the reading time of the first word. This could lead to unrecognized valid keypresses and erroneous reading times, which become easier to see if you setinter_word_interval
to an unrealistically long value. The main issue is here, keeping in mind thatword_number
is initialized at -1:inter_word_interval
. Equivalent tests would fail with the existing version. The tests have also been updated to remove extra keypresses, which were necessary before because they represented invalid RTs.yarn.lock
should be in here or if it should be added to the .gitignore.