Design a small data provenance record
Return to the home row after each number or separator. · 183 words
Provenance means the origin and history of a data item. Imagine a museum app that identifies exhibit posters. Curator A. Rivera downloads image E17, crops its margins, labels it "poster", and adds it to dataset "museum-posters-v1". A small provenance record is: example_id poster_017_final; source_url https://archive.example/E17.jpg; creator City Museum; collected_at 2025-02-03; collector A. Rivera; label poster; annotator_id A. Rivera; guideline_version rules-v2; transform crop_12_percent; parent_id poster_017_original; checksum 3f0c9d8e7a6b5c4d3e2f101112131415161718192021222324252627282930; license CC-BY-4.0; split train. A checksum is a fixed-length fingerprint that detects file changes. The parent_id links the processed image to its source, while split says how the example was used.
Consider a travel-planning model using city temperatures. Row W42 came from station S7, was converted from Celsius to Fahrenheit, and entered training. Its record names the station URL, retrieval time, units, conversion step, license, and dataset version. When S7 is found serving Fahrenheit under a Celsius label, a provenance search identifies affected rows. The team creates W42-v2 with the correct unit and links it to W42 instead of deleting history. This lineage lets reviewers rebuild the exact training set and decide whether evaluation must be repeated.
Check your recall
Which five questions should a compact provenance record answer?
Check your answer
It should identify what the data item is, where it came from, who collected or labeled it, what transformations or corrections changed it, and which dataset version and split used it. A parent identifier, checksum, and version name preserve that history.
Sources and credits
Original KeyTouch lesson. Background reading · Google · Machine Learning Crash Course.