OpenAI ChatGPT writing OCaml

Your second sentence … I don’t understand what you mean: do you have pointers?

Your first sentence: I think we probably agree: The definition of intelligence among the unwashed is … shockingly unintelligent. Even in our profession, the ability to bang out leetcode solutions isn’t the same as the ability to reason thru a body of code presented to you for the first time – so you can figure out whether it meets its specification or not. Maybe what ChatGPT is demonstrating is a superior level of Google-Fu (so to speak).

It would be interesting to see if ChatGPT could both write various bits of code, and also write unit-tests for that code to check it against specifications. So that the two compiled together. That might start to approach the intelligence of the typical room-temperature programmer at your typical enterprise.