{
  "run_id": "1778062072309-pdf",
  "generated_at": "2026-05-06T10:13:08.398509+00:00",
  "overall_score": 86.2,
  "sub_scores": {
    "schema_completeness": 100.0,
    "entity_coverage": 100.0,
    "state_seed_coverage": 90.0,
    "rule_constraint_coverage": 100.0,
    "visual_fidelity": 100.0,
    "mantara_validation_pass": 48.0,
    "benchmark_format_compliance": 80.0
  },
  "details": {
    "schema_completeness": {
      "covered": 6,
      "expected": 6,
      "missing": []
    },
    "entity_coverage": {
      "covered": 14,
      "expected": 14,
      "missing": []
    },
    "state_seed_coverage": {
      "covered": 9.0,
      "expected": 10,
      "missing": [
        "cfg_asn_lifecycle_status/create (table exists, seed missing)",
        "cfg_asn_lifecycle_status/rcr (table exists, seed missing)"
      ]
    },
    "rule_constraint_coverage": {
      "covered": 6,
      "expected": 6,
      "missing": []
    },
    "visual_fidelity": {
      "covered": 2,
      "expected": 2,
      "missing": []
    },
    "mantara_validation_pass": {
      "errors": 13,
      "step5_errors": 13,
      "upstream_errors": 0,
      "weighted_errors": 13.0,
      "is_valid": false,
      "sample_errors": [
        "Table 'advanced_shipment_notice_history'.change_type: uses VARCHAR(30) for an enumerable field. v8 requires renaming to 'change_type_id INT' with FK to a 'cfg_change_type' lookup table.",
        "Table 'supplier_history'.change_type: uses VARCHAR(30) for an enumerable field. v8 requires renaming to 'change_type_id INT' with FK to a 'cfg_change_type' lookup table.",
        "Table 'order_history'.change_type: uses VARCHAR(30) for an enumerable field. v8 requires renaming to 'change_type_id INT' with FK to a 'cfg_change_type' lookup table.",
        "Table 'users_history'.change_type: uses VARCHAR(30) for an enumerable field. v8 requires renaming to 'change_type_id INT' with FK to a 'cfg_change_type' lookup table.",
        "Table 'roles_history'.change_type: uses VARCHAR(30) for an enumerable field. v8 requires renaming to 'change_type_id INT' with FK to a 'cfg_change_type' lookup table."
      ]
    },
    "benchmark_format_compliance": {
      "fk_density_score": 100.0,
      "idx_score": 100.0,
      "audit_score": 0.0,
      "check_score": 100.0,
      "comment_score": 100.0,
      "raw": {
        "business_tables": 24,
        "cfg_tables": 6,
        "fk_to_cfg": 6,
        "index_count": 135,
        "fully_audited": 0,
        "check_count": 8,
        "comment_count": 32
      }
    }
  },
  "ai_metrics": {
    "extraction_completeness_pct": 100.0,
    "artifact_validity_pct": 100.0,
    "schema_validity_pct": 48.0,
    "qa_pass_rate_pct": 71.43,
    "retry_success_rate_pct": 0.0,
    "manual_intervention_rate_pct": 40.0,
    "step_compatibility_pct": 100.0,
    "confidence_score": 0.862
  },
  "mantara_status": "ok",
  "mantara_repair_attempts": 3,
  "mantara_cost_usd": 0.825286,
  "duration_seconds": 172.77
}