Competition, coursework and careers : understanding diversity gaps in technology