Skip to content
Back to skills

Fairness Repair Eval

ASecurity

Evaluates the ability of an AutoML-based fairness repair framework to mitigate bias in machine learning models while preserving predictive accuracy. It measures the trade-off between accuracy retention and bias reduction across multiple binary classification datasets and model architectures. Use when the user wants to benchmark on Adult Census (race), Bank Marketing (age), German Credit (sex), Titanic (sex), or asks about evaluating this task. Reports Accuracy difference.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
datapythonperformance

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add qhjqhj00/research-skills-pool --skill fairness-repair-eval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fairness Repair Eval?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Fairness Repair Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-fairness-repair-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-fairness-repair-eval)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: fairness-repair-eval
description: Evaluates the ability of an AutoML-based fairness repair framework to mitigate bias in machine learning models while preserving predictive accuracy. It measures the trade-off between accuracy retention and bias reduction across multiple binary classification datasets and model architectures. Use when the user wants to benchmark on Adult Census (race), Bank Marketing (age), German Credit (sex), Titanic (sex), or asks about evaluating this task. Reports Accuracy difference.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2306.09297
  bibtex_key: [REDACTED]
  confidence: high
---

# fairness-repair-eval

> Fix Fairness, Don't Ruin Accuracy: Performance Aware Fairness Repair using AutoML — Giang Nguyen et al. (2023) (arXiv:2306.09297, 2023)

## What this evaluates

Evaluates the ability of an AutoML-based fairness repair framework to mitigate bias in machine learning models while preserving predictive accuracy. It measures the trade-off between accuracy retention and bias reduction across multiple binary classification datasets and model architectures.

## Datasets

- **Adult Census (race)** — total 32561; splits: test (-1)
- **Bank Marketing (age)** — total 41188; splits: test (-1)
- **German Credit (sex)** — total 1000; splits: test (-1)
- **Titanic (sex)** — total 891; splits: test (-1)

## Metrics

- `Accuracy difference` **(primary)** — range: other
  - new accuracy - old accuracy. Positive values indicate improved predictive performance after repair.
- `DI difference` — range: other
  - old DI - new DI. Measures reduction in Disparate Impact bias.
- `SPD difference` — range: other
  - old SPD - new SPD. Measures reduction in Statistical Parity Difference bias.
- `EOD difference` — range: other
  - old EOD - new EOD. Measures reduction in Equalized Odds Difference bias.
- `AOD difference` — range: other
  - old AOD - new AOD. Measures reduction in Average Odds Difference bias.

## Input / output format

**Input**: Binary classification datasets containing feature columns, target labels, and a designated sensitive attribute column (race, age, or sex). Models are trained on these datasets to produce baseline predictions before repair.

**Output**: Repaired model predictions or optimized hyperparameter configurations generated by the Fair-AutoML framework, evaluated against the original baseline predictions.

## Scoring recipe

```python
def compute_evaluation(original_preds, repaired_preds, labels, sensitive_attr):
    acc_diff = accuracy_score(labels, repaired_preds) - accuracy_score(labels, original_preds)
    bias_diff = compute_fairness_metric(original_preds, sensitive_attr) - compute_fairness_metric(repaired_preds, sensitive_attr)
    return acc_diff, bias_diff
# Positive acc_diff and bias_diff indicate improvement in accuracy and fairness respectively.
```

## Common pitfalls

- Misinterpreting the sign of the difference metric: in this protocol, positive values indicate improvement for both accuracy and fairness, which is the opposite of standard loss-based metrics.
- Failing to use the correct sensitive attribute per dataset (e.g., using 'sex' for Adult Census instead of 'race'), leading to incorrect fairness calculations.
- Not distinguishing between the four fairness variants (DI, SPD, EOD, AOD), as they capture different bias dimensions and may yield conflicting results.

## Evidence (verbatim from paper)

> For accuracy, accuracy difference = new accuracy - old accuracy. For bias (DI, SPD, EOD, AOD), bias difference = old bias - new bias. Thus, a positive value indicates an improvement in bias/accuracy in the repaired model compared to the original and vice versa.

## Citation

```bibtex
@misc{nguyen2023fixfairness,
  title={Fix Fairness, Don't Ruin Accuracy: Performance Aware Fairness Repair using AutoML},
  author={Giang Nguyen et al. (2023)},
  year={2023},
  note={arXiv:2306.09297}
}
```

- arXiv: 2306.09297

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.