Data Engineering
Dataset Drift Detector (driftlog)
Public datasets change between releases and nobody writes it down. This writes the changelog for them.
The question. Public datasets get republished every year, and between releases columns get renamed, categories get recoded, units switch. Publishers rarely document any of it. Analysts rebuild on the new file and the numbers move, with no way to tell whether the world changed or the file did. Can a tool write the changelog they never did?
What I built. A Python CLI that compares successive releases of any dataset and flags schema and value changes: rename detection, new or recoded categories, and drift measured with PSI and KS tests. It writes a plain-English changelog and a self-contained HTML report. 334 tests.
What it found. Across 9 yearly releases of the US Department of Education’s IPEDS institutional directory, 2016 to 2024, it found 33 breaking changes. On Our World in Data’s CO2 dataset it caught the real switch from tonnes to million tonnes in November 2021.
source private