r/jobradar_io • u/Dazzling_Grocery7851 • 1d ago
Guide / How-to How to turn a bug fix into a resume bullet
Example project, made up for this post:
Before:
Built a data pipeline in Python that loads real-time transit data into PostgreSQL.
After:
Found duplicate rows in a Python transit-data pipeline caused by overlapping API pages; fixed it with a unique key and a PostgreSQL upsert, and added a pytest regression test using two saved overlapping pages.
The "before" lists the stack. The "after" says what broke, how it got fixed, and how it was checked. That's the part an interviewer can actually ask you about.
To write one for your own project, answer three questions:
- What broke? Be specific: duplicate rows, a crash on empty input, a total that came out wrong.
- How did you find the cause and fix it?
- How did you check that it stays fixed? A test, a validation query, a rerun that now passes.
If you can answer all three, you have a bullet.
Here's what happened in the example.
The pipeline pulls a city's transit API every few minutes and loads the results into PostgreSQL. After rerunning an import, the table had duplicate rows. The API returns results in pages, and two pages overlapped, so the same record got written twice.
A unique key on (route_id, recorded_at) defines what counts as the same record. An upsert (INSERT ... ON CONFLICT DO NOTHING) skips a row that's already there, so the rerun finishes cleanly. A pytest test feeds in two saved pages that overlap and checks that each record lands once.
