It is monthly active user count (MAU) divided by number of subscribers. That gives a good metric for active communities, with a preference for newish communities with a lot of organic activity.
A few times a day, it takes the highest community by that metric, that has at least 50 subscribers and hasn't already been posted, and posts it.
@[email protected] btw there is no community info/sidebar, that explains how the bot works.