ImageNetV2 Candidate Pool Schema
Use this skill when a recovery or dataset-building task needs an auditable ImageNetV2-style candidate pool. Do not use it to sample final datasets or score model accuracy; those are downstream skills.
Inputs
- JSON list of candidate records.
- Each record must include
candidate_id,class_id,label,selection_frequency, andpredictions.
Outputs
- Normalized records sorted by
class_idandcandidate_id. - Validation errors for missing fields, invalid frequencies, or malformed predictions.
Workflow
- Load candidate records from JSON.
- Validate required fields and types.
- Enforce
selection_frequencyin[0, 1]. - Normalize labels and prediction ids to strings.
- Save normalized records for sampling and evaluation.
Validation
Run python scripts/candidate_pool.py tests/fixtures/candidates.json --output /tmp/normalized_candidates.json.
Limitations
This skill validates metadata and predictions only; it does not verify real image pixels or run MTurk.