Quantitative correlations between photochemical performance and low-electron-density defect