I just came across this edit suggestion: https://stackoverflow.com/review/suggested-edits/20137246
I skipped it, because I wasn't sure about it. But I'm curious what would have been the right way to handle it without skipping.
It looks to me like it is a thorough improvement but I'm not enough of a Python expert to be absolutely sure. But leaving that aside, even if I assume that the edits are 100% correct, I would not be sure how to handle it.
Under the assumption that the result of edits is a completely correct answer, should it be approved or should it be rejected because it deviates from the original too much and should therefore have been contributed as a separate answer instead of as an edit?
The explanatory text for the "conflicts with author's intent" rejection reason says that:
Even edits that must make drastic changes should strive to preserve the goals of the post's owner.
Is the linked edit preserving the author's intent?
And to generalize the question: are their any hard criteria for when an edit crosses the line to not preserving the goals of the post's owner any more or do I just have to accept that there will always be some degree of squishiness involved here?
Addition:
As pointed out in the comments, the linked edit suggestion is actually for a question and not an answer, so for the concrete case my question here is kind of pointless. But the generalization of the question remains valid, I hope.