You’re interviewing for an ML role on the Pricing team at RideNow, a ride-hailing marketplace operating in 35 North American cities with ~4.5M weekly active riders and ~900K active drivers. Pricing is currently set by a rules-based “surge” system using coarse geofences and simple demand/supply ratios. Leadership believes the system leaves 3–6% weekly gross bookings on the table: it underprices in some micro-areas during events (leading to long ETAs and cancellations) and overprices in others (hurting conversion).
Your task is to design a model that optimizes price multipliers based on local demand at a fine spatiotemporal resolution, while respecting marketplace constraints (driver supply, rider experience, and fairness).
You are given 12 months of historical marketplace logs aggregated to (city, zone_id, 15-minute bucket).
| Feature Group | Examples | Notes |
|---|---|---|
| Spatiotemporal | city, zone_id, day_of_week, hour, holiday_flag | zone_id is a hex grid (~500–2,000 zones per city) |
| Demand signals | ride_requests, unique_requesters, search_sessions, airport_queue_views | Some are leading indicators |
| Supply signals | available_drivers, driver_accept_rate, driver_eta_p50 | Supply is endogenous to price |
| Marketplace outcomes | completed_rides, cancellations, rider_eta_p50 | Outcomes depend on both demand & supply |
| Price & incentives | current_multiplier, driver_bonus_per_trip | current_multiplier is the policy that generated the data |
| Context | weather_temp, precipitation, event_score, traffic_index | event_score from a third-party feed |
Target decision: choose a price multiplier m for each (zone, time) for the next 15 minutes.
You will be evaluated offline and via an online A/B test plan:
You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.