The overall quant rating is not an average of the factor grades listed. Instead, it gives greater weight to the metrics with the strongest predictive value.
Go implementation of the van Emde Boas tree data structure: Priority queue for positive whole numbers in O(log log u) time.