@jviss you have not done much house electrical then cause lots of folks (non-electricians) just wire the receptacle in any random way. certainly not a best practice but a lot of folks get away with it.
I've done a lot of house wiring, including upgrading a service from a 6-circuit, 60A fuse box to a 40 circuit, 200A service; put a second floor on a house and did all the electrical work, including pulling permits and going through inspections, etc. I haven't encountered anything wrong by a previous owner yet, just some old stuff that needed upgrading. I don't doubt you, but I didn't think you were referring to owners doing stuff, I thought you meant that there was no strict standard or enforcement for homes.
I would be on the phone to the solar company if I found what the OP did. It could kill you.
When I bought this house I went around to all the outlets with an outlet tester with a GFCI test button. When I bought the new boat I did the same while running the inverter; haven't plugged into shore power yet.