The per-atom formation energies of materials listed on the MP website are not consistent with the uncorrected energies shown in the Pourbaix diagrams.

@wjx666 Were you able to find any existing solutions on the forum? There’s this existing thread that might help.