If the walls are open due to new electrical work being performed in the wall cavity, you should be stapling the wires down, staples should be loose enough where you can wiggle the wire back and forth inside it. If you see splices within the wall cavities that are not in boxes, those must be fixed. Really, you should be fixing everything you can. As far as your legal responsibilities go, it depends on your area. Call your local inspection agency.