{
  "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": "B028",
  "black": {
    "id": "B028",
    "class_id": 37,
    "box": [
      712.605,
      521.195,
      827.815,
      554.725
    ]
  },
  "red_regions": [
    {
      "id": "R031",
      "box": [
        736,
        501,
        776,
        520
      ],
      "ink_area": 294,
      "center": [
        755.4149659863946,
        510.7857142857143
      ]
    }
  ],
  "original_crop": "data/crops/B028.png",
  "observation": {
    "pair_red_ids": [
      "R031"
    ],
    "black_text": "P.C.D.270±0.1",
    "requirement_type": "linear",
    "nominal": "270",
    "measured_values": [
      "270.19"
    ],
    "red_text": "270.19",
    "lower_deviation": "-0.1",
    "upper_deviation": "0.1",
    "required_measurement_count": 1,
    "unit": "mm",
    "black_readable": true,
    "red_readable": true,
    "association": "plausible",
    "notes": "PCD đã ghi dung sai trực tiếp; không thay bằng cột dung sai chung.",
    "review_source": "debug/context/B028.png; debug/black/B028.png; supplied drawing PDF",
    "review_method": "assistant_visual_transcription; not independently human verified"
  },
  "decision": {
    "status": "NG",
    "rule_ids": [
      "R04_EXPLICIT_FIRST",
      "R06_EXPLICIT_LIMITS",
      "R09_ALL_VALUES",
      "R10_ANY_NG",
      "R11_INCLUSIVE_DECIMAL"
    ],
    "reason": "Có ít nhất một rule/cột cho NG: Dung sai ghi trực tiếp. Theo quy tắc đã chỉ định, chỉ cần một NG thì cả cặp là NG.",
    "unit": "mm",
    "scope": "numeric_conformance",
    "measurements": [
      {
        "measurement_index": 1,
        "value": "270.19",
        "lower": "269.9",
        "upper": "270.1",
        "status": "NG",
        "outside_by": "0.09",
        "comparison": "269.9 ≤ 270.19 ≤ 270.1: sai"
      }
    ],
    "candidate_rules": [
      {
        "column": "explicit",
        "heading": "Dung sai ghi trực tiếp",
        "lower": "269.9",
        "upper": "270.1",
        "source": "Yêu cầu in đen trong PDF bản vẽ",
        "measurements": [
          {
            "measurement_index": 1,
            "value": "270.19",
            "lower": "269.9",
            "upper": "270.1",
            "status": "NG",
            "outside_by": "0.09",
            "comparison": "269.9 ≤ 270.19 ≤ 270.1: sai"
          }
        ],
        "numeric_status": "NG",
        "status": "NG"
      }
    ],
    "nominal": "270",
    "warnings": [],
    "rule_resolution": "single_rule",
    "required_information": [],
    "deltas_from_nominal": [
      "0.19"
    ],
    "observed_measurement_count": 1,
    "required_measurement_count": 1
  },
  "explanation": [
    "Yêu cầu: P.C.D.270±0.1.",
    "Số đo đỏ: 270.19 mm.",
    "Kết quả: NG. Có ít nhất một rule/cột cho NG: Dung sai ghi trực tiếp. Theo quy tắc đã chỉ định, chỉ cần một NG thì cả cặp là NG.",
    "Dung sai ghi trực tiếp: [269.9, 270.1] mm → NG. 269.9 ≤ 270.19 ≤ 270.1: sai. Nguồn: Yêu cầu in đen trong PDF bản vẽ.",
    "Ghi chú chứng cứ: PCD đã ghi dung sai trực tiếp; không thay bằng cột dung sai chung."
  ]
}