Skip to content
Back to skills

Abcfair Eval

ASecurity

Evaluates the trade-off between predictive performance and fairness across diverse real-world settings. It probes how different intervention stages, sensitive feature compositions, fairness notions, and output distributions impact a model's ability to satisfy fairness constraints while maintaining accuracy. Use when the user wants to benchmark on SchoolPerformance, ACSPublicCoverage, or asks about evaluating this task. Reports AUROC.

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

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Abcfair Eval?

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

Security grade badge for Abcfair Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-abcfair-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-abcfair-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: abcfair-eval
description: Evaluates the trade-off between predictive performance and fairness across diverse real-world settings. It probes how different intervention stages, sensitive feature compositions, fairness notions, and output distributions impact a model's ability to satisfy fairness constraints while maintaining accuracy. Use when the user wants to benchmark on SchoolPerformance, ACSPublicCoverage, or asks about evaluating this task. Reports AUROC.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2409.16965
  bibtex_key: [REDACTED]
  confidence: high
---

# abcfair-eval

> ABCFair: an Adaptable Benchmark approach for Comparing Fairness Methods — Defrance et al. (2024) (arXiv:2409.16965, 2024)

## What this evaluates

Evaluates the trade-off between predictive performance and fairness across diverse real-world settings. It probes how different intervention stages, sensitive feature compositions, fairness notions, and output distributions impact a model's ability to satisfy fairness constraints while maintaining accuracy.

## Datasets

- **SchoolPerformance** — total ?; splits: train (-1), test (-1)
- **ACSPublicCoverage** — total ?; splits: train (-1), test (-1)

## Metrics

- `Accuracy` — range: [0, 1]
  - Proportion of correctly classified instances on the test set.
- `AUROC` **(primary)** — range: [0, 1]
  - Area under the Receiver Operating Characteristic curve, measuring ranking quality for soft predictions.
- `Demographic Parity Violation` — range: [0, 1]
  - Maximum difference in positive prediction rates across sensitive groups (soft or hard).
- `Equal Opportunity Violation` — range: [0, 1]
  - Maximum difference in true positive rates across sensitive groups.

## Input / output format

**Input**: Tabular features and labels (biased and/or unbiased) from SchoolPerformance or ACSPublicCoverage, along with sensitive attribute values.

**Output**: Model predictions (hard binary labels or soft probability scores) and computed fairness violation metrics.

## Scoring recipe

```python
def compute_metrics(preds, labels, sensitive, k, notion='demographic_parity'):
    # Performance metric
    acc = np.mean(preds == labels) if preds.ndim == 1 else roc_auc_score(labels, preds)
    
    # Fairness violation
    groups = np.unique(sensitive)
    rates = [np.mean(preds[sensitive == g]) for g in groups]
    violation = max(rates) - min(rates)
    
    # Constraint check
    if violation <= k:
        return acc, violation
    return None, violation
```

## Common pitfalls

- Evaluating accuracy on biased labels instead of the dual unbiased labels obscures the true accuracy-fairness synergy.
- Directly comparing methods that output hard binary predictions against those outputting soft scores without accounting for output distribution differences.
- Ignoring the specific fairness notion and sensitive feature composition (binary vs. intersectional) when reporting violation bounds.

## Evidence (verbatim from paper)

> Table 4: The maximal AUROC and standard error in %, for the fairness strength where the (soft) demographic parity violation is smaller than k. A naive model achieves AUROC=81.2% and fairness violation of Binary=0.046, Intersectional=0.48 and Parallel=0.17.

## Citation

```bibtex
@misc{defrance2024abcfair,
  title={ABCFair: an Adaptable Benchmark approach for Comparing Fairness Methods},
  author={Defrance et al. (2024)},
  year={2024},
  note={arXiv:2409.16965}
}
```

- arXiv: 2409.16965

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.