YC wasn't copied from the Summer of Code. We weren't really aware how that worked. What it was copied from, initially, was the classic college student summer job at a software co. The idea was basically to let people get a summer job starting a startup.
Later we tossed some aspects of that (going back to school in the fall doesn't work well with startups), but kept others, like the 3-month cycle.