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

refactor: Remove RuleSet order #624

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

gskorokhod
Copy link
Contributor

@gskorokhod gskorokhod commented Feb 2, 2025

As discussed with Oz, RuleSet order is only ever used as a tie breaker in very specific circumstances. It's unnecessary and confusing for the user, so I suggest we remove it.

See this link for the original reasoning for adding it:

https://github.com/conjure-cp/conjure-oxide/wiki/Expression-rewriting%2C-Rules-and-RuleSets#ruleset-ordering

(This doc will need to be updated to avoid confusion)

As discussed with Oz, RuleSet order is only ever used as a tie breaker in very specific circumstances. It's unnecessary and very confusing for the user, so I suggest we remove it.

See this link for the original reasoning for adding it:

https://github.com/conjure-cp/conjure-oxide/wiki/Expression-rewriting%2C-Rules-and-RuleSets#ruleset-ordering

(This doc will need to be updated to avoid confusion)
@gskorokhod gskorokhod requested a review from ozgurakgun February 2, 2025 13:28
@gskorokhod gskorokhod added kind::refactor Improvements to existing code (style, performance, clarity, ...) area::conjure-oxide/rule-engine Related to the rule engine and the expression rewriting logic. labels Feb 2, 2025
@gskorokhod gskorokhod self-assigned this Feb 2, 2025
@ozgurakgun ozgurakgun merged commit 3a46d30 into conjure-cp:main Feb 3, 2025
28 checks passed
@gskorokhod gskorokhod deleted the rm-ruleset-order branch February 3, 2025 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area::conjure-oxide/rule-engine Related to the rule engine and the expression rewriting logic. kind::refactor Improvements to existing code (style, performance, clarity, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants