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

TG2-VALIDATION_NAMEPUBLISHEDINYEAR_NOTEMPTY #259

Open
Tasilee opened this issue Feb 7, 2024 · 1 comment
Open

TG2-VALIDATION_NAMEPUBLISHEDINYEAR_NOTEMPTY #259

Tasilee opened this issue Feb 7, 2024 · 1 comment
Labels
Completeness CORE TG2 CORE tests NAME Test Tests created by TG2, either CORE, Supplementary or DO NOT IMPLEMENT TG2 Validation

Comments

@Tasilee
Copy link
Collaborator

Tasilee commented Feb 7, 2024

TestField Value
GUID ff59f77d-71e9-4eb1-aac9-8bd05c50ff70
Label VALIDATION_NAMEPUBLISHEDINYEAR_NOTEMPTY
Description Is there a value in dwc:namePublishedInYear?
TestType Validation
Darwin Core Class dwc:Taxon
Information Elements ActedUpon dwc:namePublishedInYear
Information Elements Consulted
Expected Response COMPLIANT if dwc:namePublishedInYear is bdq:NotEmpty; otherwise NOT_COMPLIANT
Data Quality Dimension Completeness
Term-Actions NAMEPUBLISHEDINYEAR_NOTEMPTY
Parameter(s)
Source Authority
Specification Last Updated 2024-02-07
Examples [dwc:namePublishedInYear="2024": Response.status=RUN_HAS_RESULT, Response.result=COMPLIANT, Response.comment="dwc:namePublishedInYear is bdq:NotEmpty"]
[dwc:namePublishedInYear="": Response.status=RUN_HAS_RESULT, Response.result=NOT_COMPLIANT, Response.comment="dwc:namePublishedInYear is bdq:Empty"]
Source TG2
References
Example Implementations (Mechanisms) Kurator/FilteredPush sci_name_qc Library
Link to Specification Source Code https://github.com/FilteredPush/sci_name_qc/blob/v1.1.2/src/main/java/org/filteredpush/qc/sciname/DwCSciNameDQ.java#L3094
Notes
@Tasilee Tasilee added TG2 Validation NAME Test Tests created by TG2, either CORE, Supplementary or DO NOT IMPLEMENT Supplementary Tests supplementary to the core test suite. These are tests that the team regarded as not CORE. Completeness labels Feb 7, 2024
@chicoreus
Copy link
Collaborator

Like #244 there are good arguments for including this test in CORE, and adding a validation for in range for dwc:namePublishedInYear. This term is of utility to implementors attempting to understand the content of dwc:scientificName, and similarly to match dwc:scientificName to a dwc:scientificNameID as year of publication may disambiguate some homonyms. We should also include dwc:namePublishedInYear as a field consulted in some of the existing core tests that work with dwc:scientificName.

@Tasilee Tasilee added NEEDS WORK CORE TG2 CORE tests and removed NEEDS WORK Supplementary Tests supplementary to the core test suite. These are tests that the team regarded as not CORE. labels Feb 9, 2024
chicoreus added a commit to FilteredPush/sci_name_qc that referenced this issue Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Completeness CORE TG2 CORE tests NAME Test Tests created by TG2, either CORE, Supplementary or DO NOT IMPLEMENT TG2 Validation
Projects
None yet
Development

No branches or pull requests

2 participants