As per the FAQ on protection, questions are automatically protected as a result of deleted answers if the number of deleted answers from new users, plus the number of deleted answers with helpful spam flags, is three or higher. The check runs whenever any answer from anyone is deleted, and deleted answers that are both posted by new users and have helpful spam flags are counted twice (so that's why you see questions getting protected after just two spam answers).

This question just now received three deleted answers, all of which were manually deleted by a moderator:

  • one with helpful spam flags (I know this because I flagged it as spam and it was marked helpful upon its deletion)
  • one posted by the same author as the last one, but with no helpful spam flags
  • one posted by a different author and with possible helpful spam flags (the spam mask shows up, but it's possible that it was triggered due to rude/abusive flags, which don't count toward auto-protection)

In all, there are three deleted answers, but as one was posted by the same user as another, it doesn't count, so those two deleted answers plus the one with helpful spam flags equals three. Yet the question wasn't protected.

Neither of the users ever crossed the 10 reputation threshold, so it's not as if they had enough rep at the time the question was checked. (So it's not the flaw that the check checks then-current rep rather than rep at the time the answer was posted that is causing it to not work in this case.)

Why wasn't the question protected? Is it because the helpful spam flag on the first answer was marked helpful automatically as a result of the answer being deleted (not by the system as spam)? If the script that marks those flags helpful runs after the protection check runs upon answer deletion, this explanation makes sense. Is that the case?

Update: Tinkeringbell believes that automatic protection wasn't applied since the first answer to be posted was the non-spam one, so the second answer that had helpful spam flags was never counted, neither once or twice. However, I don't believe that that explanation is correct, since as far as I can tell based on the protection FAQ, when it runs the auto-protection check upon any answer being deleted, it does not consider when specific answers were posted; it just checks to see if it meets the criteria at the time any answer from anyone is deleted (hence a prior case where an answer from a high-rep user resulted in auto-protection).

My hypothesis (that the protection check runs before the script that marks spam flags on posts deleted for other reasons as helpful) makes better sense given this piece of knowledge, but I could be wrong. I'd like to know which specific one was the case.

  • According to this, the author of the third answer did have over 10 at some point, actually it's not clear why they have only 3. (Sum of the visible daily rep gives 14) – Shadow The Vaccinated Wizard Apr 29 '19 at 10:11
  • @ShadowWizard At the time the third answer was deleted, they had only 3 rep, and the check ran at that time. – Sonic the Anonymous Hedgehog Apr 29 '19 at 11:07
  • 1
    Maybe... anyway Tink's answer makes more sense. :) – Shadow The Vaccinated Wizard Apr 29 '19 at 11:13

Two answers there were posted by the same user. According to this:

There is one tweak though: each user only counts once when we're checking deleted

The first answer of that user to be deleted was this one which didn't get any spam flags, so that would still count as 1 and not double, like the faq on protection says.

Even though the second answer was deleted with helpful spam flags, it no longer counts so as far as the system is concerned the count is at 2, not 3, and thus the question isn't auto protected.

  • Yes, I took that into account when counting. But the FAQ also says that deleted answers posted by new users that also have helpful spam flags are counted twice. So the first answer (in the bullet list above) would be two, the second would be zero (since it's the same author), and the third would be one. Hence three. – Sonic the Anonymous Hedgehog Apr 29 '19 at 11:06
  • @SonictheInclusiveHedgehog Except that this one was deleted first, and that one didn't have any spam flags. So I'm guessing the system isn't counting the spam deletion of the second one double. – Tinkeringbell Apr 29 '19 at 11:09
  • Yeah, that's a possibility. Or it could be that the auto-protection check ran before the script that marks spam flags on posts deleted for other reasons as helpful, so when that check ran the spam flag was still pending, so it arrived at a result of 2. – Sonic the Anonymous Hedgehog Apr 29 '19 at 11:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .