Skip to main content
2 of 2
highlight more key points I overlooked the first time
Karl Knechtel
  • 61.2k
  • 4
  • 153
  • 255

It seems highly unlikely to me that ChatGPT code could support a worthwhile question. A question using such code would presumably be either:

  • "Does this ChatGPT generated code do what it's intended to do?" We aren't a debugging service, and we certainly aren't a testing service.

  • "What does this ChatGPT generated code do?" - almost certainly needs more focus; and if properly focused, there would be no reason to leave behind enough code for it to still have any signature of AI generation.

  • "I tried using this ChatGPT generated code in my project, and it doesn't do what I want it to do; how do I fix it?" - almost certainly needs debugging details, even if the user has included example input, a stack trace, a description of expected output etc. The problem is that the code will not be a minimal reproducible example. Since we aren't a debugging service, the question needs to be about the specific part of the code that causes the problem; this entails that OP is responsible for determining which part that is.

  • "I have a problem with my code; to maintain NDA, I used ChatGPT to generate a MRE...." - really? And you verified by hand that the generated MRE is minimal, reproducible, and exemplifies the actual problem? Was that easier than actually just writing the code by hand, or copying and pasting the relevant lines and changing some variable names? Do you also use ChatGPT to create unit tests, and trust the result of those tests without human intervention?


That said, we care about the questions, not the code. The reason we care about banning ChatGPT content is because the ease of generating it means that relatively few users could easily overwhelm the capacity of moderators and curators (who are already overwhelmed by thousands of almost-all-worthless new questions per day). Having to write everything by hand except the actual code, certainly mitigates the problem.

Karl Knechtel
  • 61.2k
  • 4
  • 153
  • 255