인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

prediction_table_contracts

prediction_table_contracts

Validate agreement-on-the-line prediction tables while separating estimator inputs from evaluation-only OOD labels.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: prediction_table_contracts description: Validate agreement-on-the-line prediction tables while separating estimator inputs from evaluation-only OOD labels.

Prediction Table Contracts

Use this skill when preparing inputs for agreement-on-the-line or ALine-D recovery experiments. Do not use it for probability-score methods that require softmax confidences rather than class predictions.

Inputs

  • JSON table with models, id_labels, id_predictions, ood_predictions, and optional ood_labels.
  • At least three models are required for ALine-D.

Outputs

  • Normalized JSON table with deterministic model ordering.
  • Metadata for model/sample counts and a flag showing OOD labels are evaluation-only.

Workflow

  1. Validate unique model identifiers and consistent prediction lengths.
  2. Require every model to have ID and OOD class predictions.
  3. Store optional OOD labels under evaluation_only.
  4. Reject attempts to treat OOD labels as estimator-visible fields.

Validation

Run python tests/test_prediction_table_contracts.py from this skill directory.

Limitations

This skill validates table structure only; it does not compute agreement statistics or accuracy predictions.

저장한 Skills