June 14, 2026
I exported our gear inventory to CSV and counted the columns: 34. Then I counted the ones that actually carry meaning: 14.
Nobody ruined that table on purpose. A CSV import added English columns, a bilingual re-import added them again as "Section / Sekce," AI enrichment sprinkled in "Price Confidence," and currency conversions four EUR columns. Every step made sense; the sum is a landfill.
My first idea — write the correct structure and migrate data into it — I threw away. Every studio's table is ruined differently; one migration would be a bulldozer. Instead I built a janitor: it walks the columns, finds duplicates by meaning (diacritics stripped, bilingual tails dropped), measures fill rates, and shows a PLAN. These merge, these empty ones delete, these derived ones just hide. It acts only after you approve. A merge never overwrites an existing value — it only fills gaps.
A test saved me from an ugly bug: name normalization collapsed "Rental Daily (CZK)" and "Rental Daily (EUR)" into one key and the janitor wanted to merge them. Crowns would have poured into euro cells. The currency now stays in the key — and a test case guards it forever.
Lesson: with other people's data, don't build a bulldozer — build a janitor with a preview. And write tests for the things that would hurt.