Personally, I don’t find the Tetris example convincing - the log shows the generator produced Tetris without specific details about what Tetris is. There are undoubtedly many implementations of Tetris in the training set.
In a situation with more-novel input, ChatGPT hallucinated most of the functions it tried to use: