code: def get_correction(self, entry):
          
          eigenvalues = entry.parameters["eigenvalues"]
          kpoint_weights = entry.parameters["kpoint_weights"]
          potalign = entry.parameters["potalign"]
          vbm = entry.parameters["vbm"]
          cbm = entry.parameters["cbm"]
  
          bf_corr = self.perform_bandfill_corr(eigenvalues, kpoint_weights, potalign, vbm, cbm)
  
          entry.parameters["bandfilling_meta"] = dict(self.metadata)
  
          return {"bandfilling": bf_corr}
docs: Gets the BandFilling correction for a defect entry