The present disclosure describes methods and systems, including computer-implemented methods, computer program products, and computer systems, for predicting casing leaks. One computer-implemented method includes obtaining raw electromagnetic (EM) corrosion data for a hotspot, wherein the raw EM corrosion data includes a metal thickness loss value for the hotspot; determining a corrosion parameter based on the raw EM corrosion data; generating a probability distribution curve for the corrosion parameter; generating a corrosion severity classification matrix based on the probability distribution curve, wherein the corrosion severity classification matrix includes a plurality of corrosion severity classes and cutoff values for each of the plurality of corrosion severity classes; and assigning the hotspot into one of the plurality of corrosion severity classes based on the corrosion severity classification matrix and the corrosion parameter of the hotspot.
展开▼