As for code compliance -- like pretty much all houses in the area, it was built in the 1950s, so it didn't have any of that stuff per code. It had been substantially renovated recently by people who clearly were not following code and/or the permitting process and who fucked all sorts of things up (including the grading of the foundation; they had actually made it worse while doing unrelated landscaping). I also had some "fun" issues with unpermitted electrical work. If I had to guess I'd say that it could be over half of all work that isn't done correctly. So definitely don't trust it. Have someone who reports only to you looking over everything (if you don't have the knowledge yourself).