{
  "schemaVersion": 2,
  "caseId": "PW-A01",
  "caseVersion": "1.1.0",
  "purpose": "Caso sintético para medir qué texto y qué estructura produce la conversión local de PDF a Word.",
  "generator": {
    "file": "scripts/generate-pdf-a-word-article-case.mjs",
    "version": "1.1.0",
    "deterministic": true
  },
  "artifacts": {
    "inputPdf": {
      "file": "articulo-pdf-a-word-caso.pdf",
      "mediaType": "application/pdf",
      "bytes": 6269,
      "sha256": "43ecb3616c0cacf9f5752fd410f4377f032de128088b9ac5f18f1e3be27cbe31",
      "pages": 3,
      "pageBoxesPoints": [
        [
          612,
          792
        ],
        [
          612,
          792
        ],
        [
          612,
          792
        ]
      ]
    },
    "truth": {
      "file": "articulo-pdf-a-word-verdad.txt",
      "mediaType": "text/plain; charset=utf-8",
      "bytes": 1300,
      "sha256": "da66a5662129410228cc83389ca936a3e210f88f23de4eea2c354ca094fce6c3",
      "lineEnding": "LF"
    }
  },
  "targetRuntime": {
    "route": "/pdf-a-word",
    "pdfjs": "6.1.200",
    "docx": "9.7.1"
  },
  "coordinateSystem": "PDF points; origin at bottom-left",
  "layout": [
    {
      "page": 1,
      "mediaBox": [
        0,
        0,
        612,
        792
      ],
      "elements": [
        {
          "id": "p1-header",
          "role": "visual-header",
          "text": "PW-A01 · ENCABEZADO · PÁGINA 1 DE 3",
          "x": 54,
          "y": 754,
          "font": "F1",
          "size": 9
        },
        {
          "id": "p1-title",
          "role": "title",
          "text": "PW-A01 — INFORME SINTÉTICO",
          "x": 54,
          "y": 690,
          "font": "F2",
          "size": 22
        },
        {
          "id": "p1-line-1",
          "role": "body",
          "text": "Documento ficticio para comprobar extracción de texto.",
          "x": 54,
          "y": 640,
          "font": "F1",
          "size": 12
        },
        {
          "id": "p1-line-2",
          "role": "body",
          "text": "Revisión técnica: información útil, año 2026.",
          "x": 54,
          "y": 610,
          "font": "F1",
          "size": 12
        },
        {
          "id": "p1-line-3",
          "role": "body",
          "text": "Fecha ficticia estable: 2026-01-15.",
          "x": 54,
          "y": 580,
          "font": "F1",
          "size": 12
        },
        {
          "id": "p1-unicode",
          "role": "unicode-control",
          "text": "Caracteres: á é í ó ú · Á É Í Ó Ú · ñ Ñ · ü · ¿? · ¡! · ©",
          "x": 54,
          "y": 530,
          "font": "F1",
          "size": 12
        },
        {
          "id": "p1-marker",
          "role": "marker",
          "text": "MARCADOR PW-A01-P1-UNICODE",
          "x": 54,
          "y": 470,
          "font": "F2",
          "size": 12
        },
        {
          "id": "p1-footer",
          "role": "visual-footer",
          "text": "PW-A01 · PIE · CONTROL 01",
          "x": 54,
          "y": 30,
          "font": "F1",
          "size": 9
        }
      ]
    },
    {
      "page": 2,
      "mediaBox": [
        0,
        0,
        612,
        792
      ],
      "elements": [
        {
          "id": "p2-header",
          "role": "visual-header",
          "text": "PW-A01 · ENCABEZADO · PÁGINA 2 DE 3",
          "x": 54,
          "y": 754,
          "font": "F1",
          "size": 9
        },
        {
          "id": "p2-title",
          "role": "title",
          "text": "PW-A01 — DOS COLUMNAS",
          "x": 54,
          "y": 690,
          "font": "F2",
          "size": 22
        },
        {
          "id": "p2-column-a-label",
          "role": "column-label",
          "text": "COLUMNA A",
          "x": 54,
          "y": 650,
          "font": "F2",
          "size": 12
        },
        {
          "id": "p2-column-b-label",
          "role": "column-label",
          "text": "COLUMNA B",
          "x": 330,
          "y": 650,
          "font": "F2",
          "size": 12
        },
        {
          "id": "p2-a1",
          "role": "column-a",
          "text": "A1 · Inicio de columna izquierda",
          "x": 54,
          "y": 610,
          "font": "F1",
          "size": 11
        },
        {
          "id": "p2-b1",
          "role": "column-b",
          "text": "B1 · Inicio de columna derecha",
          "x": 330,
          "y": 610,
          "font": "F1",
          "size": 11
        },
        {
          "id": "p2-a2",
          "role": "column-a",
          "text": "A2 · Lectura vertical izquierda",
          "x": 54,
          "y": 570,
          "font": "F1",
          "size": 11
        },
        {
          "id": "p2-b2",
          "role": "column-b",
          "text": "B2 · Lectura vertical derecha",
          "x": 330,
          "y": 570,
          "font": "F1",
          "size": 11
        },
        {
          "id": "p2-a3",
          "role": "column-a",
          "text": "A3 · Fin de columna izquierda",
          "x": 54,
          "y": 530,
          "font": "F1",
          "size": 11
        },
        {
          "id": "p2-b3",
          "role": "column-b",
          "text": "B3 · Fin de columna derecha",
          "x": 330,
          "y": 530,
          "font": "F1",
          "size": 11
        },
        {
          "id": "p2-marker",
          "role": "marker",
          "text": "MARCADOR PW-A01-P2-COLUMNAS",
          "x": 54,
          "y": 460,
          "font": "F2",
          "size": 12
        },
        {
          "id": "p2-footer",
          "role": "visual-footer",
          "text": "PW-A01 · PIE · CONTROL 02",
          "x": 54,
          "y": 30,
          "font": "F1",
          "size": 9
        }
      ]
    },
    {
      "page": 3,
      "mediaBox": [
        0,
        0,
        612,
        792
      ],
      "elements": [
        {
          "id": "p3-header",
          "role": "visual-header",
          "text": "PW-A01 · ENCABEZADO · PÁGINA 3 DE 3",
          "x": 54,
          "y": 754,
          "font": "F1",
          "size": 9
        },
        {
          "id": "p3-title",
          "role": "title",
          "text": "PW-A01 — PSEUDOTABLA",
          "x": 54,
          "y": 690,
          "font": "F2",
          "size": 22
        },
        {
          "id": "p3-h1",
          "role": "pseudo-table-header",
          "text": "Código",
          "x": 66,
          "y": 622,
          "font": "F2",
          "size": 11
        },
        {
          "id": "p3-h2",
          "role": "pseudo-table-header",
          "text": "Cantidad",
          "x": 234,
          "y": 622,
          "font": "F2",
          "size": 11
        },
        {
          "id": "p3-h3",
          "role": "pseudo-table-header",
          "text": "Estado",
          "x": 402,
          "y": 622,
          "font": "F2",
          "size": 11
        },
        {
          "id": "p3-r1c1",
          "role": "pseudo-table-cell",
          "text": "PW-01",
          "x": 66,
          "y": 578,
          "font": "F1",
          "size": 11
        },
        {
          "id": "p3-r1c2",
          "role": "pseudo-table-cell",
          "text": "3",
          "x": 234,
          "y": 578,
          "font": "F1",
          "size": 11
        },
        {
          "id": "p3-r1c3",
          "role": "pseudo-table-cell",
          "text": "válido",
          "x": 402,
          "y": 578,
          "font": "F1",
          "size": 11
        },
        {
          "id": "p3-r2c1",
          "role": "pseudo-table-cell",
          "text": "PW-02",
          "x": 66,
          "y": 534,
          "font": "F1",
          "size": 11
        },
        {
          "id": "p3-r2c2",
          "role": "pseudo-table-cell",
          "text": "7",
          "x": 234,
          "y": 534,
          "font": "F1",
          "size": 11
        },
        {
          "id": "p3-r2c3",
          "role": "pseudo-table-cell",
          "text": "revisión",
          "x": 402,
          "y": 534,
          "font": "F1",
          "size": 11
        },
        {
          "id": "p3-marker",
          "role": "marker",
          "text": "MARCADOR PW-A01-P3-PSEUDOTABLA",
          "x": 54,
          "y": 460,
          "font": "F2",
          "size": 12
        },
        {
          "id": "p3-footer",
          "role": "visual-footer",
          "text": "PW-A01 · PIE · CONTROL 03",
          "x": 54,
          "y": 30,
          "font": "F1",
          "size": 9
        }
      ],
      "pseudoTableGrid": {
        "columns": 3,
        "rows": 3,
        "x": [
          54,
          222,
          390,
          558
        ],
        "y": [
          650,
          606,
          562,
          518
        ]
      }
    }
  ],
  "markers": [
    {
      "page": 1,
      "header": "PW-A01 · ENCABEZADO · PÁGINA 1 DE 3",
      "footer": "PW-A01 · PIE · CONTROL 01",
      "unique": "MARCADOR PW-A01-P1-UNICODE"
    },
    {
      "page": 2,
      "header": "PW-A01 · ENCABEZADO · PÁGINA 2 DE 3",
      "footer": "PW-A01 · PIE · CONTROL 02",
      "unique": "MARCADOR PW-A01-P2-COLUMNAS"
    },
    {
      "page": 3,
      "header": "PW-A01 · ENCABEZADO · PÁGINA 3 DE 3",
      "footer": "PW-A01 · PIE · CONTROL 03",
      "unique": "MARCADOR PW-A01-P3-PSEUDOTABLA"
    }
  ],
  "expectedVisualOrder": {
    "page1": "top-to-bottom",
    "page2": [
      "A1",
      "A2",
      "A3",
      "B1",
      "B2",
      "B3"
    ],
    "page3": [
      "Código",
      "Cantidad",
      "Estado",
      "PW-01",
      "3",
      "válido",
      "PW-02",
      "7",
      "revisión"
    ]
  },
  "expectedInvariants": {
    "pagesRead": 3,
    "expectedPageBreaks": 2,
    "selectableText": true,
    "semanticTableInSource": false,
    "containsImages": false,
    "containsPersonalData": false
  },
  "observedConversion": {
    "status": "verified",
    "scope": "Resultado específico de PW-A01; no constituye una garantía para otros archivos PDF.",
    "execution": {
      "runId": "20261110T104417",
      "executedAt": "2026-11-10T15:44:17.000Z",
      "evidence": ".qa-artifacts/phase4c12/pw-a01/20261110T104417/"
    },
    "runtimeLibraries": {
      "pdfjs": "6.1.200",
      "docx": "9.7.1"
    },
    "browsers": [
      {
        "project": "chromium",
        "product": "Chromium",
        "version": "156.0.8078.4",
        "docx": {
          "bytes": 9140,
          "sha256": "38d9dfed68bf2c42e423c18676b7e34ef16a96fad11826bc2c61b902ee4cbabb"
        }
      },
      {
        "project": "edge",
        "product": "Microsoft Edge",
        "version": "156.0.4314.58",
        "docx": {
          "bytes": 9145,
          "sha256": "2c8853a49359aa0cce547fcb12f66bf91b0ecd825f3be404924a51ad8176aba2"
        }
      },
      {
        "project": "brave",
        "product": "Brave",
        "version": "157.0.8103.39",
        "docx": {
          "bytes": 9141,
          "sha256": "5f02ef378db9a1b2f08ec8f5fc0b2801392be58f6faf51a1a5b89c4236771fe7"
        }
      }
    ],
    "openXml": {
      "zipEntries": 22,
      "paragraphs": 25,
      "textNodes": 23,
      "pageBreaks": 2,
      "tables": 0,
      "columns": 0,
      "semanticHeaderParts": 0,
      "semanticFooterParts": 0,
      "visualHeadersAndFootersAsOrdinaryText": true,
      "unicodePreserved": true,
      "columnOrder": [
        "A1",
        "B1",
        "A2",
        "B2",
        "A3",
        "B3"
      ],
      "pseudoTableParagraphs": [
        "Código Cantidad Estado",
        "PW-01 3 válido",
        "PW-02 7 revisión"
      ],
      "documentXml": {
        "bytes": 8094,
        "sha256": "18deb495931e6362f7c5cf370ddca588f1e05abbb960a6b0d01e6446a2945687"
      }
    }
  },
  "experimentLimitations": [
    "Las mediciones describen únicamente PW-A01, la ejecución indicada y las versiones registradas.",
    "Chromium, Microsoft Edge y Brave son productos distintos que comparten el motor Chromium.",
    "Las columnas visuales y la pseudotabla se recuperan como texto ordinario, no como estructura semántica Word.",
    "Los hashes del DOCX completo son específicos de cada ejecución porque docProps/core.xml contiene marcas temporales."
  ],
  "privacy": {
    "classification": "synthetic-test-data",
    "containsPersonalData": false
  }
}
