Rippling·Machine Learning Engineer·Technical Phone Screen
- Design and implement an expense rule engine that takes a stream of expense entries and a configurable rule set (category, amount thresholds, date ranges, employee level) to classify each expense as approved, flagged, or rejected, then return aggregated results per rule. AI coding tools are allowed, but you need to walk through your approach, data model, and rule evaluation logic before generating any code.
- How would you scale this rule engine to handle high transaction volumes?
- What monitoring metrics would you expose for this rule engine, specifically around rule hit rate, latency, and false-positive rate?
“The AI-allowed part sounds like a gift until you realize they want you to explain the design before touching the keyboard.”