psych-ds / psychds-validator

Validator tools for the psych-DS specification
1 stars 1 forks source link

Error, Warn, Suggest; Message practices for the validator #4

Open mekline opened 10 months ago

mekline commented 10 months ago

At the end of the day, the written/human-readable specification should use the reserved terms MUST, SHOULD/MAY etc. should have exact parity with the levels of messages that Psych-DS validation produces (i.e. Error, Warning, Suggestion.)

We have also discussed just tentatively how to display these messages to users in ways that are both informative and not overwhelming, maybe using a "Levels" system, i.e.

"You have a dataset_description.json, but it has a syntax error so it cannot be parsed. Use [X tool] to help you fix this before proceeding."

"You have XLS and TSV files in your data/ directory and you might probably want them to be CSV. Fix this by..."

"You have IMG/other non-tabular files in your data/ directory and may want to move them or add them to .psychds-ignore. You can proceed, but Psych-DS will ignore these files from here on out."