Statistical mechanics of community detection | Synapse