Sometimes, new users will ask a question, and in the course of exploring it on their own, or in response to comments, they will figure out what the problem was and include the solution in the question post, effectively rendering it unanswerable (because it has already been solved). Here is one such example.
When we encounter these, is it useful and correct to revise or roll-back the question to an answerable form and move the solution-content to a new answer post? My intuition tells me that this is [very] bad idea, since the process of dividing into two parts another person's already-edited post, with its own internal consistency and inherently-entangled content, will almost certainly be messier than the original and potentially compromise the fidelity of the original. But solved-questions don't match the question-and-answer-posts format SO runs by, And That Would Be Wrong.
The most problematic question-edits are ones where the author revises their broken code in a way that solves the problem, making it impossible to tell what the original point of the post was without looking at the edit history of the question itself. Even though this kind of revision is counterproductive, correcting it requires an editor to perform a code edit, which is itself a highly questionable activity.
In short, my question to Meta is this: If we find a question-post that has been edited to answer itself, should we (perhaps grudgingly) leave it be, or split it into a question and answer, even if the overall quality of the original post is compromised**? To what extent is the question-and-answer format preferable to self-answering-question format? Is there a policy on this?
** (assuming, in all cases, that the resulting posts are both still of normally acceptable quality)