01
Correct numbers from messy inputs
- Problem
- Equipment data arrives in inconsistent formats. Some values came through as strings or nulls, which led to wrong readings, like severe values showing as zero.
- Approach
- I made parsing defensive and explicit, and added tests for invalid and edge‑case inputs so regressions get caught in CI.
- Outcome
- Live values are reliable, and bad input fails loudly in tests instead of quietly in production.