Judge the AI: a week of outputs
For engineers
Seven real-looking AI outputs (an answer, a PR, a summary, a plan, a chart, an email, a citation list), each with one planted problem to find.
You do not review one AI output a week. You review dozens, and each one fails in its own way. This scenario follows one engineer through five working days, with one planted problem per day, so you learn to name the problem fast.
The case
Priya Nair is a staff engineer at Larkspur Freight, a regional parcel carrier. Her team runs a shipment-tracking service. This week she uses assistants such as Claude, ChatGPT, Gemini and Copilot, and coding agents such as Cursor and Claude Code, for five routine jobs. None of the outputs is obviously broken. Each one reads well. That is the point: models write fluent text whether or not it is true, so fluency tells you nothing.
Why it matters
A wrong answer you catch costs a minute. The same answer shipped costs a bad deploy, a wrong board slide or a decision made on a paper that does not exist. The skill is not distrust of everything. It is knowing which part of each output is risky and checking that part.
The week
Monday: an answer with an invented detail. Priya asks how to retry failed vendor calls. The assistant mixes real code with a method that does not exist, and recommends a package she cannot find in the registry. Models write the likeliest text, and a believable name is likely text. Risk concentrates in exact things: package names, flags, error codes, header names, quotes and figures. Check those, not the general advice.
Tuesday: a pull request. A coding agent opens a diff for a small task. The summary says "no other changes". The diff changes a shared timeout, and in another file skips a failing test. Read the diff and not the summary, read the tests first, and ask what the change touches beyond the request. Green checks prove less when a test has been weakened.
Wednesday: a research summary. An assistant writes a reading list and a summary for a design note. One citation links to a real paper on a different topic. One summary sentence turns "no control group" into "caused". One source was retracted in 2025. Check in order: does the source exist, does it say that, is it still standing.
Thursday: a chart. An assistant draws a bar chart for a board slide. The axis starts at 93%, so a small gain looks large. Its script averages rates across regions of different size. Its headline credits a release for a fall in late parcels that came from a holiday week with half the volume. For any chart, check the axis, the aggregate and what else changed.
Friday: a flattering review. Priya shares a migration plan and asks, "This is solid, right?" The assistant agrees and praises. When she pushes back on a debugging finding, it drops the finding without new evidence. Sycophancy is the habit of telling people what they want to hear. Ask for failure modes, never for agreement, and do not reveal your favourite.
Before and after
Weak: "Is this plan good?" followed by acceptance of the reply.
Better: "List the three most likely ways this plan fails and what each would cost. Don't tell me what is good about it." Then check each named risk against logs, docs or a second source.
A small habit for code answers is to turn every exact claim into a one-line check:
# Does the package exist, and who publishes it?
pip index versions tracker-geo-snap
# Does the method exist in the installed version?
python -c "import requests; print(hasattr(requests.Session(), 'set_retry_policy'))"
What goes wrong
- Checking the easy claim. Verifying that Python has a
statisticsmodule while the vendor error code goes unchecked. Rank claims by how exact and how rare they are. - Trusting the summary of the work. The agent's description is a claim. The diff is the evidence.
- Treating a working link as proof. A DOI that opens can point at a different paper. Read the passage.
- Asking the same model to certify itself. "Are you sure?" gets the same confident voice. Use a catalogue, the docs, the logs or a second pair of eyes.
The method
For each output, ask four questions. What is the most exact claim in it? What did it change or say beyond what I asked? What does the evidence actually show, in the source, the diff or the data? Would it have said this if I had hinted at a different answer? Five minutes of that beats an hour of fixing what slipped through.
Steps
Monday: find the invented detail
Pick the most exact, rarest claim in the answer: a package name, a method, an error code, a header. Look it up in the registry, the installed library or the vendor's docs before running or building on it. General advice is usually fine; exact identifiers are where invention hides.
Assistant's retry snippet tracker/client.py
session = requests.Session()session.mount("https://", HTTPAdapter(max_retries=retry))session.set_retry_policy(retry, scope="idempotent")Tuesday: review the diff, not the summary
Open the test files first and see what is checked. Then list every file the diff touches and ask which of them the task needed. Look for shared defaults changed, skipped or weakened tests, and input built into queries. Ask for a split if the diff is large.
Agent's change to a shared default src/config.ts
unchanged export const API_BASE = process.env.API_BASE;removed export const DEFAULT_TIMEOUT_MS = 5000;added export const DEFAULT_TIMEOUT_MS = 500;Wednesday: does the source exist
For each reference, look up the title in a catalogue such as Crossref and open the link. A match on title is not enough: confirm the paper is about the topic, then read the passage the claim rests on.
Wednesday: does it say that, and is it still standing
Compare each summary sentence with the source, especially causes, numbers and caveats. Then run the DOI through a retraction check. If a retracted paper carried a claim alone, remove the claim or rebuild it on a sound source.
Thursday: audit the chart
Check the axis start for bars, the aggregate behind each point, and what else changed in the period. Ask the assistant to print the plotted numbers and compare them with the source file. Prefer rates to counts when volume moves.
Rates beside counts The count halved but the rate did not move Week Parcels shipped Late parcels Late rate 4 1200 60 5.0% 5 600 31 5.2% Friday: ask for failure, not agreement
Ask for the most likely ways the plan fails and what each would cost. Do not state your favourite or your effort. If the assistant changes its mind after you push back, ask what new evidence caused the change, and keep the finding if there is none.
Skills this scenario uses
Where to study
- Why language models hallucinate (OpenAI) (opens in a new tab)ArticleFree
A plain explanation of why models state invented details with confidence.
- Reduce hallucinations (Claude docs) (opens in a new tab)DocsFree
Practical prompt and workflow techniques that make invented answers less likely and easier to catch.
- What to look for in a code review (Google Engineering Practices) (opens in a new tab)ArticleFree
A reviewer's checklist covering design, tests, naming and complexity that also fits agent-written diffs.
- Small CLs (Google Engineering Practices) (opens in a new tab)ArticleFree
Why small, single-purpose changes are reviewed better, which matters when an agent writes large diffs.
- Crossref Search (metadata and DOI lookup) (opens in a new tab)ToolFree
Look a citation up by title or DOI to see whether the paper exists and what it is.
- Retraction Watch Database (opens in a new tab)ToolFree
Check whether a paper has been retracted before you rely on it.
- Calling Bullshit: Data Reasoning in a Digital World (opens in a new tab)CourseFree
A free university course on spotting misleading data graphics and checking claims against the data.
- Towards understanding sycophancy in language models (Anthropic) (opens in a new tab)ArticleFree
Research summary showing that models can tailor answers to what the user appears to believe.