{
  "run_id": "1778063093359-pdf",
  "generated_at": "2026-05-06T10:31:32.360329+00:00",
  "overall_score": 89.8,
  "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": 72.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/rcr (table exists, seed missing)",
        "cfg_asn_lifecycle_status/create (table exists, seed missing)"
      ]
    },
    "rule_constraint_coverage": {
      "covered": 7,
      "expected": 7,
      "missing": []
    },
    "visual_fidelity": {
      "covered": 2,
      "expected": 2,
      "missing": []
    },
    "mantara_validation_pass": {
      "errors": 7,
      "step5_errors": 7,
      "upstream_errors": 0,
      "weighted_errors": 7.0,
      "is_valid": false,
      "sample_errors": [
        "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.",
        "Menu 'Configuration' has 16 submenus \u2014 consider splitting into multiple menus (target 2-6 per menu).",
        "CFG-FK NEEDED: Table 'users_history'.change_type uses VARCHAR(30) for an enumerable field. v8: rename to 'change_type_id INT' with REFERENCES cfg_change_type(change_type_id)."
      ]
    },
    "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": 27,
        "cfg_tables": 6,
        "fk_to_cfg": 6,
        "index_count": 135,
        "fully_audited": 0,
        "check_count": 5,
        "comment_count": 35
      }
    }
  },
  "ai_metrics": {
    "extraction_completeness_pct": 100.0,
    "artifact_validity_pct": 100.0,
    "schema_validity_pct": 72.0,
    "qa_pass_rate_pct": 71.43,
    "retry_success_rate_pct": 0.0,
    "manual_intervention_rate_pct": 38.1,
    "step_compatibility_pct": 100.0,
    "confidence_score": 0.898
  },
  "mantara_status": "ok",
  "mantara_repair_attempts": 3,
  "mantara_cost_usd": 0.949405,
  "duration_seconds": 260.25
}