Dataset Split Auditor
A dataset gate that names the records responsible for content and incident leakage. Pass {train,test} records to the CLI, or {records} with --split 0.25 --seed experiment-1. Add --check in CI to return exit2 when the split is unusable.
A dataset gate that names the records responsible for content and incident leakage.
- Pass {train,test} records to the CLI, or {records} with --split 0.25 --seed experiment-1. Add --check in CI to return exit2 when the split is unusable.
- Python 3.10+
- lists, sets, dictionaries, Unicode normalization and hash functions.
- Python The standard library makes parsing, scoring, and failure handling visible without hiding the mechanism behind a framework.
Dataset Split Auditor in 4 stages
A dataset gate that names the records responsible for content and incident leakage.
Fingerprint normalized records
Create stable SHA-256 fingerprints for text after NFKC normalization, case folding, and whitespace collapse..
starter · ~2 hours · Python
fingerprintsUnicode normalizationAudit duplicate and group leakage
Validate ids, text, and groups, then report intersections across train and test..
core · ~2 hours · Python
data leakagegroupsevidenceSplit groups with stable hashing
Return train and test arrays with no group overlap.
core · ~2 hours · Python
deterministic splittinggroup isolationReport split size and leakage together
Produce a JSON audit with partition sizes, group counts, and a usable flag requiring both nonempty partitions and no leakage..
stretch · ~2 hours · Python
evaluation readinessdataset audit