What do you mean by "critical"? What is your experience? Why do you mention ChatGPT first and then your own logic, and not the other way around? How are you planning on recognizing ChatGPT getting things wrong?
All in all, the point of answering questions is that first and foremost you should be pretty sure that you understand the question and that it is unambiguous and clear and on-topic, and second that what you're posting is an actual answer to said question.
ChatGPT doesn't know any of that. It just rambles on based on what you enter. Therefore using it to answer questions asked here is not a good idea.
Can you explain where exactly you applied your own logic and modification here? https://stackoverflow.com/a/76514160/