Repository navigation
Adds offline jsPsych deployment and streamed JATOS results - #20
Open
aaronstevenwhite wants to merge 2 commits into
Open
aaronstevenwhite wants to merge 2 commits into
aaronstevenwhite wants to merge 2 commits into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Enables locally packaged jsPsych 8.4.0 studies, named cloze fields, and
append-only JATOS results. The generator registers the slopit extension
class and activates capture only on eligible trials after consent. The
JATOS exporter writes native study archives. The result reader retains
partial runs and turns answered fields into annotation records.
Motivation
Experiment N requires three shared response fields, replayable item and
trial identities, and interaction events with an explicit capture scope.
The deployment started from a regular bead ItemTemplate, ExperimentList,
and jsPsych generator.
Type of Change
Checklist
uv run pyrightpassesuv run pytest tests/)Testing
The deployment and result-collection suite passed 153 Python tests. The
deployment package passed 83 TypeScript tests. The installed wheel
contained and matched the pinned runtime manifest. Chromium completed the
N archive with all external requests blocked. The installed wheel
built two byte-identical N archives. A local JATOS 3.11.3 instance
imported the native archive, served the real client script, and
retained 11 records after Chromium closed during the session. Bead
downloaded the ZIP through the JATOS API and recovered three completed
cloze trials and three named target annotations. The partial stream
had response-control telemetry and no terminal record.
The existing JATOS response-capture implementation is retained as the
legacy profile. The new response-control profile uses the browser artifact
built by the companion slopit branch until a release packages it. slopit PR #40