01The task in sample_qtn
Farmers deliver milk to collection centres. You get data/raw/milk_raw.csv (deliveries) and data/raw/centres.csv (valid centres with capacities), and must write clean_milk(df) -> (clean_df, rejected_df):
clean_dfโ deliveries you trust, ready for the star schema;rejected_dfโ every row you didn't keep, with areason(invalid_date,invalid_litres,unknown_centre,record_id_collision, โฆ).
Two rules frame everything: never modify data/raw/, and every input row must be accounted for. Examiners check both the logic and that you can prove nothing was lost.