meaning the ranking? Algolia is probably using a different score algorithm. If I were designing it I would probably also factor in number of comments but I think it's fair to use number of upvotes.
I'm assuming that too. Just an observation. Very interesting work of you nonetheless!