This was about sewage backing into the basement, untreated lumber against the floor and improper electrical wiring directly nailed onto 2x4s. I am glad this got fixed before I bought the house.
I am sure you are glad this was all fixed!, Anyone would be. However I am curious exactly what was the code violation that caused the sewer backing up.
Is this on a septic or city sewer system? Was the backup a direct result of the code violation since I know of a number of people who have had sewer backups in their basements that had nothing to do with code violations. Just the fact it is below ground level can cause such problems. Would I tear up a improperly finished basement because it had untreated lumber against the floor? No I wouldn't. Either treated or untreated would have to be if saturated with sewer. But I am completely puzzled by "improper electrical wiring directly nailed onto 2 x 4s." Having worked as a Master electrician for many years, I have no idea what this means? Electricians "staple" romex on 2x4s all the time. Are you saying someone used actual nails driven through the insulation? Was it the nailing that was the violation or the improper electrical wiring?
I have seen my share of previously installed jobs by both contractors and home owners, and they all have code violations to a greater or lesser degree. Take a look at the code book and you can understand why. I have seen contractors go on a job, and to make themselves "look good" go over everything with a fine tooth comb and easily come up with numerous code violations that they would "never do" had they done the job.
The reason one can do this?
"The NEC ® refers to neat and workmanlike several times yet never defines what constitutes neat and workmanlike"
It has gotten so confusing the decision was made to establish a whole new code called NEIS (National Electrical Installation Standards). Of course non of these codes are adequate, so now, what was once known as the National Electrical or National Building Code has become the
International Electrical or Building Code. So if one wants the perfect house, make sure it is in FULL compliance with all these International Codes and one can sleep well knowing the United Nations is taking care of you. Don't worry, Planning and Zoning is on top of this, and all these new codes are being implemented as I write.