{
  "schema_version": "ocme-reviewed-question-reader-v1",
  "question_id": "q-20261012-advance-20261016-r02-matrix-0067",
  "pilot_number": "R0014-07667",
  "number": 7667,
  "family_id": "qf-density16-matrix-three-index-qualification",
  "title": {
    "zh-Hant": "第 7667 題：三個外部索引候選",
    "en": "Question 7667: Three 1-Based Matrix Queries with Eligibility Guards"
  },
  "original_question": {
    "schema_version": "ocme-question-v0.1",
    "id": "q-20261012-advance-20261016-r02-matrix-0067",
    "batch_id": "batch-20261012-advance-20261016-r02-matrix-foundations",
    "language": "zh-Hant",
    "source_mko_ids": [
      "mko-matrix"
    ],
    "title_zh": "三個外部索引候選",
    "stem_zh": "外部索引從1開始；每格完整整數資料。M=[[4, 3], [5, 4], [6, 5], [7, 6]]，原序(i,j)候選=[[1, 1], [4, 2], [0, 1]]。求 (M尺寸, 三個索引資格, 三個值或不合索引)。不合索引時不讀該格。",
    "answer": {
      "kind": "expression",
      "value": "([4, 2], [是, 是, 否], [4, 6, 不合索引])",
      "explanation_zh": "有限結構核對=([4, 2], [是, 是, 否], [4, 6, 不合索引])。兩個索引都在1到尺寸內才讀元素，其他格不充作本題身份。有限精確核對不是一般形式證明。轉置不當求逆，尺寸不合先拒絕求值。"
    },
    "difficulty": {
      "band": "undergraduate_core",
      "level": 2,
      "skills": [
        "三個外部索引候選"
      ]
    },
    "variant": {
      "family_id": "qf-density16-matrix-three-index-qualification",
      "seed": 202610162067,
      "parameters": {
        "M": [
          [
            4,
            3
          ],
          [
            5,
            4
          ],
          [
            6,
            5
          ],
          [
            7,
            6
          ]
        ],
        "queries": [
          [
            1,
            1
          ],
          [
            4,
            2
          ],
          [
            0,
            1
          ]
        ],
        "domain": "Z_rect_1based",
        "operation": "matrix-three-index-qualification",
        "semantic_template": "qf-density16-matrix-three-index-qualification/{\"queries\":[[1,1,4],[4,2,6],[0,1,\"untyped\"]],\"shape\":[4,2]}"
      }
    },
    "verification": {
      "status": "candidate",
      "checks": [
        "producer_exact_integer_rational_arithmetic",
        "producer_finite_enumeration",
        "producer_source_snapshot_check",
        "producer_substantive_template_deduplication",
        "producer_json_schema"
      ],
      "warning_zh": "僅為產生端候選及自檢；主端須另做獨立驗收，不構成人工審定、普遍證明或形式 Evidence。"
    },
    "provenance": {
      "generator_role": "question_producer",
      "generator_model": "model_unknown",
      "generated_at": "2026-10-12",
      "contract_version": "ocme-question-factory-v0.1"
    }
  },
  "original_english_edition": {
    "schema_version": "ocme-question-localization-v0.1",
    "question_id": "q-20261012-advance-20261016-r02-matrix-0067",
    "batch_id": "batch-20261012-advance-20261016-r02-matrix-foundations",
    "locale": "en",
    "translation_state": "ai_candidate",
    "source": {
      "question_sha256": "cc4ddce3763696925888733def45d28c175f4b0166b67c5b697abcb40702b40b",
      "family_id": "qf-density16-matrix-three-index-qualification",
      "seed": 202610162067,
      "semantic_template": "qf-density16-matrix-three-index-qualification/{\"queries\":[[1,1,4],[4,2,6],[0,1,\"untyped\"]],\"shape\":[4,2]}"
    },
    "fields": {
      "title": "Three 1-Based Matrix Queries with Eligibility Guards",
      "stem": "Use complete nonempty integer matrices with 1–5 rows and columns and 1-based external indices. Transposition is not inversion or reversal of element order. M=[[4, 3], [5, 4], [6, 5], [7, 6]], ordered (i,j) candidates=[[1, 1], [4, 2], [0, 1]]. Give (shape of M, three index-eligibility values, three entries or invalid-index). Do not read an invalid entry.",
      "answer": {
        "kind": "expression",
        "value": "([4, 2], [Yes, Yes, No], [4, 6, invalid-index])",
        "explanation": "Both indices must lie from 1 through their dimension before lookup; unqueried cells do not change this question’s semantic identity. These exact finite checks are not new general formal Evidence. The exact result, retaining the requested order, is ([4, 2], [Yes, Yes, No], [4, 6, invalid-index])."
      },
      "skills": [
        "Three 1-Based Matrix Queries with Eligibility Guards"
      ],
      "verification_warning": "This is a candidate exercise. Mechanical recomputation checks only the stated conditions and this instance; it is neither a formal proof nor human review."
    }
  },
  "givens": [
    {
      "id": "G001",
      "text": {
        "zh-Hant": "外部索引從1開始；每格完整整數資料。M=[[4, 3], [5, 4], [6, 5], [7, 6]]，原序(i,j)候選=[[1, 1], [4, 2], [0, 1]]。求 (M尺寸, 三個索引資格, 三個值或不合索引)。不合索引時不讀該格。",
        "en": "Use complete nonempty integer matrices with 1–5 rows and columns and 1-based external indices. Transposition is not inversion or reversal of element order. M=[[4, 3], [5, 4], [6, 5], [7, 6]], ordered (i,j) candidates=[[1, 1], [4, 2], [0, 1]]. Give (shape of M, three index-eligibility values, three entries or invalid-index). Do not read an invalid entry."
      }
    }
  ],
  "steps": [
    {
      "id": "S001",
      "uses": [
        "G001"
      ],
      "before": "M=[[4, 3], [5, 4], [6, 5], [7, 6]];shape=[4, 2]",
      "after": "external indices start at1;transpose is not inverse",
      "relation": "implies",
      "rule_id": "rectangular_matrix_scope",
      "conditions": [],
      "explanation": {
        "zh-Hant": "先確認非空矩形尺寸與完整整數資料。轉置對矩形矩陣也可定義，不要求可逆，更不是求逆。",
        "en": "First confirm a nonempty rectangular shape and complete integer entries.Transposition is defined for rectangular matrices without invertibility and is not matrix inversion."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "回到原始資料與本步條件核對，不把單向推論誤稱等價。",
          "en": "Check against the original data and this step's premises; a one-way implication is not an equivalence."
        }
      },
      "arithmetic": null
    },
    {
      "id": "S002",
      "uses": [
        "G001",
        "S001"
      ],
      "before": "query0=(1,1);shape=[4, 2]",
      "after": "qualified=是;value/status=4",
      "relation": "implies",
      "rule_id": "matrix_index_eligibility_before_read",
      "conditions": [],
      "explanation": {
        "zh-Hant": "兩個外部索引各自必須在1到相應尺寸內，才讀(i−1,j−1)的內部位置；不以負索引或循環索引補值。",
        "en": "Both external indices must lie from1 through the corresponding size before reading the internal(i−1,j−1) position.Do not fill an invalid query using negative or wrapping indices."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "回到原始資料與本步條件核對，不把單向推論誤稱等價。",
          "en": "Check against the original data and this step's premises; a one-way implication is not an equivalence."
        }
      },
      "arithmetic": null
    },
    {
      "id": "S003",
      "uses": [
        "G001",
        "S002"
      ],
      "before": "query1=(4,2);shape=[4, 2]",
      "after": "qualified=是;value/status=6",
      "relation": "implies",
      "rule_id": "matrix_index_eligibility_before_read",
      "conditions": [],
      "explanation": {
        "zh-Hant": "兩個外部索引各自必須在1到相應尺寸內，才讀(i−1,j−1)的內部位置；不以負索引或循環索引補值。",
        "en": "Both external indices must lie from1 through the corresponding size before reading the internal(i−1,j−1) position.Do not fill an invalid query using negative or wrapping indices."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "回到原始資料與本步條件核對，不把單向推論誤稱等價。",
          "en": "Check against the original data and this step's premises; a one-way implication is not an equivalence."
        }
      },
      "arithmetic": null
    },
    {
      "id": "S004",
      "uses": [
        "G001",
        "S003"
      ],
      "before": "query2=(0,1);shape=[4, 2]",
      "after": "qualified=否;value/status=不合索引",
      "relation": "implies",
      "rule_id": "matrix_index_eligibility_before_read",
      "conditions": [],
      "explanation": {
        "zh-Hant": "兩個外部索引各自必須在1到相應尺寸內，才讀(i−1,j−1)的內部位置；不以負索引或循環索引補值。",
        "en": "Both external indices must lie from1 through the corresponding size before reading the internal(i−1,j−1) position.Do not fill an invalid query using negative or wrapping indices."
      },
      "reverse_audit": {
        "kind": "premise_and_result_audit",
        "explanation": {
          "zh-Hant": "回到原始資料與本步條件核對，不把單向推論誤稱等價。",
          "en": "Check against the original data and this step's premises; a one-way implication is not an equivalence."
        }
      },
      "arithmetic": null
    }
  ],
  "math_model": {
    "result": [
      [
        4,
        2
      ],
      [
        true,
        true,
        false
      ],
      [
        4,
        6,
        "不合索引"
      ]
    ]
  },
  "conclusion": {
    "canonical_value": "([4, 2], [是, 是, 否], [4, 6, 不合索引])",
    "explanation": {
      "zh-Hant": "依上列完整代值及條件核對得到原題答案；原題編號、格式與狀態保持不變。",
      "en": "The full substitutions and premise checks give the original answer; source identity,format and status are unchanged."
    }
  },
  "definition_note": {
    "zh-Hant": "沿用原題明示的論域、假設與來源 MKO 定義。本題已完成第二對話數理與中英語義覆核，並由原始參數逐題獨立重算模型、答案與每個算術步驟；原題仍為 candidate。",
    "en": "Use the original question domain, assumptions and cited MKO definitions. This item has second-context mathematical and bilingual review, with the model, answer and every arithmetic step independently recomputed from the original parameters; the source question remains a candidate."
  },
  "source": {
    "input_commit": "0f7be61e2c22317a4075561dc822c87d881a50db",
    "question_binding": {
      "batch_id": "batch-20261012-advance-20261016-r02-matrix-foundations",
      "batch_path": "public/data/questions/batches/batch-20261012-advance-20261016-r02-matrix-foundations/questions.jsonl",
      "batch_sha256": "2cfe67df8364350332cadfafbf7125a57390570620e1132ca9237e218f8c4cf8",
      "original_line": 67,
      "original_line_sha256": "c4041864d18dc3f1d31fb7a32d95d565a9668603d74ecb0563e2a02ca57ce035",
      "question_compact_sha256": "cc4ddce3763696925888733def45d28c175f4b0166b67c5b697abcb40702b40b",
      "english_row_compact_sha256": "f6aec42dbfda48292c1b6a96997bcf15bbe5ad2deb81aab4b865a86c6d4cc743",
      "english_manifest_path": "public/data/i18n/editions/batch-20261012-advance-20261016-r02-matrix-foundations.en.json",
      "english_rows_path": "public/data/i18n/questions/batch-20261012-advance-20261016-r02-matrix-foundations.en.jsonl"
    },
    "mko_bindings": {
      "mko-matrix": {
        "sha256": "c0233ecc6ee07427af1589feb16108500eb2e48b0b2fb84b5b39f0f38b02f109",
        "english_sha256": "18504021d52173d8f2f8aa663d83dc058f5205bea2c677a9722daba770776432",
        "original_path": "public/data/mko/matrix.json",
        "english_path": "public/data/i18n/editions/mko-matrix.en.json"
      }
    },
    "selected_manifest_sha256": "5233edba9654a6cffd8b6b2d83c932f82ded15f9c0b7c733bd049943e672acff",
    "selected_part_sha256": "d7860245c70062705fa4858c13821db6ff286678dec63f22464364f5d24cfcc1",
    "original_candidate_sha256": "b95713c38137f6c7481e4ec04cfd8e0ed7d27132557ad75ce4bb5def27fe9282",
    "original_candidate_line_sha256": "b95713c38137f6c7481e4ec04cfd8e0ed7d27132557ad75ce4bb5def27fe9282"
  },
  "historical_source_state": {
    "review_state": {
      "derivation": "candidate_authored_and_locally_checked",
      "source_question_state": "candidate",
      "independent_AI_or_human_review": "NOT_PERFORMED",
      "formalization": "not_formalized",
      "Lean": "NOT_RUN"
    },
    "scope_note": {
      "zh-Hant": "來源綁定教學推導候選；精確核對不等於獨立AI／人工審查或一般形式證明。原題、答案、MKO、公式、AST與歷史不變。",
      "en": "Source-bound pedagogical derivation candidate.Exact checking is not independent AI/human review or general formal proof.Original questions,answers,MKOs,formulas,ASTs and history remain unchanged."
    },
    "label": "Frozen producer metadata; current per-question review is separate below."
  },
  "revision": {
    "id": "review-20261026-005-p15",
    "review_date": "2026-10-26",
    "owner_authorized_reader_publication": true,
    "scope": "One hundred sixty family prototypes and their mathematical/bilingual reasoning variants, stems, boundary statements and every distinct explanation shape were reviewed in a context independent of the producer; parameter substitutions, source bindings, full math models, both answer strings and every arithmetic step were independently reconstructed per question from the original parameters only, with negative controls. This grouped method does not claim a separate literal AI reading of every repeated sentence or an extra AI voter.",
    "review_receipts": {
      "semantic_review_sha256": "23ba8196e85a09c03add0a87f96bec5d67a00dc648d1d68eef89101525b41a77",
      "question_first_witness_sha256": "17d59afc327b7cb8b6e588686d6dc1abbccd384d8ba32b8c046652f96821d705"
    },
    "status": "second_context_reviewed",
    "mathematical_semantics": true,
    "bilingual_semantics": true,
    "steps_reviewed": 4,
    "method": "family_template_semantic_review_plus_independent_per_instance_reconstruction",
    "exact_question_first_check": {
      "model_sha256": "d28094a8b4a4405b0083cef81e48bfe451abffcf68684b34d24195588ca8d85f",
      "arithmetic_steps": 0
    },
    "uses_answer_as_premise": false,
    "human_review": "NOT_PERFORMED",
    "formalization": "not_formalized",
    "Lean": "NOT_RUN",
    "Canonical_truth_promotion": false,
    "authority": "Owner-authorized reviewed reader publication; original question/candidate states remain historical and unchanged."
  }
}
