How challenge rankings are calculated and updated