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

Ordering of the rules' execution causes unnecessary inconsistencies #39

Open
pedropaulofb opened this issue May 29, 2023 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@pedropaulofb
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

The order in which the rules are called may cause unnecessary inconsistencies (i.e., a valid result could have been got, but it was not because another rule generated an invalid situation). This is true specially for the OWAf world assumption.

Describe the solution you'd like

Scior could implement a stack of modifications. Every time a type is asserted to a class, a stack is created and checked if it results in a consistent result. If it results in an invalid result, the rule that originated the stack is jumped and another one is performed.

Describe alternatives you've considered

Probably just adjusting the implementation to first execute rules that assert higher-level types (e.g., not leaf classifications) must be enough to solve most of the cases.

Additional context
The most complete solution will require a great computational effort (memory and processing).

@pedropaulofb pedropaulofb added the enhancement New feature or request label May 29, 2023
@pedropaulofb pedropaulofb self-assigned this May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant