Consider a principal who hires heterogeneous agents to work for him over T periods, without prior knowledge of their respective skills, and intends to promote one of them at the end. In each period the agents choose effort levels and produce random outputs, independently of each other, and are fully informed of the past history of outputs