Code behind https://getainative.com/how-to-review-a-pull-request-from-an-ai/ main/ a tiny cart with tests ai-pr/ a hand-written "AI pull request" for "add discount codes", with common mistakes fixed/ the same PR after review, with behavior tests make-repo.mjs builds a scratch git repo with branches main, ai/discount and fixed probe.cjs five lines that poke at the cart like a customer would Needs Node 22 and git (Mac, Linux or Windows). No packages to install. node make-repo.mjs /tmp/pr-review-demo cd /tmp/pr-review-demo git diff main --stat git diff main -- package.json git diff main -- test/ git checkout main -- test && node --test # old tests on new code git checkout ai/discount -- test # put the PR's tests back node /path/to/probe.cjs The "AI PR" was written by hand to show common mistakes. It is not the output of one named tool and not a measured rate of anything.