Many occupations are subject to learning by doing: Effort at the workplace early in the career of a worker results in higher productivity later on. In such occupations, if effort at work is unobservable, a moral hazard problem also arises. We study a particular specification of learning by doing...