Use Mimesis to Create Counterfactual Datasets for Model Bias Audits
The article shows how to generate a perfectly balanced, synthetic dataset with the open‑source Mimesis library and use it to audit a classifier for gender bias. By creating counterfactual loan‑approval profiles that vary only demographic attributes, you can expose discriminatory behavior without exposing real user data.