Skip to content
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

feat!: change strength representation #424

Draft
wants to merge 5 commits into
base: issue-240
Choose a base branch
from
Draft

Conversation

korikuzma
Copy link
Member

@katiestahl @mcannon068nw keeping as draft until #420 is merged, but this is ready for review.

close #419

  • Change strength representation to align with GKS
    • code --> primaryCode
    • Remove system and add mappings

@korikuzma korikuzma added enhancement New feature or request priority:high High priority labels Jan 27, 2025
@korikuzma korikuzma self-assigned this Jan 27, 2025
@korikuzma korikuzma linked an issue Jan 27, 2025 that may be closed by this pull request
mappings = strength.get("mappings", [])
if mappings:
statement["strength_mappings"] = json.dumps(mappings)
strength_keys.append("mappings:$strength_mappings")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line is confusing me. Is this just acting as a placeholder?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allows us to create both the strength node and statement node. Line 494 allows the transaction to access the strength values. The following lines includes the key/value pairs needed for line 499

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority:high High priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change strength representation
3 participants