Failure pattern one: invented names. It's the code version of a chat AI inventing a citation, the same machinery, predicting what plausibly comes next, with no lookup against a list of real methods. And it never, ever writes "I'm not sure this method exists."
The good news: invented names fail loudly. One run, one clear error message, fixed in a minute. The patterns that follow are not so polite. Sam's next feature did run.