Great topic, and along with the hit factor thread, how fun to be discussing software.
I think there is art and science here. The science is that the DA/SA pistol is absolutely decocked before going into the holster. The most egregious violation of this I have seen is when a BLM LE guy approached me in the desert, with the hammer cocked on his holstered 226. Why, because he was nervous that I was out with targets in the desert.
The art part is when to decock. In competition, folks almost never decock after shot one, until the pistol is returned to the holster. If out in the field, I got jumped by three grizzly bears, my DA/SA would not get decocked until there was an obvious lull in the action or I was holstering. I am not qualified to discuss police procedure, but in these litigious times, where LE officers are quick to be thrown under the bus, I can see decocking as a risk management tool from them. That said, if engaged in a running battle with three terrorists with rifles, I can also see them staying in SA instead of decocking, for the same reason competitors stay in SA during a stage, faster to deliver an accurate shot. I do wonder if absolute statements about decocking create legal jeopardy for officers who don’t decock during a protracted fight.