{
  "suite": "ai-evaluation-ch06-rie-eval-v0.6-rag-alce-and-vlm-teds",
  "environment": {
    "python": "3.13.16",
    "torch": "2.14.1+cu130",
    "transformers": "5.22.1",
    "device": "cuda",
    "gpu": {
      "name": "NVIDIA L4",
      "total_memory_mib": 22563.1,
      "compute_capability": "sm_89"
    }
  },
  "total_elapsed_sec": 175.25,
  "teds_and_giou_scratch_verification": {
    "zhang_shasha_vs_oracle_max_err": 0.0,
    "swapped_cells_bag_token_f1": 1.0,
    "swapped_cells_teds": 0.3552,
    "shifted_col_grid_em": 0.3333,
    "shifted_col_teds": 0.8824,
    "disjoint_near_miss_giou": -0.047619,
    "disjoint_far_miss_giou": -0.933333
  },
  "retrieval_and_alce_scratch_verification": {
    "ndcg_exact_err": 0.0,
    "naive_chunk_damage_rate": 1.0,
    "ast_chunk_damage_rate": 0.0,
    "alce_unit_precision": 0.6,
    "alce_unit_recall": 0.5
  },
  "rag_quartet_and_alce_audit": {
    "dataset_sha256": "936168a2c4d69ecbb7ab3312b5f4d4c84d6b4ae5286f5b0c719e10e275a22d82",
    "elapsed_sec": 8.59,
    "unit_math_verification": {
      "ndcg_exact_err": 0.0,
      "naive_chunk_damage_rate": 1.0,
      "ast_chunk_damage_rate": 0.0,
      "alce_unit_precision": 0.6,
      "alce_unit_recall": 0.5
    },
    "chunking_integrity_comparison": {
      "naive_fixed_char_150": {
        "n_chunks": 6,
        "structural_damage_rate": 0.8333,
        "broken_code_fence_count": 4,
        "broken_display_math_count": 2,
        "orphan_table_fragment_count": 0,
        "missing_breadcrumb_rate": 0.5
      },
      "markdown_ast_240": {
        "n_chunks": 4,
        "structural_damage_rate": 0.0,
        "broken_code_fence_count": 0,
        "broken_display_math_count": 0,
        "orphan_table_fragment_count": 0,
        "missing_breadcrumb_rate": 0.0
      }
    },
    "rag_quartet_attribution": {
      "n_traces": 36,
      "diagnostic_prescription_accuracy": 1.0,
      "total_phantom_citations_caught": 24,
      "total_redundant_citations_caught": 12,
      "by_failure_mode": {
        "healthy_rag": {
          "count": 6,
          "context_precision": 1.0,
          "context_recall": 1.0,
          "faithfulness": 1.0,
          "answer_relevance": 1.0,
          "alce_citation_precision": 1.0,
          "alce_citation_recall": 1.0,
          "alce_citation_f1": 1.0,
          "dominant_prescription": "HEALTHY_PASS"
        },
        "retriever_miss_chunk_split": {
          "count": 6,
          "context_precision": 0.0,
          "context_recall": 0.0,
          "faithfulness": 0.0,
          "answer_relevance": 0.85,
          "alce_citation_precision": 0.0,
          "alce_citation_recall": 0.0,
          "alce_citation_f1": 0.0,
          "dominant_prescription": "FIX_CHUNKER_OR_RETRIEVER"
        },
        "reranker_distractor_buried": {
          "count": 6,
          "context_precision": 0.25,
          "context_recall": 1.0,
          "faithfulness": 1.0,
          "answer_relevance": 1.0,
          "alce_citation_precision": 1.0,
          "alce_citation_recall": 1.0,
          "alce_citation_f1": 1.0,
          "dominant_prescription": "ADD_CROSS_ENCODER_RERANKER"
        },
        "generator_extrinsic_hallucination": {
          "count": 6,
          "context_precision": 1.0,
          "context_recall": 1.0,
          "faithfulness": 0.5,
          "answer_relevance": 0.85,
          "alce_citation_precision": 0.5,
          "alce_citation_recall": 0.5,
          "alce_citation_f1": 0.5,
          "dominant_prescription": "TIGHTEN_GROUNDING_DECODING"
        },
        "generator_evasive_non_answer": {
          "count": 6,
          "context_precision": 1.0,
          "context_recall": 1.0,
          "faithfulness": 1.0,
          "answer_relevance": 0.0,
          "alce_citation_precision": 1.0,
          "alce_citation_recall": 1.0,
          "alce_citation_f1": 1.0,
          "dominant_prescription": "FIX_QUERY_INTENT_ROUTING"
        },
        "citation_phantom_and_padding": {
          "count": 6,
          "context_precision": 1.0,
          "context_recall": 1.0,
          "faithfulness": 1.0,
          "answer_relevance": 1.0,
          "alce_citation_precision": 0.2,
          "alce_citation_recall": 0.5,
          "alce_citation_f1": 0.2857,
          "dominant_prescription": "FIX_CITATION_BINDING"
        }
      }
    }
  },
  "multimodal_vlm_audit": {
    "model_id": "Qwen/Qwen2.5-VL-3B-Instruct",
    "spec_sha256": "887e9e80c4719526b7bec3468768df7ea9cb6adc0e4b0d06d82f99b0b04d7eba",
    "canvas_size_px": [
      840,
      560
    ],
    "qwen25_vl_image_grid_thw": [
      1,
      40,
      60
    ],
    "elapsed_sec": 165.61,
    "pope_hallucination_audit": {
      "direct_all": {
        "n": 72,
        "accuracy": 0.8889,
        "precision": 1.0,
        "recall": 0.7778,
        "f1": 0.875,
        "yes_ratio": 0.3889,
        "false_positive_count": 0
      },
      "grounded_all": {
        "n": 72,
        "accuracy": 0.9028,
        "precision": 1.0,
        "recall": 0.8056,
        "f1": 0.8923,
        "yes_ratio": 0.4028,
        "false_positive_count": 0
      },
      "direct_random": {
        "n": 36,
        "accuracy": 0.8611,
        "precision": 1.0,
        "recall": 0.7917,
        "f1": 0.8837,
        "yes_ratio": 0.5278,
        "false_positive_count": 0
      },
      "direct_popular": {
        "n": 36,
        "accuracy": 0.8611,
        "precision": 1.0,
        "recall": 0.7917,
        "f1": 0.8837,
        "yes_ratio": 0.5278,
        "false_positive_count": 0
      },
      "direct_adversarial": {
        "n": 24,
        "accuracy": 0.875,
        "precision": 1.0,
        "recall": 0.75,
        "f1": 0.8571,
        "yes_ratio": 0.375,
        "false_positive_count": 0
      },
      "grounded_adversarial": {
        "n": 24,
        "accuracy": 0.875,
        "precision": 1.0,
        "recall": 0.75,
        "f1": 0.8571,
        "yes_ratio": 0.375,
        "false_positive_count": 0
      }
    },
    "table_ocr_teds_audit": {
      "n_tables": 8,
      "hd_mean_teds": 0.8931,
      "hd_mean_teds_struct": 0.9287,
      "hd_mean_numeric_recall": 1.0,
      "degraded_scan_mean_teds": 0.9083,
      "degraded_scan_mean_teds_struct": 0.9222,
      "degraded_scan_mean_numeric_recall": 1.0,
      "per_table": [
        {
          "id": "tbl_01_hd",
          "degraded": false,
          "teds": 0.8696,
          "teds_struct": 0.913,
          "grid_coord_em": 0.8333,
          "bag_token_f1": 0.9787,
          "numeric_cell_recall": 1.0
        },
        {
          "id": "tbl_02_hd",
          "degraded": false,
          "teds": 0.8696,
          "teds_struct": 0.913,
          "grid_coord_em": 0.8333,
          "bag_token_f1": 0.9744,
          "numeric_cell_recall": 1.0
        },
        {
          "id": "tbl_03_hd",
          "degraded": false,
          "teds": 1.0,
          "teds_struct": 1.0,
          "grid_coord_em": 1.0,
          "bag_token_f1": 1.0,
          "numeric_cell_recall": 1.0
        },
        {
          "id": "tbl_04_hd",
          "degraded": false,
          "teds": 0.8333,
          "teds_struct": 0.8889,
          "grid_coord_em": 0.7857,
          "bag_token_f1": 0.9714,
          "numeric_cell_recall": 1.0
        },
        {
          "id": "tbl_01_scan",
          "degraded": true,
          "teds": 1.0,
          "teds_struct": 1.0,
          "grid_coord_em": 1.0,
          "bag_token_f1": 1.0,
          "numeric_cell_recall": 1.0
        },
        {
          "id": "tbl_02_scan",
          "degraded": true,
          "teds": 0.8,
          "teds_struct": 0.8,
          "grid_coord_em": 0.65,
          "bag_token_f1": 1.0,
          "numeric_cell_recall": 1.0
        },
        {
          "id": "tbl_03_scan",
          "degraded": true,
          "teds": 1.0,
          "teds_struct": 1.0,
          "grid_coord_em": 1.0,
          "bag_token_f1": 1.0,
          "numeric_cell_recall": 1.0
        },
        {
          "id": "tbl_04_scan",
          "degraded": true,
          "teds": 0.8333,
          "teds_struct": 0.8889,
          "grid_coord_em": 0.7857,
          "bag_token_f1": 0.9714,
          "numeric_cell_recall": 1.0
        }
      ]
    },
    "visual_grounding_audit": {
      "n_targets": 8,
      "native_pixel_mean_iou": 0.743,
      "native_pixel_mean_giou": 0.7381,
      "native_acc_at_iou_50": 1.0,
      "native_acc_at_iou_75": 0.625,
      "misconfigured_1000norm_mean_iou": 0.1064,
      "misconfigured_1000norm_acc_at_iou_50": 0.0
    }
  }
}
