Skip to content

Conversation

@bhawana11
Copy link
Collaborator

This is a pull request for issue RelatedUrls description: #332

Expected outcome:
For RelatedURLs pyQuARC should flag:
If missing description only (Warning)
If duplicate description only (Info)
If both missing and duplicate description (Warning)

Code Changes:
Added a new check function to check missing description in custom_validator.py and added corresponding check messages and registered new checks in check_messages.json and checks.json respectively.
Finally, added the corresponding rule mappings in rule_mapping.json.
Also for duplicate description, changed the recommendation message to "Descriptions should be unique to each URL. Several of the descriptions are repeated in this record. Recommend changing the descriptions to more accurately and uniquely describe each link"

To Reproduce:
Example concept ID: C1000000005-CDDIS (umm-c) (for duplicate description. For missing description run the test file.

@lavanya3k lavanya3k changed the base branch from master to dev August 12, 2025 21:07
@lavanya3k lavanya3k changed the title RelatedUrls description #332 RelatedUrls description Aug 12, 2025
@slesaad
Copy link
Member

slesaad commented Oct 15, 2025

many unnecessary files in the PR and how is it different than #346?

@bhawana11 bhawana11 closed this Oct 16, 2025
@bhawana11 bhawana11 deleted the RelatedUrlsDescription_bk branch October 16, 2025 19:06
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

Successfully merging this pull request may close these issues.

5 participants