This commit is contained in:
anhduy-tech
2026-01-05 13:40:51 +07:00
parent f43da98b0e
commit 4fd1aae08f
21 changed files with 76 additions and 10 deletions

View File

@@ -54,6 +54,7 @@ def evaluate_rule(rule: Rule, context: dict):
print(f" Evaluating Rule: {left} {op} {right}")
if op == "IN" and left not in right: return False
if op == "==" and left != right: return False
if op == "!=" and left == right: return False
if op == ">" and not (left > right): return False