Yea the code on the top level is very cartoonish and almost comical.
But the model can definitely produce running code. Chat GPT is a similar model that runs codex, see the demo here: https://www.youtube.com/watch?v=SGUCcjHTmGY&ab_channel=OpenA...
One point I try to get across is that once you drill deep enough into the call stack of implementing subroutines, you will start just asking it to produce code not explicitly related to the top level mission of overthrowing humanity.