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
Return correct result when IDs match but types differ #50
Comments
Revisiting this issue: The "main" reference check should fail if types mismatch (but it can have a useful message in the
Dependent checks
|
…stent.roles, #50 - consistent.org_ref_name: Don't check whether id and name are non-empty (OK for reference to match on "", etc.). - consistent.roles: Don't check whether id is non-null (OK for reference to match on null). Note: If later restored, use `is not None` for id, since id can be set to 0.
…milestones_dates). perf: Call get_values() outside the nested for-loop. - coherent.dates: Do type casting to match id and awardID #50 - coherent.dates: Don't check whether id and awardID are non-blank (OK for reference to match on "", etc.)
Main check
Dependent checks: Add different message if coerced id values match, but types don't match.
|
…ing to match id and awardID in coherent.awards_status #50
I think I got them all now. I just did regex checks. I think the dataset-level and time-based checks compare ocid, which should always be a string due to the prefix. |
From docs:
For example,
awards_status
should fail with this fixture. The data currently passes because the publisher was "lucky" enough to use different types for the id and awardID.The text was updated successfully, but these errors were encountered: