PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/Machine Learning/CVS Health

Build an uplift model for targeting

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a data scientist's ability to perform treatment-effect and uplift modeling for multi-armed marketing interventions, encompassing causal inference with randomized holdouts and propensity scoring, cost-sensitive channel selection, calibration and class-imbalance handling, policy evaluation, and diagnostic/operational safeguards within the Machine Learning domain. It is commonly asked because it probes practical application of causal ML and decision-policy design—requiring model selection, offline and online evaluation under budget and fairness constraints—and is primarily a practical application task with important conceptual causal-inference elements.

  • hard
  • CVS Health
  • Machine Learning
  • Data Scientist

Build an uplift model for targeting

Company: CVS Health

Role: Data Scientist

Category: Machine Learning

Difficulty: hard

Interview Round: Technical Screen

You have historical campaign logs with randomized holdouts from last season. Design a treatment effect modeling approach to decide whom to contact by SMS or Email for the upcoming flu-shot campaign. Data available - Features: demographics, past visits, prior vaccinations, engagement (opens/clicks), distance to store, appointment history. - Labels: y = vaccinated within 30 days; treatments T ∈ {control, SMS, Email}; randomized assignment with known probabilities; exposure indicators (delivered/opened). - Costs: c_SMS=$0.02, c_Email=$0.001; budget allows contacting at most 40% of eligibles. Tasks 1) Modeling - Choose and justify an approach: separate response models + two-model uplift, direct uplift (e.g., meta-learners: T-learner/S-learner/DR-learner), or multiclass treatment modeling. Address leakage (post-treatment features), class imbalance, and calibration. 2) Evaluation - Define offline evaluation: uplift/Qini curves, AUUC; compute incremental ROI considering channel costs; use policy evaluation with inverse propensity weighting (IPW) or doubly robust estimators. 3) Policy - Given a budget contacting up to 40% of eligibles, describe how to rank customers by predicted incremental effect and choose the channel per customer (e.g., argmax over channel-specific uplift minus cost). Explain guardrails (do-not-contact, fairness across age/state). 4) Online validation - Propose a gated rollout test comparing model-based targeting vs uniform random targeting. Define success metrics and stopping rules. 5) Diagnostics - Show how you would detect harmful persuasion (negative uplift) segments and handle them in targeting.

Quick Answer: This question evaluates a data scientist's ability to perform treatment-effect and uplift modeling for multi-armed marketing interventions, encompassing causal inference with randomized holdouts and propensity scoring, cost-sensitive channel selection, calibration and class-imbalance handling, policy evaluation, and diagnostic/operational safeguards within the Machine Learning domain. It is commonly asked because it probes practical application of causal ML and decision-policy design—requiring model selection, offline and online evaluation under budget and fairness constraints—and is primarily a practical application task with important conceptual causal-inference elements.

Related Interview Questions

  • Build a leak-free sklearn churn pipeline - CVS Health (medium)
  • Handle challenges in MMM/MMX - CVS Health (hard)
  • Design classification under missingness and imbalance - CVS Health (hard)
  • Tune classifier and compute key metrics - CVS Health (medium)
  • Implement R² and Compare PCA With/Without Scaling - CVS Health (medium)
CVS Health logo
CVS Health
Oct 13, 2025, 9:49 PM
Data Scientist
Technical Screen
Machine Learning
4
0

Flu-shot Campaign: Treatment-Effect Modeling and Targeting Policy

You have historical campaign logs from last season that include randomized holdouts. You must design a treatment-effect modeling and targeting approach to decide whether to contact a customer by SMS or Email for the upcoming flu-shot campaign.

Data Available

  • Features (pre-treatment only for modeling): demographics, past visits, prior vaccinations, engagement history (prior opens/clicks), distance to store, appointment history.
  • Labels: y = 1 if vaccinated within 30 days; 0 otherwise.
  • Treatments: T ∈ {control, SMS, Email}, assigned at random with known propensities p_t.
  • Exposure indicators (post-assignment): delivery status, opened. Use for diagnostics/mediation only (avoid leakage in ITT models).
  • Costs: c_SMS = 0.02,cEmail=0.02, c_Email = 0.02,cE​mail= 0.001.
  • Operational constraint: may contact at most 40% of eligibles.

Tasks

  1. Modeling
    • Choose and justify an approach among: separate response models + two-model uplift, direct uplift/meta-learners (T-/S-/DR-learner), or multiclass treatment modeling.
    • Address leakage (post-treatment features), class imbalance, and probability calibration.
  2. Evaluation
    • Define offline evaluation: uplift/Qini curves and AUUC; compute incremental ROI including channel costs.
    • Use policy evaluation with inverse propensity weighting (IPW) or doubly-robust (DR) estimators.
  3. Policy
    • With the 40% contact budget, describe how to rank customers by predicted incremental effect and choose the channel per customer (e.g., argmax of channel-specific uplift minus cost scaled by value).
    • Explain guardrails (do-not-contact lists, fairness across age/state, frequency caps).
  4. Online Validation
    • Propose a gated rollout comparing model-based targeting vs uniform random targeting (both constrained to 40% contact rate).
    • Define success metrics and stopping rules.
  5. Diagnostics
    • Describe how to detect and mitigate harmful persuasion (negative uplift) segments, and how you would handle them in targeting.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More CVS Health•More Data Scientist•CVS Health Data Scientist•CVS Health Machine Learning•Data Scientist Machine Learning
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.