Frage im Vorstellungsgespräch bei PortSwigger

How do you know that AI is generating the code correctly?