We did tests at work for M16 screws at 100Nm. If I recall right, the difference between totally dry threads and well lubed threads resulted in a 40% different clamping force.
BTW bolt stretch isn't really always a thing, only happens for high tension connections. You do not stretch alternator bolts in any meaningful amount when you tighten them. The clamping force is what you want to achieve with a specific torque. It's calculated out of the thread pitch and average expected friction. Lube throws torque values way off... There's even a notable difference between zinc plated fasteners and black (blued) fasteners... Of course in high tension applications, the stretch is critical too.
For higher precision, they often use a torque angle instead or together with a torque value setting. And for really high precision there are special load-cell screws, or special screws where you can measure the actual load with a special ultrasound device.
And when dimensioning torque values by the DIN standard we use at work, I think the coefficient that takes into account an average mechanic working with an average torque wrench is very high, like 1.6 or 1.8 (and hand tightening ~5 or 6). That means the equation takes about a 60% higher safety factor - considers the operator may overtighten for 60%-80% of the prescribed value... Of course the standards can be very different and I think it also depends on how high of a torque we're talking about (overtightening 10Nm to 20Nm is easy, but 300Nm to 600Nm won't happen easily....). And that safety factor is added up to the standard safety factor of ~1.5 (you can't dimension something to withstand just exactly as much as it is required, you always need some safety...).
Another thing to consider - the flange thickness compared to bolt/screw diameter is very important in how easy it is for a screw/nut to unscrew itself, and of course also how much the bolt/screw will stretch (the larger it is the more it can stretch). I think in general if the flange thickness is three times the diameter of the bolt, the connection is considered self-securing (won't tend to unscrew by itself under vibrations). For example, a cylinder head is 10-20 times the diameter of the stud and those don't get unscrewed by themselves. But if you use the same screw to secure some sheet metal, it's very likely to unscrew by itself and you for example need to use a nylock nut... There's a lot more to it than just 3xboltdiameter, this is just a simple design guideline. If possible, you try to avoid sinking allen head screws too far - the higher they are, the thicker the flange (on e.g. an alloy engine cover - and in case of a cover sealing in oil, this also has the benefit of enlarging the "pressure cone" of each screw, so it gives you a more even pressure on the gasket... so anyway, thick flanges are usually much preferred).