Understanding Stabilizer Codes Under Local Decoherence Through a General Statistical Mechanics Mapping | Synapse