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

Examples for rule integrity #21

Open
cupressus opened this issue Sep 13, 2023 · 0 comments
Open

Examples for rule integrity #21

cupressus opened this issue Sep 13, 2023 · 0 comments

Comments

@cupressus
Copy link

Please add a script to ./examples, which illustrates how to construct the rule strings properly when combining operators. Some examples, I would find helpful

  • how to use NOT
  • how to combine multiple NOTs
  • how to combine AND, OR, NOT

For example, I noticed that this does not work:
"IF (NOT (service IS low)) AND (food IS high) THEN (tip IS high)"
while this does
"IF (food IS high) AND (NOT (service IS low)) THEN (tip IS high)"
Documentation would have helped. Thank you!

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

No branches or pull requests

1 participant