I am creating a ranking algorithm for ranking posts in MongoDB. I am using an aggregate pipeline and calculating a ranking as follows:
Algorithm:
(0.1(LIKES)+0.01(