Skip to content
Back to skills

Agreement Statistics

ASecurity

Compute ID accuracy, pairwise ID/OOD agreement, and clipped probit statistics for agreement-on-the-line experiments.

  • 247 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 9, 2026
testingpython

Works with

  • cli

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill agreement_statistics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agreement Statistics?

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

Security grade badge for Agreement Statistics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-agreement-statistics/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-agreement-statistics)

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

SKILL.md
---
name: agreement_statistics
description: Compute ID accuracy, pairwise ID/OOD agreement, and clipped probit statistics for agreement-on-the-line experiments.
---

# Agreement Statistics

Use this skill after a prediction table has been validated. It preserves the paper's estimator boundary by computing OOD agreement from predictions only and never using OOD labels.

## Inputs

- Normalized prediction table from `prediction_table_contracts`.
- Optional clipping epsilon for probit transforms.

## Outputs

- Per-model ID accuracies.
- Pairwise ID and OOD agreement fractions.
- Probit-transformed accuracies and agreements.

## Workflow

1. Compute ID accuracy from ID labels and ID predictions.
2. Compute unordered pairwise agreement on ID predictions.
3. Compute unordered pairwise agreement on OOD predictions.
4. Clip probabilities before inverse-normal transformation.

## Validation

Run `python tests/test_agreement_statistics.py` from this skill directory.

## Limitations

This skill does not fit the agreement line or solve ALine-D.

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…