Imported from https://github.com/MI2DataLab/auditor