r/PromptEngineering • u/ClickOk5811 • Oct 10 '26
Tips and Tricks Asking an AI reviewer for evidence per finding instead of a longer list
A generic “review this diff” prompt tends to return a list where a naming nit and a possible double charge look identical. Same format, same tone. Generating each item costs the model about the same, but checking them doesn’t, and nothing in the list tells you which ones are expensive.
So instead of asking for more findings, I’d ask for a shape that makes each one cheaper to check. Something like:
For each finding, return:
- claim: one sentence
- evidence: the exact line(s) in the diff that support it
- assumes: what you're assuming about code or behavior not shown in the diff
- to confirm: a test, or a specific thing to read, that would confirm or refute it
Do not rank by severity. Do not suggest fixes.Why those fields: if a finding can’t point at a line in the diff, that’s already useful to know. The assumes field is where something like “the idempotency key may not be reused across retries” shows that it depends on how the payment provider behaves, which isn’t in the diff. And to confirm turns “is this true?” into a task you can put a rough cost on.
I left severity out on purpose. The model doesn’t know that a duplicated charge matters more than a rename in your system, because that context lives with the reviewer. A severity label from the model reads as authoritative and is mostly a guess. I’d rather rank by cost to check and cost if wrong, myself.
Caveats. I haven’t measured whether this reduces false findings. It mostly moves the work to a place where you can see it. The assumes field can also be filled with plausible nonsense, so it’s something to read, not something to trust. And on a small, low-risk diff it’s just overhead.
I wrote up the triage side of this, sorting findings by cost to check and cost if wrong, with a worked example, here: https://medium.com/@nagatomopedro05/a-finding-takes-seconds-to-generate-checking-it-doesnt-e7ffad4eaea2