Design an ML System to Triage Resident Maintenance Requests

Last updated: November 29, 2026

Quick Overview

Residents describe maintenance problems by text or phone ("water coming through the ceiling", "dishwasher smells"). Design the ML system that classifies category and urgency, detects emergencies, asks clarifying questions, and creates a correctly routed work order.

EliseAI
ML System Design
Machine Learning Engineer
EliseAI
November 29, 2026
Machine Learning Engineer
System Design Round
ML System Design
Hard

0

0

0 solved


Residents describe maintenance problems by text or phone ("water coming through the ceiling", "dishwasher smells"). Design the ML system that classifies category and urgency, detects emergencies, asks clarifying questions, and creates a correctly routed work order.

Maintenance triage is a resident-side workflow where a missed emergency (gas, flooding, no heat in winter) has real safety and cost consequences. The interviewer checks label strategy, asymmetric error costs, and how the model sits inside a conversation rather than as a one-shot classifier.

What the Interviewer Expects
  • Frame as multi-task: category, urgency, emergency flag, missing info
  • Use historical work orders as weak labels and correct their noise
  • Set thresholds by asymmetric cost, with a high-recall emergency path
  • Combine LLM extraction with a calibrated classifier or rules for safety
  • Plan offline and online evaluation, including tech-reported true category
  • Escalation to on-call humans with latency guarantees
Key Topics to Cover
text classification
class imbalance
cost-sensitive thresholds
LLM extraction
human in the loop
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How do you evaluate recall on emergencies when they are under 1% of requests?
  • Photos are attached: how do you use them?
  • Different operators use different category taxonomies: how do you handle that?
  • How would you detect model drift after a cold snap changes the request mix?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements

Input: free text or a call transcript, optional photos, unit metadata (appliance list, building age). Output: category (plumbing, HVAC, appliance, electrical, pest, etc.), urgency tier, emergency yes/...

High-Level Design
  1. Safety screen first: a high-recall classifier plus keyword and pattern rules (gas smell, sparks, flooding, carbon monoxide, no heat with outdoor temperature below a threshold). Any hit routes t...

Submit Your Answer
Markdown supported

Related Questions