{
  "provenance": {
    "inputs_sha256": "41b7d2202704308e00dae3be8d42da93b20c9aa447ba7295eb9d17b319b490bd",
    "readings_sha256": "b4918c150cb448614f0e6b0009ccd810ea18d861cb91ca232e299efc8d07050a",
    "table_sha256": "448d3ff74f428758ef59f0bc0d7e87b8892273f838fc46915491696791b631aa",
    "source_size": [
      1683,
      1190
    ],
    "policy_sha256": "9a7280d5e52a78249926f339fe0efc51e5d64a8acb8242f08b6189123ba53795",
    "rules_code_sha256": "26fa2d606bcc55e24b2598dff1306a5d2a613cfdc4e66d62d8d4f6c1f1ed0bd1",
    "source_fingerprints": {
      "drawing_sha256": "1c2788d63b65944ceabf5245cabbf1e843dbafaff235f1ca1c1cab5efc96b19f",
      "tolerance_sha256": "0c3789fa8b05a8e603c08649b4fe17f088d42c4107ff36a8dc7c25fcb733e3ac",
      "pairs_sha256": "9f1a9db2df9a9eaacce47211b218d924dfcc04168f2a89e88c2303f701ee0dba"
    },
    "transcription_provenance": "Assistant visually transcribed the saved PDF crops and checked feature identity against the full drawing. Values are observations, not expected OK/NG labels. No spatial scoring reference was loaded. Original model outputs are retained separately. Red table marks are ignored per user instruction. Not independently human verified. Matching revision 2026-11-03: four unsupported assignment regressions restored from the earlier SFT model run, then visually rechecked. All other observation records retained.",
    "pair_file": "data/sources/pairs.json",
    "spatial_reference_used": false,
    "model_decides_ok_ng": false,
    "red_marks_select_grade": false
  },
  "id": "B013",
  "black": {
    "id": "B013",
    "class_id": 37,
    "box": [
      369.56,
      751.4350000000001,
      405.21999999999997,
      786.445
    ]
  },
  "red_regions": [
    {
      "id": "R037",
      "box": [
        400,
        670,
        456,
        753
      ],
      "ink_area": 843,
      "center": [
        427.5326215895611,
        709.7568208778173
      ]
    }
  ],
  "original_crop": "data/crops/B013.png",
  "observation": {
    "pair_red_ids": [
      "R037"
    ],
    "black_text": "4-20",
    "requirement_type": "linear",
    "nominal": "20",
    "measured_values": [
      "20.08",
      "20.05",
      "20.04",
      "20.05"
    ],
    "red_text": "20.08, 20.05, 20.04, 20.05",
    "lower_deviation": null,
    "upper_deviation": null,
    "required_measurement_count": 4,
    "unit": "mm",
    "black_readable": true,
    "red_readable": true,
    "association": "plausible",
    "notes": "Bốn số trong nhóm đỏ; không đếm lặp khi xem hai chiều xoay.",
    "review_source": "debug/context/B013.png; debug/black/B013.png; supplied drawing PDF",
    "review_method": "assistant_visual_transcription; not independently human verified"
  },
  "decision": {
    "status": "OK",
    "rule_ids": [
      "R04_EXPLICIT_FIRST",
      "R08_TABLE",
      "R09_ALL_VALUES",
      "R10_ANY_NG",
      "R11_INCLUSIVE_DECIMAL"
    ],
    "reason": "Tất cả 4 số đo đọc được nằm trong giới hạn của toàn bộ 5 rule/cột có thể áp dụng.",
    "unit": "mm",
    "scope": "numeric_conformance",
    "measurements": [],
    "candidate_rules": [
      {
        "column": "machining_medium",
        "heading": "削 / 中",
        "family": "machining",
        "nominal_interval": "(6, 30] mm",
        "half_width": "0.2",
        "lower": "19.8",
        "upper": "20.2",
        "source": "/content/検証サンプル②の公差表.pdf, trang 1, 削 / 中, dòng ≤30 mm",
        "measurements": [
          {
            "measurement_index": 1,
            "value": "20.08",
            "lower": "19.8",
            "upper": "20.2",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.8 ≤ 20.08 ≤ 20.2: đúng"
          },
          {
            "measurement_index": 2,
            "value": "20.05",
            "lower": "19.8",
            "upper": "20.2",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.8 ≤ 20.05 ≤ 20.2: đúng"
          },
          {
            "measurement_index": 3,
            "value": "20.04",
            "lower": "19.8",
            "upper": "20.2",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.8 ≤ 20.04 ≤ 20.2: đúng"
          },
          {
            "measurement_index": 4,
            "value": "20.05",
            "lower": "19.8",
            "upper": "20.2",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.8 ≤ 20.05 ≤ 20.2: đúng"
          }
        ],
        "numeric_status": "OK",
        "status": "OK"
      },
      {
        "column": "machining_coarse",
        "heading": "削 / 粗",
        "family": "machining",
        "nominal_interval": "(6, 30] mm",
        "half_width": "0.5",
        "lower": "19.5",
        "upper": "20.5",
        "source": "/content/検証サンプル②の公差表.pdf, trang 1, 削 / 粗, dòng ≤30 mm",
        "measurements": [
          {
            "measurement_index": 1,
            "value": "20.08",
            "lower": "19.5",
            "upper": "20.5",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.5 ≤ 20.08 ≤ 20.5: đúng"
          },
          {
            "measurement_index": 2,
            "value": "20.05",
            "lower": "19.5",
            "upper": "20.5",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.5 ≤ 20.05 ≤ 20.5: đúng"
          },
          {
            "measurement_index": 3,
            "value": "20.04",
            "lower": "19.5",
            "upper": "20.5",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.5 ≤ 20.04 ≤ 20.5: đúng"
          },
          {
            "measurement_index": 4,
            "value": "20.05",
            "lower": "19.5",
            "upper": "20.5",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.5 ≤ 20.05 ≤ 20.5: đúng"
          }
        ],
        "numeric_status": "OK",
        "status": "OK"
      },
      {
        "column": "sheet_grade_1",
        "heading": "板金 / 1級 / 寸法",
        "family": "sheet_metal",
        "nominal_interval": "(6, 30] mm",
        "half_width": "0.25",
        "lower": "19.75",
        "upper": "20.25",
        "source": "/content/検証サンプル②の公差表.pdf, trang 1, 板金 / 1級 / 寸法, dòng ≤30 mm",
        "measurements": [
          {
            "measurement_index": 1,
            "value": "20.08",
            "lower": "19.75",
            "upper": "20.25",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.75 ≤ 20.08 ≤ 20.25: đúng"
          },
          {
            "measurement_index": 2,
            "value": "20.05",
            "lower": "19.75",
            "upper": "20.25",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.75 ≤ 20.05 ≤ 20.25: đúng"
          },
          {
            "measurement_index": 3,
            "value": "20.04",
            "lower": "19.75",
            "upper": "20.25",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.75 ≤ 20.04 ≤ 20.25: đúng"
          },
          {
            "measurement_index": 4,
            "value": "20.05",
            "lower": "19.75",
            "upper": "20.25",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.75 ≤ 20.05 ≤ 20.25: đúng"
          }
        ],
        "numeric_status": "OK",
        "status": "OK"
      },
      {
        "column": "sheet_grade_2",
        "heading": "板金 / 2級 / 寸法",
        "family": "sheet_metal",
        "nominal_interval": "(6, 30] mm",
        "half_width": "0.4",
        "lower": "19.6",
        "upper": "20.4",
        "source": "/content/検証サンプル②の公差表.pdf, trang 1, 板金 / 2級 / 寸法, dòng ≤30 mm",
        "measurements": [
          {
            "measurement_index": 1,
            "value": "20.08",
            "lower": "19.6",
            "upper": "20.4",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.6 ≤ 20.08 ≤ 20.4: đúng"
          },
          {
            "measurement_index": 2,
            "value": "20.05",
            "lower": "19.6",
            "upper": "20.4",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.6 ≤ 20.05 ≤ 20.4: đúng"
          },
          {
            "measurement_index": 3,
            "value": "20.04",
            "lower": "19.6",
            "upper": "20.4",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.6 ≤ 20.04 ≤ 20.4: đúng"
          },
          {
            "measurement_index": 4,
            "value": "20.05",
            "lower": "19.6",
            "upper": "20.4",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.6 ≤ 20.05 ≤ 20.4: đúng"
          }
        ],
        "numeric_status": "OK",
        "status": "OK"
      },
      {
        "column": "sheet_grade_3",
        "heading": "板金 / 3級 / 寸法",
        "family": "sheet_metal",
        "nominal_interval": "(6, 30] mm",
        "half_width": "0.7",
        "lower": "19.3",
        "upper": "20.7",
        "source": "/content/検証サンプル②の公差表.pdf, trang 1, 板金 / 3級 / 寸法, dòng ≤30 mm",
        "measurements": [
          {
            "measurement_index": 1,
            "value": "20.08",
            "lower": "19.3",
            "upper": "20.7",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.3 ≤ 20.08 ≤ 20.7: đúng"
          },
          {
            "measurement_index": 2,
            "value": "20.05",
            "lower": "19.3",
            "upper": "20.7",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.3 ≤ 20.05 ≤ 20.7: đúng"
          },
          {
            "measurement_index": 3,
            "value": "20.04",
            "lower": "19.3",
            "upper": "20.7",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.3 ≤ 20.04 ≤ 20.7: đúng"
          },
          {
            "measurement_index": 4,
            "value": "20.05",
            "lower": "19.3",
            "upper": "20.7",
            "status": "OK",
            "outside_by": "0",
            "comparison": "19.3 ≤ 20.05 ≤ 20.7: đúng"
          }
        ],
        "numeric_status": "OK",
        "status": "OK"
      }
    ],
    "nominal": "20",
    "warnings": [],
    "rule_resolution": "all_applicable_columns",
    "required_information": [],
    "deltas_from_nominal": [
      "0.08",
      "0.05",
      "0.04",
      "0.05"
    ],
    "observed_measurement_count": 4,
    "required_measurement_count": 4
  },
  "explanation": [
    "Yêu cầu: 4-20.",
    "Số đo đỏ: 20.08, 20.05, 20.04, 20.05 mm.",
    "Kết quả: OK. Tất cả 4 số đo đọc được nằm trong giới hạn của toàn bộ 5 rule/cột có thể áp dụng.",
    "削 / 中: [19.8, 20.2] mm → OK. 19.8 ≤ 20.08 ≤ 20.2: đúng; 19.8 ≤ 20.05 ≤ 20.2: đúng; 19.8 ≤ 20.04 ≤ 20.2: đúng; 19.8 ≤ 20.05 ≤ 20.2: đúng. Nguồn: /content/検証サンプル②の公差表.pdf, trang 1, 削 / 中, dòng ≤30 mm.",
    "削 / 粗: [19.5, 20.5] mm → OK. 19.5 ≤ 20.08 ≤ 20.5: đúng; 19.5 ≤ 20.05 ≤ 20.5: đúng; 19.5 ≤ 20.04 ≤ 20.5: đúng; 19.5 ≤ 20.05 ≤ 20.5: đúng. Nguồn: /content/検証サンプル②の公差表.pdf, trang 1, 削 / 粗, dòng ≤30 mm.",
    "板金 / 1級 / 寸法: [19.75, 20.25] mm → OK. 19.75 ≤ 20.08 ≤ 20.25: đúng; 19.75 ≤ 20.05 ≤ 20.25: đúng; 19.75 ≤ 20.04 ≤ 20.25: đúng; 19.75 ≤ 20.05 ≤ 20.25: đúng. Nguồn: /content/検証サンプル②の公差表.pdf, trang 1, 板金 / 1級 / 寸法, dòng ≤30 mm.",
    "板金 / 2級 / 寸法: [19.6, 20.4] mm → OK. 19.6 ≤ 20.08 ≤ 20.4: đúng; 19.6 ≤ 20.05 ≤ 20.4: đúng; 19.6 ≤ 20.04 ≤ 20.4: đúng; 19.6 ≤ 20.05 ≤ 20.4: đúng. Nguồn: /content/検証サンプル②の公差表.pdf, trang 1, 板金 / 2級 / 寸法, dòng ≤30 mm.",
    "板金 / 3級 / 寸法: [19.3, 20.7] mm → OK. 19.3 ≤ 20.08 ≤ 20.7: đúng; 19.3 ≤ 20.05 ≤ 20.7: đúng; 19.3 ≤ 20.04 ≤ 20.7: đúng; 19.3 ≤ 20.05 ≤ 20.7: đúng. Nguồn: /content/検証サンプル②の公差表.pdf, trang 1, 板金 / 3級 / 寸法, dòng ≤30 mm.",
    "Ghi chú chứng cứ: Bốn số trong nhóm đỏ; không đếm lặp khi xem hai chiều xoay."
  ]
}