Work ▸ IDB Treasury
IDB Treasury – The Sorting Case
Bond definitions
14,987
from 15+ folders into one
The wrong way · name only
8%
Only 8,060 files carried a usable dated name. Read the name alone and 93,096 stay in the tray.
An illustration of the 8%, not a measured run.
Name + folder path
97.62%
98,753 files moved to the new structure, the same in production. 2,403 returned for review, almost all for name problems.
each folder tied to a retention rule
Fixed income · 8 weeks · 2025
Every file, one pigeonhole.
One summer I joined the investment group of the IDB Treasury in Washington, D.C. Its fixed-income files had piled up for 25 years: 101,156 of them, 171 GB, spread across more than 100 folders with no structure.
From 8 percent to 97.62 percent.
usable names to moved to the new structure
Sort them two ways and see why the file name was not enough.
How I built itMy part
-
Six teams171 GB
I began by interviewing 6 teams and inventorying every file on the drive: 101,156 of them, 171 GB.
-
The case5 + 24
From what they told me I designed the case itself: 5 categories and 24 subfolders, each tied to the Bank’s records-retention schedule.
-
The sorterPython
Then I wrote the Python sorter and mover, with a log for every file. Not a model guessing: ordered rules on each name and folder path, checked by hand on samples.
Where it stands
Now in production
The test ran on a replica of the live drive, so the results held.
What I took from it
Test on a replica of the real thing, and the results hold in production. Design a structure with the people who search it: six teams, six ways of looking.