You are looking at code like a production line. It's a semantic construction.
Code 0.1% wrong, sends you to the Sun instead of the Moon, debits your account instead of crediting...
Code 0.1% wrong, sends you to the Sun instead of the Moon, debits your account instead of crediting...
Presumably if AI-generated code passes every test case, but would fail on edge cases that some human programmer(s) did not anticipate in their suite of tests, the humans potentially might have made similar coding mistakes as the AI if they had had to personally write the code.