A model predicts whether a customer will cancel next month, and its validation score looks almost too good. Before celebrating, I would ask a plain question: could any input column have been created after the cancellation happened? If so, the model may have learned to recognize the answer rather than predict it.
Draw the prediction timeline
For every prediction, write down the moment it is supposed to be made, then list when each feature becomes available. A field such as account status at month-end is not valid for a prediction made at the beginning of that month if the status changes after cancellation. The column can look ordinary in a table while carrying information the real prediction process would not have.
Split data the way use happens
A random train-test split can place records from later dates in training and earlier dates in validation. That may let the model benefit from future patterns that would not be known at deployment. For a time-based task, hold out a later period and keep the evaluation boundary aligned with the actual forecasting question.
Keep preprocessing inside training
Leakage can enter before a model sees its features. If you scale values, fill missing entries, select columns, or encode categories using the full dataset, information from the validation set has already influenced the training process. Fit each transformation on the training portion, then apply that fitted transformation to validation data; the validation set should stay a fair rehearsal of future use.
