To be fair, I immediately assumed the events were in order given their A, B, C names. I don't assume that any chat bot understands logic just because it can write code. I think 90% of it's coding abilities are having an exceptional ability to remember and apply pre-existing examples and identify similarities to what the user is asking. ChatGPT is pretty amazing from what I've seen so far, but I think we're still a few steps away from something with the cognitive abilities of a human. That said, I think it's very close to something resembling a useful digital assistant. I wonder how soon we'll have something that can schedule appointments, order pizza, do my shopping or any of the other mundane but important tasks that would make it useful.