Agreement Line Fit
Use this skill when pairwise agreement statistics are available and you need to check whether agreement-on-the-line plausibly holds.
Inputs
- JSON statistics from
agreement_statistics. - Optional R² threshold.
Outputs
- Slope, intercept, R², residual summaries, and
on_linedecision.
Workflow
- Align pairwise ID/OOD agreement probit values.
- Fit ordinary least squares in probit space.
- Compute R² and residual summaries.
- Treat low R² as a reliability warning for downstream OOD accuracy estimates.
Validation
Run python tests/test_agreement_line_fit.py from this skill directory.
Limitations
The line diagnostic is unlabeled; it cannot prove true OOD accuracy without a separate evaluation harness.