GPT-4 is not a static code analyser
These LLMs produce syntacticly valid language, no more. And information contained within is a by-product and not necessarily factual nor correct.
It’s not necessarily factual or correct, no. But it’s incredibly helpful and useful. As always, the real answer is somewhere in the middle.
Just don’t ask it about politics. It’s so blatantly obviously biased.