-
Notifications
You must be signed in to change notification settings - Fork 7
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 - Structuring Test Descriptions #197
Comments
I previously asked "What are we trying to do with the description" to which @chicoreus responded " I see that we need (1) an rdfs:label that can be applied to a ContextualizedCriterion, and (2) this label can be presented to human consumers of descriptions the validation in a description of the data quality needs met by the core tests, or as metadata about the validation in a data quality report from a mechanism that ran the core tests to fit a data quality need. The Specification (the "Expected Response" in the markdown tables in the github issues), is the description of the validation for implementors, the Description is the parallel metadata about the ContextualizedCriterion+Specification+Validation for end users." |
My preferences have been captured on (1) and (2) above. In regards “Parameterized”, I’d prefer to keep it to statements like “….was amended from values in bdq:sourceAuthority..” The use of “specified” is redundant and will be confusing. We have bdq:sourceAuthority covered under the Parameter(s), and Notes for defaults - which I am now thinking would make more sense on the Parameter(s) line :|. We should use the Notes only where clarification is required. |
I agree with @Tasilee on all counts. |
Following examples set by @Tasilee for the OTHER tests and my doing the NAME tests we have struck upon a formula viz
|
Thanks @ArthurChapman. Seems the two of us have taken pity on @tucotuco 's busy life, so I have just done the Descriptions for SPACE with NOTEMPTY. Easy. I'll do SPACE and STANDARD and call it a day... I was having so much fun....I've also done SPACE and STANDARDIZED |
I have added descriptions to all the SPACE tests (except those done by @Tasilee. Some were quite difficult and someone should check them all. As you can see from the many issue I raised, there are some possible changes needed to a number of Expected Responses. |
I have just done a full run through of the all the test descriptions and made some minor edits, spellling corrections, etc. for consistency. While doing that, I added descriptions for all the TIME tests, and added either a period or a ? at the end of each description. |
Great job @ArthurChapman! I’ll do a check through tomorrow. |
This is starting to look like an ok template for one class of AMENDMENTS (#115): "...AMENDED the value of dwc:occurrenceStatus if the value can be matched to a standard value in bdq:sourceAuthority..." Happy? |
Are talking about descriptions or Expected Response? For the Description I have used "Proposed to amend" as suggested by @chicoreus though AMENDED fits with the Expected Response. I like it. Could shorten to "...AMENDED the value of dwc:occurrenceStatus if it can be matched to a standard value in bdq:sourceAuthority..." Don't need the second "the value" as you already have "value" as the subject of the sentence. |
Yes, agreed. This is what I have also concluded in working through the ERs for the AMENDMENTs |
I have just finished going through all the Expected Responses of the AMENDMENTs conforming them to the template AMENDED the value of xxx if ....; I think this has made all of the ERs clearer, but all need to check the logic and the phrasing. There have been so many changes in the last week that I'll need to do a new dump of the Test specs. |
Just a thought - @Tasilee has "...AMENDED the value of dwc:occurrenceStatus if it can be matched to a standard value in bdq:sourceAuthority..." Suggest "...AMENDED the value of dwc:occurrenceStatus if it conforms to a standard value in bdq:sourceAuthority..." |
Following discussion with @Tasilee, we have settled on the formula (I have fixed some tense issues) "...AMENDED the value of dwc:occurrenceStatus if could be matched to a value in bdq:sourceAuthority..." |
Changed my mind again "...AMENDED the value of dwc:occurrenceStatus if it was matched to a value in bdq:sourceAuthority..." |
I have been through all the AMENDMENT Expected Responses. Standardized to the formula "...AMENDED the value of dwc:occurrenceStatus if it matched a value in bdq:sourceAuthority..." |
On Sun, 27 Mar 2022 16:45:59 -0700 Arthur Chapman ***@***.***> wrote:
I have been through all the AMENDMENT Expected Responses.
Standardized to the formula
"...AMENDED the value of dwc:occurrenceStatus if it matched a value
in bdq:sourceAuthority..."
If it matched, it doesn't need amending. The language here probably needs to paralell numeric values, "if it could be unambiguosuly interpreted as a value in", or "if it could be unambiguously conformed to a value in".
|
I raised this point with @ArthurChapman this morning. My feeling was that we needed a way of phrasing either the ‘interpretation’ of the supplied value by code or by the reference (dq:sourceAuthority, ISO, parameters, vocabulary…) with ‘synonymy support’ (e.g., sp. -> species) or both. In many cases, we have not been explicit about this. |
@chicoreus has a good point when he says (in an email) "If it matched, it doesn't need amending. The language here probably needs to parallel numeric values, "if it could be unambiguosuly interpreted as a value in", or "if it could be unambiguously conformed to a value in"." I suggest we go with the wording recommended there for the AMENDMENTS - ""if it could be unambiguously interpreted as a value in" |
I've started to look at the Descriptions for the AMENDMENTs. There are a few different structures (surprise!)
I am presuming that (1) using "Propose amendment to the value of ..." would be preferable? |
Interesting. Propose seems good, but then we say AMENDED in the Expected Responses. |
And in the definition for AMENDED, we should say that the change to the data is proposed, and a data curator may choose to apply that proposal to the database of record, or not. Clear finding from both Kurator and FilteredPush projects is that it is very important to use language for data curators that doesn't imply automated changes to their data outside their control (thus proposed is a good word to use in the Description, which is targeted at consumers of data quality reports, unlike the Expected Response (Specification) which is targeted at implementors). |
We certainly need to figure how far we align the Descriptions (a generic explanation) and Expected Responses (implementation detail). (I just noted @chicoreus comments - and I agree that the definition of the AMENDED should reflect Proposed) I think it is fair to use "Propose" in the Descriptions and "Amended" in the ERs |
Here is what I am proposing, using #63 as an example Description: "Propose amendment to the value of dwc:basisOfRecord using bdq:sourceAuthority." ER: "AMENDED the value of dwc:basisOfRecord if it could be unambiguously interpreted as a value in bdq:sourceAuthority; otherwise NOT_AMENDED" |
Looks good |
I've just finished a pass through all the AMENDMENTs tweaking the Descriptions and Expected Response to conform to that template. |
Structure of the markdown tables has been more closely aligned to the bdqffdq Framework terms, New issue template created, see #298 See the Rationale management documentation in the supplementary section of the standard document for details of the markdown table. The code in https://github.com/kurator-org/bdq_issue_to_csv can translated the markdown tables in the issues into the csv representation of the tests in https://github.com/tdwg/bdq/blob/master/tg2/core/TG2_tests.csv which is copied into the draft standard submission at: https://github.com/tdwg/bdq/blob/master/tg2/_review/vocabulary/bdqcore_terms.csv The columns in bdqcore_terms.csv map to the bdqffdq ontology and onto the TestField column in the markdown table in the github issues. |
We have been discussing Test Descriptions under a number of other Issues (#112, #163 and #162) and I thought it best to create an Issue to consolidate the discussion:
In summary, it appears that we have agreed on a few points for Test Descriptions
There are three issues that we still need to resolve
examples that cover these issues (contentious issues in bold)
| Description | A test that proposes to amend the value of dwc:taxonRank in a single record to unambiguously conform to the corresponding value provided from a specified bdq:sourceAuthority. I
| Brief | Amendment proposed for dwc:taxonRank to standard value|
The text was updated successfully, but these errors were encountered: