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

bapps_2afc_protocol

bapps_2afc_protocol

Evaluate BAPPS-style two-alternative forced choice perceptual similarity triplets with auditable per-item predictions.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: bapps_2afc_protocol description: Evaluate BAPPS-style two-alternative forced choice perceptual similarity triplets with auditable per-item predictions.

BAPPS 2AFC Protocol

Use this skill when evaluating a perceptual distance function on reference, p0, p1, and human-choice triplets.

Do not use this skill to compute LPIPS distances internally; it owns the protocol and scoring contract only.

Inputs

  • Triplets with id, ref, p0, p1, and judge fields.
  • A distance provider that returns d0 = distance(ref, p0) and d1 = distance(ref, p1), or precomputed d0 and d1 values.
  • Labels where judge = 0 means p0 is closer and judge = 1 means p1 is closer.

Outputs

  • Aggregate 2afc_accuracy.
  • Per-item predictions, distances, labels, and correctness.

Workflow

  1. Validate every triplet label.
  2. Compute or consume d0 and d1.
  3. Predict 1 when d1 < d0; otherwise predict 0.
  4. Average correctness over items.
  5. Save per-item records for recovery analysis.

Validation

Run:

python scripts/evaluate_2afc.py --self-test
python tests/test_evaluate_2afc.py

Limitations

Ties default to prediction 0 for deterministic scoring. If a benchmark specifies probabilistic tie handling, record that deviation outside this skill.

저장한 Skills