Grammarly doesn't detect as AI generated
To quote a comment by Security Hound:
I use Grammarly to check virtually all my contributions. The detection rate is less than 0.01% on that content. Without checking the content you submitted, that had a high probability of being written by a AI, I can't comment more than that. What I can tell you is, content written by you then correct by Grammarly, the probability of that content being written by an AI is typically less than 0.1%.
Your specific issue wasn't Grammarly. It was ChatGPT.
As has been mentioned elsewhere, your use of Grammarly wasn't the issue. You did, in fact, post content generated by ChatGPT. You even explicitly stated that you did:
Answer provided by an AI language model, ChatGPT
I asked ChatGPT your question just to see, and he surprised me with a
nice answer.
Toolchains which produce content that appears to be AI generated are banned.
The primary reason for the blanket ban on AI generated content is to allow people performing curation, both regular users and moderators, to detect and deal with AI-generated content on the basis that it was AI generated, rather than differentiating the content on "is this good/correct" vs "bad" or "this was an acceptable use" vs "this was an unacceptable use". The reason for this is that we, people doing curation on Stack Overflow, just don't have the available resources (i.e. the time of subject-matter experts) to make a finer-grained differentiation beyond "this was AI generated". Because of the nature of AI generated content, it takes orders of magnitude more time and effort (and level of expertise in the specific subject) to differentiate such content based on criteria beyond "this was AI generated". We, overall, just don't have and can not reasonably obtain the amount of time from subject mater experts in order to make those finer grained differentiations.
Unfortunately, 99.9% of the tens of thousands of posts which have been posted using AI generated content have been by people that appear to have just copied the question into the input of the AI generation and then copied the output (potentially with some edits) onto Stack Overflow. They do so without any attempt to verify that the response is accurate, or even self-consistent, and with no thought to the negative impact that doing that has, both on the asker and on the site.
So, unfortunately, yes, we have to ban the use by that 0.1% of users posting such content that is, in fact, generated using a tool-chain that might otherwise be acceptable, because the massive majority of people are not using the available tools in a reasonable manner and we just don't have the available curation resources to be able to differentiate, at the scale Stack Overflow operates, between those "potentially good" uses and the massive majority of use that is "bad".
Ultimately, allowing the flood of bad content that is very hard to determine is actually bad/inaccurate/incorrect, other than by someone who is already a subject matter expert, will kill the usefulness of Stack Overflow, as future readers would have to wade through a huge amount of crap in order to get to the content that's actually good. So, we must remove the bad content, even if that sacrifices a small amount of content that would have otherwise been acceptable.
The issue isn't "oh, people will need to work a little harder to do curation". It's that if AI generation was permitted, then it increases the need for time from experts doing curation by orders of magnitude and there's just no way to meet that need. AI generated content often reads as if it is great, but is actually bad/inaccurate/confusing. There have been various times when we've seen question askers, who usually are not experts, accept, award bounties, and (presumably) upvote AI generated answers, but then leave a comment like "this doesn't work". Thus, the additional resources need to already be experts in the specific technology and be critically evaluating such answers. Stack Overflow just doesn't have the necessary resources available to accomplish that and no way to get them.
We'd like to be able to support people using such toolchains where the base work is actually theirs and they have verified their answer. We just don't have a way that's possible while still being able to remove the 99.9% of content that detects as AI generated which is bad/inaccurate/not the work of the author. We're open to ways it might be possible to allow the use of at least some tools that don't cross over into actual AI generation of the underlying content, but we've seen nothing, including no viable suggestions from the community, that would actually work at the volumes at which Stack Overflow operates. [Note: what would be viable from our point of view would need to be something that requires no changes to the underlying site software, as development resources are very limited and getting Stack Overflow, the company, to make substantial changes is ... difficult and time-consuming.]
There will be toolchains in the future (and may be some now) which might have been reasonable, but which are, effectively, banned.
This is an evolving situation. There will be tools developed that use AI generation. Some of these tools could end up being quite beneficial to people in many situations. However, if they generate content that appears to be AI generated, then they are, effectively, banned, because, as mentioned above, we just don't have to the ability to do that differentiation at the scale Stack Overflow operates.
It would be nice to just be able to ask people what they were doing, get a truthful answer and then be able to differentiate the work based on that. However, A) we just don't have the resources to ask about each piece of detected AI content before removing it, and B) a large percentage of "bad actors" lie and do so repeatedly and vociferously. It would be really nice if those facts weren't the case, but they are.
To a large extent, in addition to being a technological issue, it's a societal one. Adapting will take time.
Commonly available AI generation that routinely produces "eloquent bullshit" that reads well to humans is a new capability. It's yet to be seen how we, as a society, will adapt to that capability being available. It's quite unclear what level of AI assistance/generation society will, in general, consider to be acceptable for someone to claim as their own work, or use in a way where they, in the past, would have been expected to be the sole author. Such tools will continue to improve and what uses/level of use society will consider acceptable will change over time.
However, from Stack Overflow's point of view, until such time as such tools the vast majority of the time generate actually correct answers, or answers which can be quickly and easily be identified as good/bad, we must continue to ban such content and remove it when it's detected.