The spec said 1.5 seconds
I wrote a 1.5 second latency target into a spec and reasoned from it for weeks. Measured, the real figure was 60 to 110 seconds.
28notes from production work
I build software end to end. I'm Scott Mallinson, a software engineer at Cognizant in Barcelona, Spain. I write about API design, type systems, guardrails for AI features, and the maintenance that keeps a codebase navigable.
I wrote a 1.5 second latency target into a spec and reasoned from it for weeks. Measured, the real figure was 60 to 110 seconds.
An auth token held in memory and a SQLite file on disk both worked locally and disappeared in production, because my laptop provides durability the serverless platform doesn't.
Two background jobs stopped early and recorded themselves as complete, and once recorded, nothing in the system could reopen them.
Chief's daily brief runs on a small local model. Getting it to behave meant moving a bullet-count limit out of the prompt and into code, then measuring what a repeat penalty setting actually cost in accuracy.
Two defects were cancelling each other out. Fixing the real one on its own would have woken a dormant guard with the wrong logic and made the page worse.
The tests for a desktop app's auto-scrolling passed the whole time the scrolling was broken: jsdom has no layout engine, so every height it reports is zero.