Skip to content

Add constraint property graph mutation#488

Open
vish-cs wants to merge 1 commit intodatacommonsorg:masterfrom
vish-cs:doc
Open

Add constraint property graph mutation#488
vish-cs wants to merge 1 commit intodatacommonsorg:masterfrom
vish-cs:doc

Conversation

@vish-cs
Copy link
Contributor

@vish-cs vish-cs commented Mar 13, 2026

Add a new MCF transformation to add constraint properties in McfMutator where we already do quantity range and lat-long transformations.
Updated various test files required due to the added logic

@gemini-code-assist

This comment was marked as outdated.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a mutation to generate constraintProperties for StatisticalVariable nodes and refactors several areas to handle node IDs for optimization purposes. The primary logic resides in McfMutator. My review has identified a critical issue in the constraintProperties generation that produces malformed DCIDs, along with several opportunities for improving code maintainability and performance. I've also included a comment regarding potential code duplication that would benefit from clarification.

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.

1 participant