Morningstar Quantitative Ratings for Stocks are generated using an algorithm that compares companies that are not under analyst coverage to peer companies that do receive analyst-driven ratings ...
There are some details about this implementation: Three by three matrixes are used. Each matrix input is a two byte container, so the maximum value (in decimal) it can hold is 65,535.