ebi-ait / checklist

Template repository for checklists
Apache License 2.0
1 stars 0 forks source link

run 008 - compare invalid document #39

Closed amnonkhen closed 3 months ago

amnonkhen commented 3 months ago

Running instructions: see #25

Definition of done:

snathanvj commented 3 months ago

I have executed the script for mandatory and enum errors , details are in #38

snathanvj commented 3 months ago

erroneous files are in same directory with error_type in file name otherwise all done.

snathanvj commented 3 months ago

generated files are here

/nfs/production/tburdett/workstreams/fairification/checklists/data/run008/invalid

biovalidator outputs are here:

/nfs/production/tburdett/workstreams/fairification/checklists/data/run008/invalid/validation_result Comparison results are here:

/nfs/production/tburdett/workstreams/fairification/checklists/data/run008/enum_error_comparison.txt /nfs/production/tburdett/workstreams/fairification/checklists/data/run008/mandatory_error_comparison.txt Note: regexp pattern error and malformed json error not covered here

ESapenaVentura commented 3 months ago

Will do the biovalidator output/comparison now

ESapenaVentura commented 3 months ago

Pattern validation

I have prepared a spreadsheet that contains some details about the validations that did not function correctly (aka, should have invalid value but it does not). I suspect this may be a problem of the regex and validation, rather than the schemas or the script not working correctly - Currently investigating

ESapenaVentura commented 3 months ago

There are 7 unique patterns:

ESapenaVentura commented 3 months ago

All the patterns validate against the 123 part of the invalid value __XYZ_BANANA_123%$£. Possible options are: