"Dirty install" - upgrading weekly.
"Clean install" - change e.g. from A10 or stable to weekly, to e.g. A11 or stable or vice versa.
After wiping everything in booted TWRP, even format data and cache partitions, there's nothing left at all, no residue, which could compromise the installation...