Using scikit‑learn Pipeline with ColumnTransformer to Avoid Data Leakage
An architecture note that outlines the requirements, minimal design, trust boundaries, operational checks, and failure conditions for a leakage‑free preprocessing pipeline in supervised learning.