Asked about Finding and fixing bad data
How would you check for train-test contamination?
An answer that works
For each test example, find its nearest training examples by exact hash, fuzzy text matching or embedding similarity, and read the closest pairs. Remove or reassign duplicates, then re-evaluate.
Reading an answer is not being able to give one. The section that teaches this is Finding and fixing bad data, 4 hours of Data quality & labelling.
Learn this properly