City of Davis, Yolo County, California.
I drew up plans, got them stamped and approved by the city planning department, pulled 6-3 cable from a 50 ampere breaker in the outside service entrance panel to the garage where I installed a subpanel, then installed lamps, 120 outlets and
240 outlets out of the subpanel. Before covering anything, I called the city building inspector and he came out, compared it to the drawing and signed it all off. He said that I must have done it myself because it was too neat for an electrician.Disclaimer - I am not a licensed electrician, but I can read the code and do neater work than one.