Most of the time an coder write down some script, then run it, then Python throw out an Error. Coder will keep tracking that error, and ask a question on BSE if they cannot figure it out. The question itself will become that Error rather than the real problem they want to achieve in their works.
I'm fine with these question since most of the question itself is a good defined question without ambiguity. And also from a fact rather then habit or personal opinion. We could directly answer the X problem without referring Y problem at all. But somehow BSE are encourage to let OP ask the Y problem and others should use comment to clarify whether this is an XY problem.
Let's assume we do infer about Y problem and answer the way to solve it, should we:
- Edit the question itself to make it Y problem.
- Let it still seems to be an X problem, people with the same though might search this keyword.
- Directly mark it duplicated with Y problem question if there exist one.
The first one seems to be rude and angry with OP knowledge about the Y problem. The second one make it possible to follow the solving flow but make answer not that directly link to the question. The third one just make the question been "closed" and may lose some other possible solution toward X problem.
Any other solution or a rule that we can follow?