episphere / conceptGithubActions

1 stars 7 forks source link

Concept Id 178420302 with redundant sources #12

Open jonasalmeida opened 1 year ago

jonasalmeida commented 1 year ago

See https://github.com/episphere/conceptGithubActions/blob/master/jsons/178420302.json

I started using https://episphere.github.io/conceptutils to get a feeling for basic inconsistencies and this tool appears to make it fairly easy to assist with this. As agreed yesterday, suggestions of edits to the source of truth will be communicated as issues first and then assessed by designated curators, regardless of the permission level of the issue creator. I'd also suggest we use these issues to identify opportunities for improvement of the tool itself. For example, the redundancy in this concept would be easy to fix automatically by making sure all arrays in the concept id json structure have unique values. The corrected structure could then be created and committed to the clipboard to be pasted in github's editor. Do you want me to add that check for deviations to uniqueness in arrays with /\w+.json/ elements?

Here's the offending concept structure:

{ "conceptId": "178420302", "Current Question Text": "Unavailable/Unknown", "Primary Source": [ "692924902.json", "129084651.json", "129084651.json", "129084651.json", "129084651.json", "129084651.json", "129084651.json", "129084651.json", "129084651.json", "129084651.json", "129084651.json", "129084651.json", "129084651.json" ], "Secondary Source": [ "195399696.json", "726699695.json", "726699695.json", "726699695.json", "726699695.json", "726699695.json", "726699695.json", "726699695.json", "299215535.json", "506648060.json",

...

jonasalmeida commented 1 year ago

On the other hand, I see the "offending arrays" all have a fixed cardinality of 13 ... maybe this is not a mistake at all