AI Help

How do I verify that an AI-generated PR description matches the actual diff?

Compare every material PR claim with the final diff and the recorded validation for its head commit.

Steps to follow

  1. Read the PR's base and head revisions and inspect all changed filenames, including generated files.
  2. Map the described behavior to the actual code and verify tests, commands and results claimed in the description.
  3. Rewrite stale claims after scope changes and clearly identify unverified behavior. Check the description again after the last commit.

Example in practice

Illustrative example. A description saying no schema change must be corrected if the final patch includes a migration.

Related AI help

Official guidance

OpenAI documentation