Free ChatGPT check Español

Notes

Teaching a bot to know when it's wrong: design gates and AI judges

An AI that builds web pages will happily ship a bad one. The fix isn't a better prompt; it's a gate it has to pass.

By Alan Hernandez

Paige is a bot that builds web pages: listing pages, landing pages, a seller's plan, and the site you're reading. Early on, her pages had the look everyone now recognizes as AI-made: a centered hero, a row of three icons, a purple gradient, the filler words listing copy is famous for. They were also occasionally wrong, which is worse. She'd write a number nobody gave her.

This note is about the three gates every page now passes before a person sees it, and what we learned about AI judges along the way.

Gate one: the AI never designs

Paige doesn't invent layouts. Every page comes from an approved template or from a library of approved blocks (hero, text, photo grid, steps, questions, form), each with fixed slots and length limits. The model picks the blocks and writes the words. It never writes layout or CSS. A new block is a design change: designed, approved by a person, and versioned.

That one rule removes most of what makes a page look generated, because the generic layout never gets a chance to appear.

Gate two: rules that block, in code

Before anything is rendered, a rules check reads the words. It refuses:

  • Any number that isn't in the page's facts. If the listing says 3 bedrooms and the model writes 4, the build fails. Street names with numbers, highway names and a few others are allowed by name.
  • Filler words that mark text as generated.
  • Words a page must never use, depending on the page: fair-housing terms on real estate pages, lending trigger terms on financing pages.
  • Slots over their length limit, and blocks out of the approved order.

A failure is a hard stop with a reason, and the model gets up to three tries to fix it. Most failures are caught here, cheaply, before a single screenshot is taken.

Gate three: an AI art director, read three times

Then the page is built, opened in a real browser and screenshotted at phone and desktop widths. An AI art director, a vision model with a strict brief, scores both screenshots from 1 to 10 on design, layout, structure, mobile, ease of use and whether it feels made for this one business. Below the bar, nobody is shown the page.

Two things made this judge useful instead of noisy:

  • The middle of three readings. A single score from a vision model wobbles by a point or more. Paige asks three times and takes the middle one.
  • House rules in the brief. The judge is told what the page may not do (invent facts, use stock photos) so it doesn't mark a page down for following the rules.

A second gate runs alongside: a code scanner for the design tells nobody chose on purpose, like all-caps tracked labels, numbered badges on things that aren't steps, and colored top borders on every card. A serious finding blocks the page; a deliberate exception needs a written reason in the code.

Choosing the judge

Which model should judge? We ran a bake-off. Five vision models from different labs (Claude, GPT, Gemini, Grok and Qwen) scored the same screenshots with the same rubric, each the middle of three readings. The set mixed Paige's own pages with well-known sites like Stripe and Linear, as calibration: a judge that rates a template above Stripe isn't a judge. Then we compared how each one ordered the pages. The point wasn't to find the harshest judge but a consistent one: scores that move when a page gets better and stay put when it doesn't. One telling result: no judge passed every famous site at the bar of 8. The bar is high on purpose.

When the gate says stop

Judges plateau. This site went through four rounds of design. The scores rose, then stopped moving within the judge's own noise. Paige's rule is to stop when two passes in a row don't move the score, and hand the decision to a person. Alan accepted 7 out of 10 for launch and kept every other gate in place. That's the gate doing its job: it can say "not good enough yet", but a person decides what "enough" means.

What this looks like for a client

A Houston-area bookkeeping firm's site went from 3 out of 10 to 7.5–8 on the same gate. The client never saw the failed drafts. They saw pages that had already passed, and approved the words.

The same idea applies to every bot we build: decide in code what must never happen, have a second model judge what code can't, and make a person the last step. How it works · About the builder

Want this for your business? Book a 20-minute call.

Book a 20-minute call or get your free ChatGPT check