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

TB LOD Gatekeeper rule set 20220621 #5

Open
myrmoteras opened this issue Jun 21, 2022 · 0 comments
Open

TB LOD Gatekeeper rule set 20220621 #5

myrmoteras opened this issue Jun 21, 2022 · 0 comments

Comments

@myrmoteras
Copy link
Contributor

myrmoteras commented Jun 21, 2022

Following the current gatekeeper rule set that decides whetehr a treatment is pushed to treawtments-xml

The error protocol summary is available here https://tb.plazi.org/GgServer/ephStats

SRS LOD (./category[./@name = 'taxonomicNames']/type[./@name = 'missingRank' and $detailId and (./@errors-blocker > 0 or ./@errors-critical > 0)]) taxonomicNames/missingRank Unresolved treatment taxon issues
SRS LOD (./category[./@name = 'taxonomicNames']/type[./@name = 'missingAuthority' and $detailId and (./@errors-blocker > 0 or ./@errors-critical > 0)]) taxonomicNames/missingAuthority Unresolved treatment taxon issues
SRS LOD (./category[./@name = 'taxonomicNames']/type[./@name = 'missingFamily' and $detailId and (./@errors-blocker > 0 or ./@errors-critical > 0)]) taxonomicNames/missingFamily Unresolved treatment taxon issues
SRS LOD (./category[./@name = 'taxonomicNames']/type[./@name = 'missingOrder' and $detailId and (./@errors-blocker > 0 or ./@errors-critical > 0)]) taxonomicNames/missingOrder Unresolved treatment taxon issues
SRS LOD (./category[./@name = 'taxonomicNames']/type[./@name = 'missingKingdom' and $detailId and (./@errors-blocker > 0 or ./@errors-critical > 0)]) taxonomicNames/missingKingdom Unresolved treatment taxon issues
SRS LOD (./category[./@name = 'taxonomicNames']/type[./@name = 'brokenFamily' and $detailId and (./@errors-blocker > 0 or ./@errors-critical > 0)]) taxonomicNames/brokenFamily Unresolved treatment taxon issues
SRS LOD (./category[./@name = 'taxonomicNames']/type[./@name = 'brokenOrder' and $detailId and (./@errors-blocker > 0 or ./@errors-critical > 0)]) taxonomicNames/brokenOrder Unresolved treatment taxon issues
SRS LOD (./category[./@name = 'treatments']/type[./@name = 'missingTaxon' and $detailId and ./@errors-blocker > 0]) treatments/missingTaxon Unresolved treatment boundary issues
SRS LOD (./category[./@name = 'treatments']/type[./@name = 'brokenBoundaries' and $detailId and (./@errors-blocker > 0 or ./@errors-critical > 0)]) treatments/brokenBoundaries Unresolved treatment boundary issues
SRS LOD (./category[./@name = 'treatments']/type[./@name = 'brokenStructure' and $detailId and (./@errors-blocker > 0 or ./@errors-critical > 0)]) treatments/brokenStructure Unresolved treatment structure issues
SRS LOD (./category[./@name = 'treatments']/type[./@name = 'missingStructure' and $detailId and (./@errors-blocker > 0 or ./@errors-critical > 0)]) treatments/missingStructure Unresolved treatment structure issues
SRS LOD (./category[./@name = 'treatments']/type[./@name = 'missingNomenclature' and $detailId and (./@errors-blocker > 0 or ./@errors-critical > 0)]) treatments/missingNomenclature Unresolved treatment structure issues
SRS LOD (./category[./@name = 'treatments']/type[./@name = 'spuriousTreatment' and $detailId and ./@errors-blocker > 0]) treatments/spuriousTreatment Treatment too small to be valid
SRS LOD (./category[./@name = 'treatments']/type[./@name = 'mingledTreatments' and $detailId and ./@errors-blocker > 0]) treatments/mingledTreatments Treatment might be aggregate of multiple treatments
SRS LOD (./category[./@name = 'treatments']/type[./@name = 'brokenReferenceGroup' and $detailId and (./@errors-blocker > 0 or ./@errors-critical > 0)]) treatments/brokenReferenceGroup Reference group cites suspicious taxon names
// fallback for missing error protocol: uploaded 2020-06-01 or later
SRS LOD (./@checkinTime > 1590926399000) document/missingQc QC is required for LOD export of treatments extracted from IMF documents uploaded after 2020-05-31

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

No branches or pull requests

1 participant