£370 is too much to replace a carpet. I would challenge it.
This wasn't student accomodation, but I was charged £100 to clean an oven (that I hadn't used since I was there as I did all my cooking on the hob) and replace a lightbulb.
I challenged this through arbitration on one of the deposit protection schemes, and I got my money back.
The irony was that they wanted to charge me for lightbulbs and cleaning using a professional cleaning company, but when I got the keys to that flat, almost everything in there - floors, kitchen, bathroom etc had been left dirty by the previous tenant and there wasn't a full set of lightbulbs.
I had to ask them to get a cleaner to come and do it, and even then I told them to send the cleaner back because the bath/shower was still filthy and the wooden drainer thing?? that was on the floor that you step out of the bath onto was encrusted with the previous tenant's body grease and hair.
I marked a lot of the things on the inventory as dirty. The lightbulb they were charging me (under cupboard downlighter) wasn't even on the inventory so I didn't think to check that it actually worked when I did my inventory check.
This wasn't a slum landlord either, it was a city centre agency supposedly letting luxury flats and apartments for working professionals.