See also this detailed explanation from James in Competition code and user created tasks . The important section is: