Data snooping, imputation and pipelines