DEV Community

Top Packs
Top Packs

Posted on

Do you let your AI workflows grade their own work?

I keep seeing AI-generated deliverables that look finished but were never checked: puzzle books with unsolvable Sudokus, listing copy with invented features, support replies that promise policies nobody supplied.

The fix that worked for me is boring: separate generation from verification. The model proposes; an independent check disposes. A solver re-finds every placed word. A backtracking counter requires exactly one Sudoku solution. A fact-checker marks missing inputs as [MISSING] instead of letting the model fill the gap.

It changed how I build every workflow now: constrain the inputs, generate, then verify mechanically wherever possible.

How do you handle this in your own AI workflows? Do you have verification gates, or do you review outputs manually?

I wrote up the puzzle-book version of this here: https://dev.to/xelnegmx-sys/how-i-built-a-puzzle-book-where-every-answer-is-verified-by-code-2nmo

Top comments (0)