ChatGPT can't cache information in local variables while it works. So it only "knows" the visible conversation, and whatever information is hardcoded in its network weights. Hence, we can predict that it will perform badly on tasks that require caching intermediate information.