Repository navigation
Use biolink-model deterministic association ids - #16
Closed
kevinschaper wants to merge 1 commit into
Closed
kevinschaper wants to merge 1 commit into
kevinschaper wants to merge 1 commit into
Conversation
Bump biolink-model to >=4.4.5 and stop passing random UUIDs as association ids. The model now derives a SHA-256 id from the association's identity fields (subject, predicate, object, qualifiers, knowledge level, agent type, primary knowledge source, publications), so the same assertion gets the same id on every run. Claude-Session: https://claude.ai/code/session_01V4T7NDQUNm5nXB7jtTEorT
Member
Author
|
Closing: decided to stay on the current biolink-model version for now and not roll out deterministic association ids at this time. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Part of the OKN RDF cleanup tracked in monarch-initiative/monarch-app#1424 (the "URNs are included incorrectly" item).
biolink-modelto>=4.4.5, the first release that ships deterministic association ids (Add deterministic hash-based IDs for Association classes biolink/biolink-model#1708).ids. The model now derives a SHA-256 id from the association's identity fields (subject, predicate, object, qualifiers, knowledge level, agent type, primary knowledge source, publications), so the same assertion gets the same id on every run and across releases.Notes
id=on non-association entities is unaffected.has_evidenceor aggregator source) will now share an id and collapse at merge-time dedupe. Per-source edge counts in the next KG build should be compared against the previous release.https://claude.ai/code/session_01V4T7NDQUNm5nXB7jtTEorT