Carpet life is Amortized over 3 years as far as the courts are concerned. At least that was the case in 04 when I went to small claims court with a landlord who tried that shit with me.
They can’t charge you a carpet cleaning fee if they replace the carpet. They can charge you for any holes that need to be patched.
Paint has a similar amortization to carpet, though not sure what it is.
Josh