Skip to content
Back to skills

Aline D Estimator

ASecurity

Solve the ALine-D pairwise linear system to predict OOD accuracies from ID accuracy and unlabeled agreement statistics.

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
testingpython

Security analysis

A100/100

Scanned September 9, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Aline D Estimator?

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

Security grade badge for Aline D Estimator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-aline-d-estimator/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-aline-d-estimator)

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

SKILL.md
---
name: aline_d_estimator
description: Solve the ALine-D pairwise linear system to predict OOD accuracies from ID accuracy and unlabeled agreement statistics.
---

# ALine-D Estimator

Use this skill after agreement statistics and an agreement-line slope are available. It implements the paper's ALine-D estimator rather than a simple plug-in baseline.

## Inputs

- Statistics JSON from `agreement_statistics`.
- Fit JSON from `agreement_line_fit`.

## Outputs

- Predicted OOD accuracy per model.
- ALine-S baseline predictions.
- Equation count and residual diagnostics.

## Workflow

1. Build one linear equation for every unordered model pair.
2. Use the fitted agreement slope and pairwise agreement terms from Equation (6).
3. Solve the least-squares system over probit OOD accuracies.
4. Convert predictions back to probability space.

## Validation

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

## Limitations

At least three models are required. Rank-deficient synthetic cases may fail because the system cannot identify every model's OOD accuracy.

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…