Skip to content
Back to skills

Countereval Eval

ASecurity

Evaluates the human-centric quality of counterfactual explanations across eight explanatory virtues. It probes how well explanations convey desired outcomes, remain feasible, consistent, complete, trustworthy, understandable, fair, and appropriately complex. Use when the user wants to benchmark on CounterEval, or asks about evaluating this task. Reports Overall Satisfaction, Feasibility, Consistency, Completeness, Trust, Understandability, Fairness, Complexity.

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

Security analysis

A100/100

Scanned September 11, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Countereval Eval?

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

Security grade badge for Countereval Eval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/qhjqhj00-countereval-eval/badge)](https://www.skillsdirectory.com/skills/qhjqhj00-countereval-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: countereval-eval
description: Evaluates the human-centric quality of counterfactual explanations across eight explanatory virtues. It probes how well explanations convey desired outcomes, remain feasible, consistent, complete, trustworthy, understandable, fair, and appropriately complex. Use when the user wants to benchmark on CounterEval, or asks about evaluating this task. Reports Overall Satisfaction, Feasibility, Consistency, Completeness, Trust, Understandability, Fairness, Complexity.
metadata:
  skill_kind: dataset_eval
  source_arxiv: 2410.21131
  bibtex_key: [REDACTED]
  confidence: high
---

# countereval-eval

> Towards Unifying Evaluation of Counterfactual Explanations: Leveraging Large Language Models for Human-Centric Assessments — Domnich et al. (2024) (arXiv:2410.21131, 2024)

## What this evaluates

Evaluates the human-centric quality of counterfactual explanations across eight explanatory virtues. It probes how well explanations convey desired outcomes, remain feasible, consistent, complete, trustworthy, understandable, fair, and appropriately complex.

## Datasets

- **CounterEval** — total 30; splits: full (30); HF `anitera/CounterEval`; repo https://github.com/anitera/CounterEval

## Metrics

- `Overall Satisfaction, Feasibility, Consistency, Completeness, Trust, Understandability, Fairness, Complexity` **(primary)** — range: 1-6 (or -2 to 2 for Complexity)
  - Ordinal rating assigned by human evaluators on a 6-point scale (1-6), except Complexity on a 5-point scale (-2 to 2, where 0 is ideal). LLM performance is measured by exact-match accuracy in predicting these human-assigned scores.

## Input / output format

**Input**: Textual counterfactual explanation scenarios describing feature changes to achieve a different outcome, accompanied by contextual information and specific evaluation questions.

**Output**: Ordinal score from 1 to 6 for each of the 8 metrics (or -2 to 2 for Complexity), representing the evaluator's agreement or assessment of the explanation's quality on that dimension.

## Scoring recipe

```python
def compute_prediction_accuracy(predictions, gold):
    # predictions and gold are lists of human-assigned scores per instance
    correct = sum(1 for p, g in zip(predictions, gold) if p == g)
    return correct / len(predictions)
```

## Common pitfalls

- Complexity uses a different scale (-2 to 2) where 0 is ideal, unlike the other 7 metrics which use a 1-6 scale.
- Human ratings are collected via survey and averaged per question; LLMs must predict these ordinal scores rather than continuous values.
- The dataset is small (30 instances) and designed to cover extreme variations across metrics, so results may not generalize to typical real-world explanations.

## Evidence (verbatim from paper)

> All metrics were rated on scales detailed in Table[1], with a 6-point ordinal scale from 1 (lowest) to 6 (highest) except for Complexity, rated on a 5-point scale from -2 (too simple) to 2 (too complex), where 0 corresponded to desired complexity.

## Citation

```bibtex
@misc{domnich2024countereval,
  title={Towards Unifying Evaluation of Counterfactual Explanations: Leveraging Large Language Models for Human-Centric Assessments},
  author={Domnich et al. (2024)},
  year={2024},
  note={arXiv:2410.21131}
}
```

- arXiv: 2410.21131

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.