The best bug reports were written by the suspect

작성자

카테고리:

← 피드로
DEV Community · Andreas Bergström · 2026-06-12 개발(SW)

Andreas Bergström

Our e-commerce rule engine holds risky invoice orders for human review, and the reviewers were drowning in false alarms. So we added an LLM second opinion — advisory only: a verdict, a confidence score, and a written rationale next to the hold reasons. The human still decides, and the model can never touch the ship path.

The surprise wasn’t the triage speedup. It was that when reviewers disagreed with the model, about half the investigations ended in our code: a years-old off-by-one that flagged invoices as overdue on their own due date, “outstanding credit” that was actually unshipped prepayment orders, a payload field that had silently been zero forever, and a loyalty-credit loophole that had been quietly farmable for years.

The full post covers the architecture (de-identified payloads, prompts versioned in the database, eval fixtures that deliberately freeze time) and why a model that must explain itself turns out to be a continuous audit of your feature pipeline.

Originally published at andreasbergstrom.dev — read the full post there.

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다