Design a Dynamic Lead Pricing System for Pros
Last updated: November 29, 2026
Quick Overview
Design the ML system that sets the price a pro pays for each lead, based on the job's details, location and marketplace conditions, so pros earn a good return and the marketplace stays balanced.
Thumbtack
November 29, 20260
0
0 solved
Design the ML system that sets the price a pro pays for each lead, based on the job's details, location and marketplace conditions, so pros earn a good return and the marketplace stays balanced.
Pay-per-lead pricing is central to Thumbtack's business: price too high and pros churn, too low and revenue and lead quality suffer. The interviewer checks objective framing, models of job value and hire probability, online serving with guardrails, and how to experiment without hurting trust.
What the Interviewer Expects
- Frames the objective as balancing revenue with pro ROI and retention
- Breaks price into predicted job value, hire probability and a market adjustment
- Explains online serving latency and price stability constraints
- Uses guardrails such as caps, floors and explainability
- Designs experiments that respect interference and fairness to pros
- Covers monitoring and feedback loops
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How do you prevent price swings that make pros distrust the system?
- How would you incorporate pro budgets and spend pacing into pricing?
- How would you price leads in a brand new category with no history?
- How do you test a pricing change without pros comparing prices with each other?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
For each (request, pro) lead, output a price at match time (under 50 ms within the matching path). Objectives: long-term revenue subject to pro ROI above a target (for example revenue earned from hire...
High-Level Design
Decompose the price as , then clip. is a regression model predicting job value from questionnaire answers and loca...
Submit Your Answer
Thumbtack Machine Learning Engineer Interview Guide
Interview process, tips, and preparation timeline