-
Notifications
You must be signed in to change notification settings - Fork 0
validation result model #171
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
Conversation
I don't see any entry for the generated figure in your ValidationResult model. Would the figure be stored in the ValidationResult, or would it be stored elsewhere? |
The figure is stored as an asset. Entities can have assets (usually a file). |
Ok, I see. I have another question. I see that the ValidationResult contains a link to the validated entity. Would the validation result show in the validated entity, like the annotations? Or do we have to manually add an annotation into the validated entity linking to the ValidationResult? |
no, there is no annotation to add. The UI can fetch all the ValidationResult pointing to the displayed entity. |
Overall looks good to me! Just one additional item would be required that is outlined in General_schema.docx, namely some kind of logging information for the user. The idea is to store additional details on the validation run, e.g., if the validation was skipped, if there were any warnings, why the validation failed etc. Otherwise, it will be difficult for a user to know how to fix the artifact in case the validation failed. I imagine this could be either another asset containing a log file, or better an optional string with (human-readable) details on the validation run. We called it |
yes, that would be another asset indeed. |
I have modified the General_schema.docx to rename notes into validation_details, and make it an asset |
@jdcourcol some validation results will be in the format of key: value, where the value is of either boolean or a number. Should we make these results as an asset or is it better to have a dedicated structure in entitycore? |
I am worried that if we add this in now without handling version and provenance it will be hard to migrate in the future. I would suggest to have a meeting on Tuesday to discuss this. |
yes, but we can add that when we face it. A good reference would be https://sciunit.readthedocs.io/en/latest/basics.html#score |
Can you elaborate why ? |
If version and provenance information is not present then what would be migrated? Do we just assume that what's in there is the base version and that all validations have been run on it? If so that's fine but we need to be sure to rerun the validations any time things change. |
For the time being, we are going to import the existing validation results stored in the knowledge graph. |
015b319
to
67165ec
Compare
The immediate need is to store things like:

We want to store the result of the execution of the validation and the generated assets for display in the GUI.
The PR does not address:
To be added later: