advancedDesign Patterns~60 min
Rule Engine (Interpreter Pattern)
Build a boolean rule / feature-flag engine using the Interpreter pattern: represent a small grammar as a tree of expression objects, each with an interpret(context) method that evaluates the rule against a context dict.