Electrical wiring building codes floor joists
We are having two rooms finished on our second floor. When the sole plate for a closet was nailed into the subfloor, it pierced though the nail plate and electric wire. Which resulted in the breaker popping. When the subfloor was removed, it was discovered that the wiring was run under the floor and the wire was laid in notched out joists and covered with a nail plate. It was also discovered that nails had pierced the wiring prior to our finishing project.
A electrician was called in and has recommened that all wiring be pulled and restrung.
This was a modular home built in Colo. About 6 years ago and erected in another state. Was the way they laid the wiring under the second story subfloor acceptable and within NEC CODE?