{
  "amodal_metrics": {
    "amodal_recovery": 1.0,
    "expected_amodal_records": [],
    "expected_amodal_shapes": 0,
    "recovered_amodal_records": []
  },
  "artifacts": [
    {
      "kind": "scene_graph",
      "path": "target/pages/mark-same-color-overlap-ambiguity/input-512/scene_graph.json"
    },
    {
      "height": 512,
      "kind": "region_graph",
      "path": "target/pages/mark-same-color-overlap-ambiguity/input-512/region_graph.json",
      "width": 512
    }
  ],
  "compatibility": {
    "check_count": 13,
    "checks": [
      {
        "issue_count": 0,
        "message": "export includes an svg root element",
        "name": "svg_root",
        "passed": true
      },
      {
        "issue_count": 0,
        "message": "export does not embed raster image elements",
        "name": "no_embedded_raster",
        "passed": true
      },
      {
        "issue_count": 0,
        "message": "export does not include script elements",
        "name": "no_script",
        "passed": true
      },
      {
        "issue_count": 0,
        "message": "export does not include embedded style elements",
        "name": "no_style_elements",
        "passed": true
      },
      {
        "issue_count": 0,
        "message": "export does not include live SVG text elements",
        "name": "no_text_elements",
        "passed": true
      },
      {
        "issue_count": 0,
        "message": "export does not include SVG animation elements",
        "name": "no_animation_elements",
        "passed": true
      },
      {
        "issue_count": 0,
        "message": "export does not include SVG filter effects",
        "name": "no_filter_effects",
        "passed": true
      },
      {
        "issue_count": 0,
        "message": "export does not include SVG clipPath or mask elements",
        "name": "no_clipping_or_mask_elements",
        "passed": true
      },
      {
        "issue_count": 0,
        "message": "export does not include SVG pattern elements",
        "name": "no_pattern_elements",
        "passed": true
      },
      {
        "inline_event_handlers": [],
        "issue_count": 0,
        "message": "export does not include inline SVG event handler attributes",
        "name": "no_inline_event_handlers",
        "passed": true
      },
      {
        "issue_count": 0,
        "message": "export does not include foreignObject elements",
        "name": "no_foreign_object",
        "passed": true
      },
      {
        "external_references": [],
        "issue_count": 0,
        "message": "export does not reference external files or URLs",
        "name": "no_external_references",
        "passed": true
      },
      {
        "external_url_references": [],
        "issue_count": 0,
        "message": "export does not reference external files or URLs through url(...) values",
        "name": "no_external_url_references",
        "passed": true
      }
    ],
    "failed_check_count": 0,
    "passed": true,
    "profile": "editable_conservative",
    "total_issue_count": 0
  },
  "construction_metrics": {
    "construction_decision_count": 1,
    "construction_decisions": [
      {
        "decision": "selected",
        "node_id": "node_000",
        "node_kind": "path",
        "rejected_alternatives": [
          "split_same_color_amodal_rectangles"
        ],
        "report_only_candidates": [
          {
            "blocked_export_reason": "requires_blocking_render_topology_editability_gates",
            "candidate_id": "same_color_split_candidate_000",
            "candidate_kind": "same_color_two_rectangle_split",
            "confidence": 1.0,
            "decision_rationale": "strong_evidence_candidate_export_deferred_until_blocking_gates",
            "evidence": [
              "exact_rectangular_union",
              "axis_alignment",
              "positive_overlap",
              "single_connected_component",
              "render_equivalent_candidate"
            ],
            "export_policy": "visible_union_until_gated",
            "overlap_area": 9216,
            "primitive_fit": "two_axis_aligned_rectangles",
            "primitives": [
              {
                "bbox": {
                  "height": 96,
                  "width": 256,
                  "x": 128,
                  "y": 176
                },
                "kind": "rectangle"
              },
              {
                "bbox": {
                  "height": 320,
                  "width": 96,
                  "x": 208,
                  "y": 96
                },
                "kind": "rectangle"
              }
            ],
            "render_mismatch_ratio": 0.0,
            "report_only_alternative": "same_color_split",
            "required_export_gates": [
              "render_parity",
              "topology_parity",
              "editability_non_regression"
            ],
            "selected_construction": "visible_union",
            "status": "verified_report_only",
            "visible_alternative": "visible_union_fallback"
          }
        ],
        "selected_construction": "visible_union_fallback"
      }
    ]
  },
  "cutout_metrics": {
    "cutout_recovery": 1.0,
    "expected_cutouts": 0,
    "recovered_cutouts": 0
  },
  "editability_gates": {
    "max_node_count": 64,
    "max_path_count": 16,
    "node_count_passed": true,
    "path_count_passed": true
  },
  "editability_metrics": {
    "node_count": 12,
    "path_count": 1
  },
  "effective_input": "fixtures/golden/mark-same-color-overlap-ambiguity/input-512.png",
  "export_equivalence_metrics": {
    "expected_export_equivalence": false,
    "expected_export_equivalence_unions": 0,
    "expected_rejected_alternatives": [],
    "export_equivalence_recovery": 1.0,
    "min_export_equivalence_recovery": 1.0,
    "recovered_export_equivalence_unions": 0
  },
  "group_metrics": {
    "expected_groups": [],
    "group_recovery": 1.0,
    "recovered_groups": []
  },
  "input": {
    "height": 512,
    "path": "input-512.png",
    "width": 512
  },
  "instance_metrics": {
    "expected_instance_candidates": 0,
    "instance_recovery": 1.0,
    "recovered_instance_candidates": 0
  },
  "layer_order_metrics": {
    "expected_layer_order": [],
    "expected_ordered_layers": 0,
    "layer_order_recovery": 1.0,
    "recovered_layer_order": [
      {
        "construction": "visible_union_fallback",
        "kind": "path",
        "layer_index": 0,
        "node_id": "node_000",
        "z_order": 0
      }
    ]
  },
  "lettering_metrics": {
    "expected_group_records": [],
    "expected_lettering_groups": 0,
    "lettering_group_recovery": 1.0,
    "matched_lettering_groups": 0,
    "min_lettering_group_recovery": 1.0,
    "recovered_group_records": []
  },
  "output": "target/pages/mark-same-color-overlap-ambiguity/input-512/output.svg",
  "primitive_metrics": {
    "expected_primitives": [],
    "primitive_recovery": 1.0,
    "recovered_primitives": [
      "path"
    ]
  },
  "profile": "editable_conservative",
  "raster_normalization": null,
  "region_graph": "target/pages/mark-same-color-overlap-ambiguity/input-512/region_graph.json",
  "region_graph_summary": {
    "cutout_count": 0,
    "hole_count": 0,
    "negative_region_count": 0,
    "positive_region_count": 1
  },
  "render_metrics": {
    "edge_error": 0.0,
    "local_max_error": 0.0,
    "pixel_error": 0.0
  },
  "same_color_ambiguity_metrics": {
    "expected_ambiguity_kinds": [
      "same_color_overlap"
    ],
    "expected_ambiguity_strategy": "fallback_visible_union",
    "expected_same_color_ambiguity": true,
    "expected_source_shapes": 2,
    "expected_split_candidates": [
      {
        "blocked_export_reason": "requires_blocking_render_topology_editability_gates",
        "candidate_kind": "same_color_two_rectangle_split",
        "decision_rationale": "strong_evidence_candidate_export_deferred_until_blocking_gates",
        "evidence": [
          "exact_rectangular_union",
          "axis_alignment",
          "positive_overlap",
          "single_connected_component",
          "render_equivalent_candidate"
        ],
        "export_policy": "visible_union_until_gated",
        "primitive_fit": "two_axis_aligned_rectangles",
        "report_only_alternative": "same_color_split",
        "required_export_gates": [
          "render_parity",
          "topology_parity",
          "editability_non_regression"
        ],
        "selected_construction": "visible_union",
        "status": "verified_report_only",
        "visible_alternative": "visible_union_fallback"
      }
    ],
    "matched_split_candidate_count": 1,
    "min_same_color_ambiguity_recovery": 1.0,
    "recovered_split_candidates": [
      {
        "blocked_export_reason": "requires_blocking_render_topology_editability_gates",
        "candidate_id": "same_color_split_candidate_000",
        "candidate_kind": "same_color_two_rectangle_split",
        "confidence": 1.0,
        "decision_rationale": "strong_evidence_candidate_export_deferred_until_blocking_gates",
        "evidence": [
          "exact_rectangular_union",
          "axis_alignment",
          "positive_overlap",
          "single_connected_component",
          "render_equivalent_candidate"
        ],
        "export_policy": "visible_union_until_gated",
        "overlap_area": 9216,
        "primitive_fit": "two_axis_aligned_rectangles",
        "primitives": [
          {
            "bbox": {
              "height": 96,
              "width": 256,
              "x": 128,
              "y": 176
            },
            "kind": "rectangle"
          },
          {
            "bbox": {
              "height": 320,
              "width": 96,
              "x": 208,
              "y": 96
            },
            "kind": "rectangle"
          }
        ],
        "render_mismatch_ratio": 0.0,
        "report_only_alternative": "same_color_split",
        "required_export_gates": [
          "render_parity",
          "topology_parity",
          "editability_non_regression"
        ],
        "selected_construction": "visible_union",
        "status": "verified_report_only",
        "visible_alternative": "visible_union_fallback"
      }
    ],
    "recovered_verified_split_candidate_count": 1,
    "same_color_ambiguity_recovery": 1.0,
    "same_color_report_only_export_policy_recovery": 1.0,
    "same_color_split_candidate_recovery": 1.0
  },
  "scene_graph": "target/pages/mark-same-color-overlap-ambiguity/input-512/scene_graph.json",
  "stroke_metrics": {
    "centerline_distances": [],
    "expected_centerline_strokes": 0,
    "expected_detail_records": [],
    "expected_fallback_records": [],
    "expected_stroke_details": 0,
    "expected_stroke_fallbacks": 0,
    "expected_symmetry_candidates": 0,
    "expected_symmetry_records": [],
    "matched_stroke_details": 0,
    "matched_stroke_fallbacks": 0,
    "matched_symmetry_candidates": 0,
    "max_centerline_distance": null,
    "min_stroke_detail_recovery": 1.0,
    "min_stroke_fallback_recovery": 1.0,
    "min_symmetry_recovery": 1.0,
    "recovered_detail_records": [],
    "recovered_fallback_records": [
      {
        "fallback_kind": "filled_contour",
        "fallback_reason": "unsupported_geometry",
        "kind": "path",
        "node_id": "node_000"
      }
    ],
    "recovered_strokes": 0,
    "recovered_symmetry_records": [],
    "stroke_detail_recovery": 1.0,
    "stroke_fallback_recovery": 1.0,
    "stroke_recovery": 1.0,
    "symmetry_recovery": 1.0
  },
  "topology_metrics": {
    "connected_components_actual": 1,
    "holes_actual": 0
  }
}