{
  "schema_version": "pixel_echo_evaluation_protocol_v2",
  "status": "BENCHMARK_V0_PROTOCOL_FROZEN_NO_METRICS",
  "benchmark_id": "pixel-echo-benchmark-v2",
  "taxonomy_contract": "manifests/taxonomy_v2_directory_contract.json",
  "active_release": {
    "release_id": "pixel-echo-benchmark-v0-c2i-ort-real",
    "manifest": "manifests/benchmark_v0_ort_real.manifest.json",
    "evaluator_contract": "manifests/evaluator_contract_benchmark_v0_ort_real.json",
    "primary_task": "real_vs_ort_gen",
    "scope": "ORT GEN 2000 versus independent C2I Real 2000 only",
    "status": "frozen_interface_no_metrics"
  },
  "first_release_roster": {
    "generator_ids": ["ort", "sd15_sdvae_ftmse", "gpt_image_1", "seedream_3", "pixeldit", "jit_pixel_native", "imagen_3", "imagen_4", "imagen_4_ultra", "nano_banana"],
    "real_control_ids": {
      "c2i": "c2i_benchmark_real_independent_imagenet_2000",
      "t2i": "t2i_benchmark_real_coco_val_2000"
    },
    "per_generator_split_counts": {"train": 1000, "validation": 500, "private_test": 500},
    "real_split_counts_per_task": {"train": 1000, "validation": 500, "private_test": 500},
    "mechanism_isolation": true,
    "cross_task_real_reuse": false,
    "active_v0_generator_ids": ["ort"],
    "active_v0_task_ids": ["real_vs_gen"]
  },
  "tracks": {
    "matched_256": {
      "primary": false,
      "sensitivity": false,
      "role": "diagnostic_only",
      "status": "LEGACY_LEAKY",
      "implementation_status": "historical_materialization_only",
      "description": "Legacy asymmetric comparison: Real was resized while the ORT raster was already 256px. Retain only for diagnosis; exclude from main tables, ranking, and conclusions.",
      "included_in_main_table": false,
      "included_in_ranking": false,
      "included_in_conclusion": false
    },
    "native": {
      "primary": true,
      "implementation_status": "contract_frozen_for_v0",
      "role": "deployment_source_frame_only",
      "mechanism_attribution": false,
      "description": "Preserve delivered raster and native resolution for deployment/source-frame analysis; native separation is not mechanism attribution and is not fair across unmatched acquisition/export/resolution."
    },
    "symmetric_nuisance_controlled": {
      "primary": false,
      "sensitivity": true,
      "role": "nuisance_controlled_robustness",
      "implementation_status": "train_precheck_only_pending_evaluator",
      "manifest": "manifests/benchmark_v0_symmetric_nuisance_controlled_track.json",
      "schema": "schemas/nuisance_controlled_track.schema.json",
      "group_registry": "manifests/benchmark_v0_symmetric_transform_groups.json",
      "required_group_count": 1,
      "robustness_stress_group_count": 4,
      "optional_extension_group_count": 6,
      "runner_must_read_registry": true,
      "required_report_group": "center_crop_256_no_resize",
      "required_report_independent": true,
      "eligibility_intake": "manifests/benchmark_v0_center_crop_256_e34_smoke_intake.json",
      "train_precheck": {
        "source_job_id": "1530862",
        "decision": "A_FREEZE_895_PAIRED_COMMON_IDS",
        "eligible_pairs": 895,
        "excluded_pairs": 105,
        "counts_by_role": {"REAL": 895, "ORT_GEN": 895},
        "formal_evaluation_run": false
      },
      "validation_private_eligibility": {
        "owner": "private_evaluator",
        "status": "not_read_by_e34_independent_precheck_required",
        "training_visibility": "forbidden",
        "private_labels": "evaluator_only_mode_0700",
        "fail_closed_on_missing_or_unbalanced": true
      },
      "description": "Report center_crop_256_no_resize independently after identical RGB decode, exact 256x256 center crop, lossless PNG re-encode, and RGB decode for Real and Gen; retain the previous four groups as separate robustness stress."
    },
    "canonical_png": {
      "primary": false,
      "implementation_status": "metadata_policy_dry_run_only",
      "conversion_executed": false,
      "pixel_validation_performed": false,
      "description": "Interface only; do not claim completed conversion or pixel validation."
    }
  },
  "split_policy": {
    "generated_per_generator": {"train": 1000, "validation": 500, "private_test": 500},
    "real_per_task": {"train": 1000, "validation": 500, "private_test": 500},
    "mechanism_cohorts": {"split": "mechanism", "train_validation_private_test_fields": false},
    "condition_partition": "freeze task-specific class/prompt keys before route materialization",
    "seed_policy": "unique within generator and split; use request_id when a provider has no exposed seed",
    "mechanism_isolation": "mechanism source IDs and conditions are excluded from benchmark fitting, calibration, and scoring",
    "private_labels": "evaluator-only under mode 0700"
  },
  "tasks": [
    {
      "task_id": "real_vs_gen",
      "status": "primary",
      "input": "task-specific Real control plus generated images",
      "target": "is_generated",
      "fit": "train",
      "calibration": "validation",
      "evaluation": "private_test",
      "threshold_rule": "select on validation once and freeze; never refit on private_test",
      "metrics": ["auroc", "auprc", "balanced_accuracy", "macro_f1", "tpr_at_1pct_fpr", "tpr_at_0_1pct_fpr", "brier", "ece"],
      "bootstrap_ci": {"unit": "image", "method": "percentile", "confidence": 0.95, "replicates": 1000, "thresholds_frozen_from_validation": true},
      "generalization_ceiling": "v0 is not cross-checkpoint or cross-family evidence",
      "active_tracks": ["native", "symmetric_nuisance_controlled"],
      "retired_tracks": ["matched_256"],
      "robustness_reports": {
        "unseen_transform": "required; held-out transform groups are excluded from fitting, model selection, and threshold selection",
        "worst_group": "required; group by transform_group_id and report the minimum AUROC group"
      },
      "shortcut_baselines": {
        "required": ["resolution_only", "metadata_only"],
        "gate": "both must satisfy abs(AUROC-0.5)<=0.05 and abs(balanced_accuracy-0.5)<=0.05 on strictly balanced Real/Gen inputs before detector separation is interpreted"
      }
    },
    {
      "task_id": "generator_attribution",
      "status": "future_multi_model_task",
      "input": "generated images only",
      "target": "generator_id",
      "fit": "train",
      "calibration": "validation",
      "evaluation": "private_test",
      "metrics": ["top1", "macro_f1", "balanced_accuracy", "per_class_recall", "confusion_matrix"]
    },
    {
      "task_id": "decoder_attribution",
      "status": "future_multi_model_task",
      "input": "generated rows with known decoder labels only",
      "target": "decoder_id",
      "unknown_decoder_policy": "exclude unknown; never force unknown into a declared class",
      "minimum_evaluable_decoder_classes": 2,
      "fewer_than_minimum": "report unavailable/not_evaluable, not a score",
      "metrics": ["top1", "macro_f1", "balanced_accuracy", "per_class_recall", "confusion_matrix"]
    },
    {
      "task_id": "open_set_generator",
      "status": "optional_interface_only",
      "metrics": ["auroc", "known_accept_rate", "unknown_rejection_rate"]
    }
  ],
  "submission": {
    "format": "JSONL",
    "one_record_per_sample_task": true,
    "required_fields": ["sample_id", "task_id", "prediction"],
    "private_test_labels": "held by evaluator",
    "reject": ["missing IDs", "extra IDs", "duplicate IDs", "split mixing", "label leakage", "unknown decoder coerced to class"],
    "threshold_source": "validation only"
  },
  "feature_leakage_policy": {
    "allowed_feature_source": "transformed_pixel_values_only",
    "forbidden_feature_sources": ["file_size", "filesystem_metadata", "EXIF_or_other_metadata", "filename", "directory_path", "absolute_path", "timestamps"],
    "metadata_sanitization": "strip_or_ignore non-scientific metadata before feature extraction"
  },
  "matching_audit": {
    "required_fields": ["acquisition_route", "source_frame_resolution", "export_pipeline", "output_resolution", "label_blind_transform_assignment"],
    "fair_comparison_rule": "If acquisition, export, or resolution matching is not evidenced, status=not_fair_comparison and no detector comparison metric may be published.",
    "source_resolution_role": "audit metadata only; never a detector feature"
  },
  "evidence_boundary": "No score is present in this contract. Actual feature materialization and synthetic smoke are not research results."
}
