{
  "total_tests": 34,
  "total_passed": 17,
  "pass_rate": 50.0,
  "category_summary": {
    "Vietnamese Domain": {
      "total": 10,
      "pass": 5,
      "score_fail": 0,
      "dom_fail": 3,
      "contam_fail": 3,
      "kw_fail": 1
    },
    "English Semantic": {
      "total": 10,
      "pass": 3,
      "score_fail": 0,
      "dom_fail": 5,
      "contam_fail": 5,
      "kw_fail": 1
    },
    "Typos & Accents": {
      "total": 5,
      "pass": 3,
      "score_fail": 0,
      "dom_fail": 0,
      "contam_fail": 1,
      "kw_fail": 1
    },
    "Case Sensitivity": {
      "total": 3,
      "pass": 3,
      "score_fail": 0,
      "dom_fail": 0,
      "contam_fail": 0,
      "kw_fail": 0
    },
    "Long Prompts": {
      "total": 6,
      "pass": 3,
      "score_fail": 0,
      "dom_fail": 1,
      "contam_fail": 3,
      "kw_fail": 0
    }
  },
  "detailed_results": [
    {
      "id": "VN-01",
      "category": "Vietnamese Domain",
      "query": "quy tắc DSCons",
      "top1_score": 0.6188454375719157,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Testing & Quality: Deep Matrix Workflow D1-D6 on task.md] Mọi đợt tái cấu trúc lớn (Mass Refactoring) hoặc tính năng trên 10 files tại DSCons bắt buộc áp dụng quy trình Dee"
    },
    {
      "id": "VN-02",
      "category": "Vietnamese Domain",
      "query": "luật bất biến DSCons",
      "top1_score": 0.6520079230184006,
      "top1_is_dscons": true,
      "top3_dscons_count": 2,
      "kw_matched": true,
      "contaminations": [
        "Hit #3: Foreign contamination: 'freeexile'"
      ],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons Backend Architecture: Database Precision & Double-Entry Ledger] Trong CSDL PostgreSQL và mã nguồn Python của DSCons ERP, TUYỆT ĐỐI CẤM sử dụng kiểu FLOAT hoặc DOUBLE cho ti"
    },
    {
      "id": "VN-03",
      "category": "Vietnamese Domain",
      "query": "giao diện dark slate ERP",
      "top1_score": 0.7138852214779519,
      "top1_is_dscons": true,
      "top3_dscons_count": 2,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Frontend Theme: Dark Slate Design System & Palette] Giao diện DSCons ERP áp dụng chuẩn thiết kế Enterprise Dark Slate Theme: Màu nền chính #0b0f19 / #080d1a, thẻ/panel #111"
    },
    {
      "id": "VN-04",
      "category": "Vietnamese Domain",
      "query": "bảng màu frontend",
      "top1_score": 0.6411346973480425,
      "top1_is_dscons": false,
      "top3_dscons_count": 0,
      "kw_matched": true,
      "contaminations": [
        "Hit #3: Foreign contamination: 'freeexile', Foreign contamination: 'feral npc', Foreign contamination: 'dialogue hud'"
      ],
      "verdict": "FAIL",
      "top1_snippet": "2. Tuyệt đối cấm màu neon kẹo ngọt (tím chói, đỏ gắt, vàng chanh); bắt buộc dùng bảng màu xỉ sắt, tro tàn, đá phong hóa, ..."
    },
    {
      "id": "VN-05",
      "category": "Vietnamese Domain",
      "query": "kiến trúc backend lục giác",
      "top1_score": 0.6048825884312958,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Rule: Root Standards & 7 Core Laws] DSCons ERP tuân thủ tuyệt đối Bảy Điều luật cốt lõi bất biến: (1) Nghiêm cấm 100% dữ liệu ảo/mock synthetic data; (2) Hàng rào kiểm thử "
    },
    {
      "id": "VN-06",
      "category": "Vietnamese Domain",
      "query": "độ chính xác số thực database",
      "top1_score": 0.6187435706156815,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": false,
      "contaminations": [],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons Testing & Quality: Real Browser Automation Gate & AST Boundary] Toàn bộ tính năng UI/UX và mô hình bản vẽ/BIM bắt buộc kiểm thử trực tiếp trên trình duyệt thực tế (Real Bro"
    },
    {
      "id": "VN-07",
      "category": "Vietnamese Domain",
      "query": "định mức cừ larsen VL=0",
      "top1_score": 0.714693062127896,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons AEC Business: Circular 38 Larsen Pile Norms & Material Cost VL=0] Căn cứ Luật Xây dựng 2025/2026 và Thông tư 38: Công tác Thuê, Ép, Nhổ cừ thép Larsen IV hoặc thuê tôn chốn"
    },
    {
      "id": "VN-08",
      "category": "Vietnamese Domain",
      "query": "tỷ trọng MR/T",
      "top1_score": 0.6588097872198173,
      "top1_is_dscons": true,
      "top3_dscons_count": 1,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons AEC Business: Material Budget Ratio Sanity Gate MR/T] Hệ thống kiểm toán dự toán DSCons áp dụng Hàng rào kiểm soát tỷ trọng vật tư (Sanity Check Gate): Tổng chi phí vật tư "
    },
    {
      "id": "VN-09",
      "category": "Vietnamese Domain",
      "query": "bóc tách CAD TCVN3",
      "top1_score": 0.6332829914859256,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons AEC Business: CAD Takeoff Engine TCVN3 Decoding & Bounding Box] Engine bóc tách CAD DSCons giải mã chính xác byte font TCVN3/.VnTime/VNI, cố định stroke-width: 1px non-scal"
    },
    {
      "id": "VN-10",
      "category": "Vietnamese Domain",
      "query": "deep matrix task.md",
      "top1_score": 0.6971726345066176,
      "top1_is_dscons": true,
      "top3_dscons_count": 1,
      "kw_matched": true,
      "contaminations": [
        "Hit #2: Foreign contamination: 'freeexile'",
        "Hit #3: Foreign contamination: 'freeexile'"
      ],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons Testing & Quality: Deep Matrix Workflow D1-D6 on task.md] Mọi đợt tái cấu trúc lớn (Mass Refactoring) hoặc tính năng trên 10 files tại DSCons bắt buộc áp dụng quy trình Dee"
    },
    {
      "id": "EN-01",
      "category": "English Semantic",
      "query": "DSCons core rules",
      "top1_score": 0.6331627627634362,
      "top1_is_dscons": true,
      "top3_dscons_count": 2,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Rule: Root Standards & 7 Core Laws] DSCons ERP tuân thủ tuyệt đối Bảy Điều luật cốt lõi bất biến: (1) Nghiêm cấm 100% dữ liệu ảo/mock synthetic data; (2) Hàng rào kiểm thử "
    },
    {
      "id": "EN-02",
      "category": "English Semantic",
      "query": "immutable laws DSCons",
      "top1_score": 0.6220440363016848,
      "top1_is_dscons": true,
      "top3_dscons_count": 2,
      "kw_matched": true,
      "contaminations": [
        "Hit #3: Foreign contamination: 'freeexile'"
      ],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons Rule: Root Standards & 7 Core Laws] DSCons ERP tuân thủ tuyệt đối Bảy Điều luật cốt lõi bất biến: (1) Nghiêm cấm 100% dữ liệu ảo/mock synthetic data; (2) Hàng rào kiểm thử "
    },
    {
      "id": "EN-03",
      "category": "English Semantic",
      "query": "dark slate ERP UI",
      "top1_score": 0.6863319647866934,
      "top1_is_dscons": true,
      "top3_dscons_count": 2,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Frontend Theme: Dark Slate Design System & Palette] Giao diện DSCons ERP áp dụng chuẩn thiết kế Enterprise Dark Slate Theme: Màu nền chính #0b0f19 / #080d1a, thẻ/panel #111"
    },
    {
      "id": "EN-04",
      "category": "English Semantic",
      "query": "frontend color palette",
      "top1_score": 0.6075692099006953,
      "top1_is_dscons": true,
      "top3_dscons_count": 2,
      "kw_matched": false,
      "contaminations": [],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons Frontend Theme: High-Density Bloomberg Layout & Zero Sidebar Occlusion] Frontend DSCons tối ưu mật độ thông tin cao (Bloomberg/Palantir density): Paddings/gaps gọn gàng 8px"
    },
    {
      "id": "EN-05",
      "category": "English Semantic",
      "query": "hexagonal backend architecture",
      "top1_score": 0.7168428654193151,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Backend Architecture: 4-Layer Clean Architecture & DDD] Backend DSCons cấu trúc 4 tầng nghiêm ngặt: (1) Presentation (FastAPI Routers chỉ validate Pydantic schema và ủy quy"
    },
    {
      "id": "EN-06",
      "category": "English Semantic",
      "query": "database decimal precision",
      "top1_score": 0.6233956227548108,
      "top1_is_dscons": true,
      "top3_dscons_count": 1,
      "kw_matched": true,
      "contaminations": [
        "Hit #2: Foreign contamination: 'freeexile'",
        "Hit #3: Foreign contamination: 'freeexile'"
      ],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons Backend Architecture: Database Precision & Double-Entry Ledger] Trong CSDL PostgreSQL và mã nguồn Python của DSCons ERP, TUYỆT ĐỐI CẤM sử dụng kiểu FLOAT hoặc DOUBLE cho ti"
    },
    {
      "id": "EN-07",
      "category": "English Semantic",
      "query": "Larsen sheet pile circular 38 VL=0",
      "top1_score": 0.6781938045318612,
      "top1_is_dscons": true,
      "top3_dscons_count": 1,
      "kw_matched": true,
      "contaminations": [
        "Hit #2: Foreign contamination: 'freeexile'",
        "Hit #3: Foreign contamination: 'freeexile', Foreign contamination: 'cocos creator'"
      ],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons AEC Business: Circular 38 Larsen Pile Norms & Material Cost VL=0] Căn cứ Luật Xây dựng 2025/2026 và Thông tư 38: Công tác Thuê, Ép, Nhổ cừ thép Larsen IV hoặc thuê tôn chốn"
    },
    {
      "id": "EN-08",
      "category": "English Semantic",
      "query": "material budget ratio MR/T",
      "top1_score": 0.7057364669931648,
      "top1_is_dscons": true,
      "top3_dscons_count": 1,
      "kw_matched": true,
      "contaminations": [
        "Hit #2: Foreign contamination: 'freeexile'"
      ],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons AEC Business: Material Budget Ratio Sanity Gate MR/T] Hệ thống kiểm toán dự toán DSCons áp dụng Hàng rào kiểm soát tỷ trọng vật tư (Sanity Check Gate): Tổng chi phí vật tư "
    },
    {
      "id": "EN-09",
      "category": "English Semantic",
      "query": "CAD drawing takeoff TCVN3",
      "top1_score": 0.6553697107249155,
      "top1_is_dscons": true,
      "top3_dscons_count": 1,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons AEC Business: CAD Takeoff Engine TCVN3 Decoding & Bounding Box] Engine bóc tách CAD DSCons giải mã chính xác byte font TCVN3/.VnTime/VNI, cố định stroke-width: 1px non-scal"
    },
    {
      "id": "EN-10",
      "category": "English Semantic",
      "query": "deep matrix planning workflow",
      "top1_score": 0.662941248789432,
      "top1_is_dscons": true,
      "top3_dscons_count": 1,
      "kw_matched": true,
      "contaminations": [
        "Hit #2: Foreign contamination: 'freeexile'"
      ],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons Testing & Quality: Deep Matrix Workflow D1-D6 on task.md] Mọi đợt tái cấu trúc lớn (Mass Refactoring) hoặc tính năng trên 10 files tại DSCons bắt buộc áp dụng quy trình Dee"
    },
    {
      "id": "EDGE-TYPO-01",
      "category": "Typos & Accents",
      "query": "quy tac DSCOns",
      "top1_score": 0.622577820313769,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Testing & Quality: Deep Matrix Workflow D1-D6 on task.md] Mọi đợt tái cấu trúc lớn (Mass Refactoring) hoặc tính năng trên 10 files tại DSCons bắt buộc áp dụng quy trình Dee"
    },
    {
      "id": "EDGE-TYPO-02",
      "category": "Typos & Accents",
      "query": "giaodien darkslate ERP",
      "top1_score": 0.6171912857960371,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Frontend Theme: Dark Slate Design System & Palette] Giao diện DSCons ERP áp dụng chuẩn thiết kế Enterprise Dark Slate Theme: Màu nền chính #0b0f19 / #080d1a, thẻ/panel #111"
    },
    {
      "id": "EDGE-TYPO-03",
      "category": "Typos & Accents",
      "query": "kien truc backend luc giac",
      "top1_score": 0.5875104911030666,
      "top1_is_dscons": true,
      "top3_dscons_count": 2,
      "kw_matched": false,
      "contaminations": [],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons Backend Architecture: FastAPI Server Lifecycle & Hot-Reload] Máy chủ backend Uvicorn của DSCons ERP luôn được vận hành với cờ --reload (python -m uvicorn app.main:app --hos"
    },
    {
      "id": "EDGE-TYPO-04",
      "category": "Typos & Accents",
      "query": "dinh muc cu larsen VL=0",
      "top1_score": 0.625237566837652,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons AEC Business: Circular 38 Larsen Pile Norms & Material Cost VL=0] Căn cứ Luật Xây dựng 2025/2026 và Thông tư 38: Công tác Thuê, Ép, Nhổ cừ thép Larsen IV hoặc thuê tôn chốn"
    },
    {
      "id": "EDGE-TYPO-05",
      "category": "Typos & Accents",
      "query": "boc tach CAD TCVN3",
      "top1_score": 0.6032938335747604,
      "top1_is_dscons": true,
      "top3_dscons_count": 2,
      "kw_matched": true,
      "contaminations": [
        "Hit #3: Foreign contamination: 'freeexile'"
      ],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons AEC Business: CAD Takeoff Engine TCVN3 Decoding & Bounding Box] Engine bóc tách CAD DSCons giải mã chính xác byte font TCVN3/.VnTime/VNI, cố định stroke-width: 1px non-scal"
    },
    {
      "id": "EDGE-CASE-01",
      "category": "Case Sensitivity",
      "query": "DSCONS RULE",
      "top1_score": 0.6445381679445934,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Frontend Theme: Dark Slate Design System & Palette] Giao diện DSCons ERP áp dụng chuẩn thiết kế Enterprise Dark Slate Theme: Màu nền chính #0b0f19 / #080d1a, thẻ/panel #111"
    },
    {
      "id": "EDGE-CASE-02",
      "category": "Case Sensitivity",
      "query": "QuY TắC DsCoNs",
      "top1_score": 0.6188454375719157,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Testing & Quality: Deep Matrix Workflow D1-D6 on task.md] Mọi đợt tái cấu trúc lớn (Mass Refactoring) hoặc tính năng trên 10 files tại DSCons bắt buộc áp dụng quy trình Dee"
    },
    {
      "id": "EDGE-CASE-03",
      "category": "Case Sensitivity",
      "query": "FRONTEND THEME DARK SLATE",
      "top1_score": 0.7037002109271002,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Frontend Theme: Dark Slate Design System & Palette] Giao diện DSCons ERP áp dụng chuẩn thiết kế Enterprise Dark Slate Theme: Màu nền chính #0b0f19 / #080d1a, thẻ/panel #111"
    },
    {
      "id": "LONG-01",
      "category": "Long Prompts",
      "query": "Tôi muốn biết quy tắc bất biến về ranh giới kiến trúc lục giác DDD và cấm raw SQL trong router của DSCons ERP",
      "top1_score": 0.6930217525206367,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Rule: Hexagonal Architecture & Boundary Enforcement] Hệ thống DSCons ERP áp dụng kiến trúc lục giác DDD (Ports and Adapters). CẤM TUYỆT ĐỐI viết raw SQL, câu lệnh DDL hoặc "
    },
    {
      "id": "LONG-02",
      "category": "Long Prompts",
      "query": "Quy định về việc sử dụng kiểu dữ liệu NUMERIC(18, 4) và nguyên tắc ghi sổ kép cho tài chính kế toán tại DSCons",
      "top1_score": 0.7120718566846682,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons Backend Architecture: Database Precision & Double-Entry Ledger] Trong CSDL PostgreSQL và mã nguồn Python của DSCons ERP, TUYỆT ĐỐI CẤM sử dụng kiểu FLOAT hoặc DOUBLE cho ti"
    },
    {
      "id": "LONG-03",
      "category": "Long Prompts",
      "query": "Cho tôi biết hướng dẫn thiết kế giao diện Dark Slate và màu sắc chuẩn của công ty Định Sơn",
      "top1_score": 0.6768691575699757,
      "top1_is_dscons": true,
      "top3_dscons_count": 2,
      "kw_matched": true,
      "contaminations": [
        "Hit #3: Foreign contamination: 'freeexile'"
      ],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons Frontend Theme: Dark Slate Design System & Palette] Giao diện DSCons ERP áp dụng chuẩn thiết kế Enterprise Dark Slate Theme: Màu nền chính #0b0f19 / #080d1a, thẻ/panel #111"
    },
    {
      "id": "LONG-04",
      "category": "Long Prompts",
      "query": "Cách tính định mức cừ Larsen theo Thông tư 38 và tỷ trọng ngân sách vật tư MR trên T",
      "top1_score": 0.6938201255394416,
      "top1_is_dscons": true,
      "top3_dscons_count": 3,
      "kw_matched": true,
      "contaminations": [],
      "verdict": "PASS",
      "top1_snippet": "[DSCons AEC Business: Circular 38 Larsen Pile Norms & Material Cost VL=0] Căn cứ Luật Xây dựng 2025/2026 và Thông tư 38: Công tác Thuê, Ép, Nhổ cừ thép Larsen IV hoặc thuê tôn chốn"
    },
    {
      "id": "LONG-05",
      "category": "Long Prompts",
      "query": "Quy chuẩn bóc tách bản vẽ kỹ thuật CAD giải mã phông chữ tiếng Việt TCVN3 và cắt khung Bounding Box",
      "top1_score": 0.6731269570541134,
      "top1_is_dscons": true,
      "top3_dscons_count": 2,
      "kw_matched": true,
      "contaminations": [
        "Hit #2: Foreign contamination: 'freeexile'"
      ],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons AEC Business: CAD Takeoff Engine TCVN3 Decoding & Bounding Box] Engine bóc tách CAD DSCons giải mã chính xác byte font TCVN3/.VnTime/VNI, cố định stroke-width: 1px non-scal"
    },
    {
      "id": "LONG-06",
      "category": "Long Prompts",
      "query": "Quy trình lập kế hoạch đa tầng Deep Matrix D1 đến D6 trên task.md và giao thức TDD khép kín",
      "top1_score": 0.6996126231348069,
      "top1_is_dscons": true,
      "top3_dscons_count": 1,
      "kw_matched": true,
      "contaminations": [
        "Hit #2: Foreign contamination: 'cocos creator'",
        "Hit #3: Foreign contamination: 'freeexile'"
      ],
      "verdict": "FAIL",
      "top1_snippet": "[DSCons Testing & Quality: Deep Matrix Workflow D1-D6 on task.md] Mọi đợt tái cấu trúc lớn (Mass Refactoring) hoặc tính năng trên 10 files tại DSCons bắt buộc áp dụng quy trình Dee"
    }
  ]
}