antegon

Work ▸ IDB Treasury

IDB Treasury – The Sorting Case

Read each file by
1 Policies & procedures 1,672
2 Research & analytics 22,071
3 Trading 17,894

Bond definitions

14,987

from 15+ folders into one

4 Client advisory 2,032
5 Archives 57,487
In tray 0
Returned for review 2,403

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 it

My part

  1. Six teams171 GB

    I began by interviewing 6 teams and inventorying every file on the drive: 101,156 of them, 171 GB.

  2. 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.

  3. 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.

Washington, D.C. · internshipProject documents are internal to the Bank; results available for review on request.Jun – Aug 2025