Spot Data Leakage

Talk it through out loud with your AI coach.

The problem

  • hard
  • Pro

A model predicting which customers will cancel scores almost perfectly in testing, then fails in production. Explain what data leakage is, how it might have happened here, and how to prevent it.

What a strong answer covers

  • What leakage is and why it makes test results look too good to be true.
  • Plausible ways information from the future or from the outcome could have slipped into training for this churn model.
  • Subtler routes such as shared preprocessing or the same customer on both sides of the split.
  • Habits that prevent it, including treating suspiciously high scores as a warning sign.

Common mistake: Blaming the production data or the deployment when the real problem is that the test set was never a fair rehearsal.

Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.

Practise it out loud