There is a series of checks and balances that failed. All the special licenses wouldn't help here. Why didn't the contractor send a competent crew? Where was the quality control from the contractor? What a permit required for the work? Was it inspected? Why didn't the electrician bone up on Article 680 before turning on the power?
Complacency and greed will always trump any credential