All lessons in AI Engineering: From Foundation Models to Evaluated Applications
Dataset Quality and Data Pipelines
Design provenance-aware ingestion, cleaning, annotation, and leakage-resistant splits.
60 minutes · Members lesson · preview
What you will learn
- Design an ingestion record that preserves provenance, permissions, and version history.
- Choose deduplication, annotation, and splitting rules that prevent misleading evaluation.
- Audit a synthetic dataset and calculate usable coverage after quality checks.
Your assistant has a clear instruction and a useful response format, but the documents behind it disagree. One policy is current, another is obsolete, and a customer attachment contains a private order number. Improving the prompt cannot resolve which document your application is allowed to use. You need a data pipeline whose decisions can be inspected and repeated.
This core knowledge lesson follows prompt robustness. It prepares you to design the corpus used by retrieval in T11–T13. The separate required practice P05 implements an ingestion pipeline and records its evidence. Here you will make the design decisions that prevent a polished pipeline from delivering the wrong information.
The shop, records, counts, and policies in this lesson are invented teaching fixtures. They are deliberately small enough to inspect manually. Completing the calculations demonstrates the method; it does not establish that an unseen business dataset has the same quality.