So the percentile of score is computed on the observations? if so i think your approach sounds quite reasonable.