Menu

1 / 3

We shipped the guard fix. The gate passed half the test — and caught a real bug.

DEV Community: azure·Matthew Douglas·about 7 hours ago
#7VXx1QLR
#devtoazure#devto#dev#live#guard
Long article (945 words) — no AI summary yet.
Reading 0:00
15s threshold

Before the next generation of our product can replace the live one, it has to pass a parity gate: four test suites that prove the new system does everything the old one does, as well as the old one does it. Two of the four had already passed. The other two failed on the morning of December 1 — 37 of 50 on the sales prompts, 1 of 10 on the guard flows — and the failures pointed at the guards themselves.

Two guard defects, named in the failure report. The first was a sentence cap: replies are supposed to stay short, and the checker counts sentences. The counter split on every period, question mark, and exclamation point — including the decimal point in a price. A reply stating two prices, like $65.00 and $120, could read as four or five "sentences" while being two real ones. The guard was rejecting good replies for punctuation that isn't punctuation.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.