Dataset cards
Quick answer
A dataset card is documentation that helps someone determine whether a particular dataset version is appropriate for a task. Record purpose, composition, origin, collection criteria, label definitions, transformations, missingness, split policy, known limits, access permissions, licensing and maintenance. A card is not a legal license, a certification of fairness or a guarantee of quality. Public accessibility does not itself grant reuse permission. Examples use local Python 3.13.5 and scikit-learn 1.8.0 where imported. All fixtures are synthetic; ByteMind library execution is unverified.
Profile a synthetic dataset
An original miniature routing dataset uses one request per row. A missing label is represented by None, not by a fabricated category.
from collections import Counterlabels = ['billing','technical',None,'billing']print(len(labels))print(dict(sorted(Counter(x for x in labels if x is not None).items())))print(sum(x is None for x in labels))Expected output:
4{'billing': 2, 'technical': 1}1Include the missing-label count in the card instead of reporting only the labeled subset. A data profile describes the fixture, not the outside population.
Detect incomplete card metadata
Use a local checklist; it is not a universal card schema. A present but blank field is not evidence.
required = ['purpose','source','license','limitations']card = {'purpose':'routing tutorial','source':'synthetic','license':'','limitations':'small fixture'}print([k for k in required if not card.get(k,'').strip()])Expected output:
['license']Record license status as unresolved if no approved grant is established; do not make up an SPDX identifier. A completeness check cannot verify legal rights or factual accuracy.
Common mistakes
Distinguish provenance (origin and changes), consent or other authorized collection basis, legal permissions, and access controls. Do not include real ticket text or identifiers in a public card. Record an immutable dataset revision and checksum, plus a change log; a checksum detects byte changes but does not establish authenticity, consent or license. Synthetic fixtures still need an explicit release decision. Cite dataset documentation and review the actual license before redistributing third-party data. No legal conclusions are implied.
Practice and next steps
Write a card for the chapter fixture that states intended educational use, prohibited extrapolation to live support queues, source, annotation rubric, sample size, version, limitations and unresolved distribution approval. Next, check entity overlap between splits. The separate pure-Python exercise assesses the underlying calculation, not library execution.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Dataset cards — knowledge check
Apply data collection, labeling and provenance reasoning to synthetic examples.
Which statement best describes a dataset card?
Does public access automatically authorize redistribution?
What does a matching SHA-256 digest primarily establish?
What should an unresolved license field say?
Why record missing labels in the card?