Skip to content
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

Psych-DS Validator Implementation with the Metadata CLI Tool #41

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

vzhang03
Copy link
Collaborator

This implementation calls the Psych-DS validator and prints out a summary of the validation results. This is called when the user passes in existing metadata and on the completion of the process when the final metadata and data files are written. The summary of the printed results is the number of errors or warnings. The errors are always shown whereas the warnings are only displayed when called with the "--verbose" flag.

The guiding and prompting process and specifically how we should prompt the user to deal with these warnings and errors needs to be more fully fleshed out. This is will need to be coordinated with the Psych-DS team because there are areas where I am not entirely clear. This will be a continued process and this version is still the initial version.

Lingering issues are the problem of ".json" files being not allowed and the naming of data files. I am leaning towards renaming data files when rewriting them when copying them in the validator to leave the issue of how to rename data files post-trial is a more significant JsPsych architecture related issue.

Copy link

changeset-bot bot commented Nov 17, 2024

🦋 Changeset detected

Latest commit: 91e8139

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@jspsych/metadata-cli Minor
@jspsych/metadata Patch
frontend Patch

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant