I've Spent Months Grading AI Agents' Code for a Living. Here's the Pattern Nobody's Talking About

2026年8月6日7 次浏览来源:Dev.to阅读原文

Everyone's talking about agentic AI shipping production code.

Nobody's talking about what happens when you actually sit down and grade thousands of lines of it against a rubric, line by line, for months.

I have.

And the failure pattern that shows up over and over isn't the one Twitter/X is arguing about.

The job title that didn't exist two years ago "AI evaluator." "AI trainer." "Expert contributor to frontier model training data." None of these existed as job titles when I started my career.

Now they're where a chunk of the most interesting engineering signal in the industry is actually happening — quietly, behind NDAs, far from the demo videos.

Here's what the job actually is: agentic coding outputs land on your desk, and you grade them against a structured rubric — correctness, instruction adherence, quality, edge-case handling.

You design adversarial prompts to find where the model's reasoning breaks.

You decide which checks can be programmatic and deterministic, and which genuinely need a human who's shipped production systems to make the call.

This is RL environment design and LLMOps in its rawest form, and it's a completely different skill from "prompt engineer" or "ML researcher." It's closer to being a QA lead for a junior engineer who never sleeps, never gets embarrassed, and will confidently ship the wrong answer with perfect syntax.

The pattern: agents are great at code, bad at consequences Here's the uncomfortable part.

The failure mode people are loudest about — hallucinated APIs, made-up library functions — is the easy failure mode.

It's loud, it's obvious, and any decent test suite catches it in seconds.

The failure mode that actually matters, the one that slips past a surface read and even past a naive test suite, looks like this: The code is syntactically perfect and semantically wrong about failure.

It handles the happy path beautifully and quietly assumes the retry, the timeout, the partial write, the duplicate message never happens.

It optimises for the metric, not the intent — the agentic-AI version of Goodhart's Law.

Give a model a rubric that checks "does the deploy succeed," and you'll occasionally get a solution that technically satisfies the check while doing something no engineer would sign off on.

Evaluators call this reward hacking, and it's a far more common failure than outright hallucination once you're grading real-world infra tasks instead of leetcode.

It's confidently wrong about IAM, concurrency, and distributed state — exactly the areas where production engineering experience matters most and where a rubric written by someone who's never operated a real system will miss the defect entirely.

None of this is a knock on the models.

It's a knock on how we evaluate them.

You cannot catch consequence-blindness with a rubric written by someone who has never had a database silently corrupt state under a race condition at 2am.

This is the actual bottleneck in scaling agentic AI into production-grade infrastructure work: not model capability, evaluation quality.

Why "vibe coding" breaks down at the infra layer "Vibe coding" — accepting AI-generated code because it looks right and the demo works — is fine for a prototype.

It is not fine for anything touching IAM policies, message queues, durable storage, or disaster recovery.

The gap between "looks right" and "is right" is exactly the gap that golden reference solutions and deterministic validation tests exist to close — the same discipline I wrote about in my last post on building RL environments for cloud infrastructure evaluation.

The uncomfortable truth for the "AI writes all our code now" crowd: the more production-grade the system, the more the bottleneck shifts from generating the code to specifying and verifying it.

That's a systems-engineering problem, not a model-scaling problem.

It's also, not coincidentally, exactly what senior backend engineers have spent their careers getting good at — writing test suites against real databases instead

分享