Code ensembles: random Code Ensemble (section 6.1).

The geometry of the Random Code Ensemble: distance enumerator and growth rate (section 6.2).

Reference book: "Information, physics, and computation" by Mezard and Montanari