{
  "run_id": "1778061157939-pdf",
  "generated_at": "2026-05-06T09:57:35.799020+00:00",
  "overall_score": 87.4,
  "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": 56.0,
    "benchmark_format_compliance": 80.0
  },
  "details": {
    "schema_completeness": {
      "covered": 7,
      "expected": 7,
      "missing": []
    },
    "entity_coverage": {
      "covered": 15,
      "expected": 15,
      "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": 7,
      "expected": 7,
      "missing": []
    },
    "visual_fidelity": {
      "covered": 2,
      "expected": 2,
      "missing": []
    },
    "mantara_validation_pass": {
      "errors": 11,
      "step5_errors": 11,
      "upstream_errors": 0,
      "weighted_errors": 11.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 '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.",
        "Table 'permissions_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": 18,
        "cfg_tables": 6,
        "fk_to_cfg": 6,
        "index_count": 108,
        "fully_audited": 0,
        "check_count": 6,
        "comment_count": 26
      }
    }
  },
  "ai_metrics": {
    "extraction_completeness_pct": 100.0,
    "artifact_validity_pct": 100.0,
    "schema_validity_pct": 56.0,
    "qa_pass_rate_pct": 71.43,
    "retry_success_rate_pct": 0.0,
    "manual_intervention_rate_pct": 36.36,
    "step_compatibility_pct": 100.0,
    "confidence_score": 0.874
  },
  "mantara_status": "ok",
  "mantara_repair_attempts": 3,
  "mantara_cost_usd": 0.920832,
  "duration_seconds": 158.81
}