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
- Compute ID accuracy from ID labels and ID predictions.
- Compute unordered pairwise agreement on ID predictions.
- Compute unordered pairwise agreement on OOD predictions.
- 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.