{
  "code": "A-8-5",
  "title": "國二提公因式、公式與十字交乘",
  "scope": [
    "提正最大公因子與最低x次方",
    "先提係數內容，再辨平方與平方差",
    "十字交乘同時核對首中尾"
  ],
  "limitations": [
    "只配對結構化已確認原項/係數/次方，未驗證OCR或任意式子字串。",
    "每型24例有限教學案例，不代表整碼全驗；未教師審核/未接App。",
    "原係數與項數有限域是工程/教學包範圍，不假稱正式課綱額外限制。",
    "只整係數二次或本包提公因式低次/零式；不處理一般二元式。",
    "沒有整係數一次因式不等於沒有實數/複數分解；公式未匹配不等於十字交乘必不可能。"
  ],
  "prerequisites": [
    "有理數正負四則、分配律、同底數整數次方運算與代數式同類項；不先用一元二次求根公式"
  ],
  "source": {
    "url": "https://edu.law.moe.gov.tw/Download.ashx?FileID=31051&id=GL001788&type=LAW",
    "sha256": "a9fd74c24933b16e256fcbcfe77ccf24e687dc5c5795b45215859d3a1439ef21",
    "physicalPages": [
      43
    ],
    "textExtractLines": [
      3343,
      3352
    ],
    "verbatimLocalTextExcerpt": "A-8-5 \n因式分解的方法 ：提公因\n式法 ； 利用乘法公式與十字\n交乘法因式分解。 \n只處理整係數 𝑎𝑥2 + 𝑏𝑥 +\n𝑐 的因式分解或與乘法公\n式直接相關者，不處理一\n般二元齊次或二元非齊次\n式但有一次介入者。 \n "
  },
  "subtypes": [
    {
      "id": "g8-poly-common-factor",
      "title": "提正最大公因子與最低x次方",
      "method": {
        "name": "提正最大公因子與最低x次方",
        "steps": [
          "找非零項係數的正最大公因子。",
          "找非零項最低x次方。",
          "把這個單項式提出，每一項都除同一因子。",
          "乘回逐係數驗；只完成提公因式，不聲稱餘式一定分解完。"
        ],
        "guards": [
          "只接受已確認有限結構，不eval任意原字串。",
          "缺少係數/次方/角色先確認；本包原量上限不冒充官方上限。"
        ]
      },
      "applicability": [
        "原式單一變數/候選角色及係數已核對"
      ],
      "exclusions": [
        "一般二元因式分解、任意字串解析、未確認OCR、分離係數法不在本包"
      ],
      "inputContract": {
        "required": [
          "polynomial"
        ],
        "raw": "整係數-50..50；多項式升冪係數陣列；意義項最多8項次方0..6；定義辨識另含-3..6半整指數與y項",
        "task": [
          "solve",
          "check_proposal"
        ],
        "confirmed": "true才算，必要欄/已提供結構中的缺值先confirm",
        "derived": "獨立有界64位數值解析；因式乘積按展開係數接受因子調序/符號和等值尺度，不只比字串",
        "modeDetails": "升冪整係數最多三項次方0..2；提正gcd及最低x次方，餘式不聲稱全分；零式不指定唯一因子"
      },
      "ifNotUnderstood": "找非零項係數的正最大公因子。"
    },
    {
      "id": "g8-poly-formula-factor",
      "title": "先提係數內容，再辨平方與平方差",
      "method": {
        "name": "先提係數內容，再辨平方與平方差",
        "steps": [
          "先提整係數公因子，使剩下二次首項為正。",
          "平方公式須首尾平方且中項為正負兩倍乘積。",
          "平方差須中項0且常數負，兩個平方相減。",
          "寫成一次因式乘積，再展開驗係數；沒匹配不等於無其他分法。"
        ],
        "guards": [
          "只接受已確認有限結構，不eval任意原字串。",
          "缺少係數/次方/角色先確認；本包原量上限不冒充官方上限。"
        ]
      },
      "applicability": [
        "原式單一變數/候選角色及係數已核對"
      ],
      "exclusions": [
        "一般二元因式分解、任意字串解析、未確認OCR、分離係數法不在本包"
      ],
      "inputContract": {
        "required": [
          "polynomial"
        ],
        "raw": "整係數-50..50；多項式升冪係數陣列；意義項最多8項次方0..6；定義辨識另含-3..6半整指數與y項",
        "task": [
          "solve",
          "check_proposal"
        ],
        "confirmed": "true才算，必要欄/已提供結構中的缺值先confirm",
        "derived": "獨立有界64位數值解析；因式乘積按展開係數接受因子調序/符號和等值尺度，不只比字串",
        "modeDetails": "整係數二次；先提帶首項符號的係數gcd，再匹配完全平方/平方差，沒匹配不宣稱無其他分法"
      },
      "ifNotUnderstood": "先提整係數公因子，使剩下二次首項為正。"
    },
    {
      "id": "g8-poly-cross-factor",
      "title": "十字交乘同時核對首中尾",
      "method": {
        "name": "十字交乘同時核對首中尾",
        "steps": [
          "先提整係數公因子，使剩下首項為正。",
          "列首項係數因數對與常數因數對。",
          "交叉乘積相加必須等於中項係數。",
          "寫成兩一次因式並展開；找不到只表示本整係數一次因式域內未找到。"
        ],
        "guards": [
          "只接受已確認有限結構，不eval任意原字串。",
          "缺少係數/次方/角色先確認；本包原量上限不冒充官方上限。"
        ]
      },
      "applicability": [
        "原式單一變數/候選角色及係數已核對"
      ],
      "exclusions": [
        "一般二元因式分解、任意字串解析、未確認OCR、分離係數法不在本包"
      ],
      "inputContract": {
        "required": [
          "polynomial"
        ],
        "raw": "整係數-50..50；多項式升冪係數陣列；意義項最多8項次方0..6；定義辨識另含-3..6半整指數與y項",
        "task": [
          "solve",
          "check_proposal"
        ],
        "confirmed": "true才算，必要欄/已提供結構中的缺值先confirm",
        "derived": "獨立有界64位數值解析；因式乘積按展開係數接受因子調序/符號和等值尺度，不只比字串",
        "modeDetails": "整係數二次；先提係數gcd，正首項整數因數對十字交乘；找不到僅是整係數一次域無分法"
      },
      "ifNotUnderstood": "先提整係數公因子，使剩下首項為正。"
    }
  ],
  "cases": [
    {
      "id": "g8-poly-common-factor.normal.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對6x²＋12x＋6只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          6,
          12,
          6
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "6",
        "power": 0,
        "remaining": [
          "1",
          "2",
          "1"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數6；最低x次方0。",
        "提出6，括號內x²＋2x＋1。",
        "乘回：6·(x²＋2x＋1)＝6x²＋12x＋6，每欄還原。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.normal.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對9x²＋6x只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          0,
          6,
          9
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "3",
        "power": 1,
        "remaining": [
          "2",
          "3"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數3；最低x次方1。",
        "提出3x，括號內3x＋2。",
        "乘回：3x·(3x＋2)＝9x²＋6x，每欄還原。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.normal.03",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對－6x²－18x－12只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          -12,
          -18,
          -6
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "6",
        "power": 0,
        "remaining": [
          "-2",
          "-3",
          "-1"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數6；最低x次方0。",
        "提出6，括號內－x²－3x－2。",
        "乘回：6·(－x²－3x－2)＝－6x²－18x－12，每欄還原。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.normal.04",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對x²＋3x＋5只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          5,
          3,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "沒有非平凡公因式",
        "coefficient": "1",
        "power": 0,
        "remaining": [
          "5",
          "3",
          "1"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數1；最低x次方0。",
        "提出1，括號內x²＋3x＋5。",
        "乘回：1·(x²＋3x＋5)＝x²＋3x＋5，每欄還原。",
        "沒有非平凡公因式；提1只是恆等，不表示其他因式分解方法也不可能。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.normal.05",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對8x²只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          0,
          0,
          8
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "8",
        "power": 2,
        "remaining": [
          "1"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數8；最低x次方2。",
        "提出8x²，括號內1。",
        "乘回：8x²·(1)＝8x²，每欄還原。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.normal.06",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對2x²－4x只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          0,
          -4,
          2
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "2",
        "power": 1,
        "remaining": [
          "-2",
          "1"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數2；最低x次方1。",
        "提出2x，括號內x－2。",
        "乘回：2x·(x－2)＝2x²－4x，每欄還原。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.normal.07",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對－8x²＋4只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          4,
          0,
          -8
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "4",
        "power": 0,
        "remaining": [
          "1",
          "0",
          "-2"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數4；最低x次方0。",
        "提出4，括號內－2x²＋1。",
        "乘回：4·(－2x²＋1)＝－8x²＋4，每欄還原。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.normal.08",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對9x＋3只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          3,
          9,
          0
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "3",
        "power": 0,
        "remaining": [
          "1",
          "3"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數3；最低x次方0。",
        "提出3，括號內3x＋1。",
        "乘回：3·(3x＋1)＝9x＋3，每欄還原。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.negative.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "對6x²＋12x＋6只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。 同學提案「提出3，括號內x²＋2x＋1」，請逐步改正。",
      "input": {
        "polynomial": [
          6,
          12,
          6
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "status": "已提出正最大公因式",
          "coefficient": "3",
          "power": 0,
          "remaining": [
            "1",
            "2",
            "1"
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "6",
        "power": 0,
        "remaining": [
          "1",
          "2",
          "1"
        ]
      },
      "solutionSteps": [
        "提出6改成3卻未把括號內各係數加倍，乘回只剩原式一半。",
        "非零係數的正最大公因數6；最低x次方0。",
        "提出6，括號內x²＋2x＋1。",
        "乘回：6·(x²＋2x＋1)＝6x²＋12x＋6，每欄還原。"
      ],
      "why": "提出6改成3卻未把括號內各係數加倍，乘回只剩原式一半。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.negative.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "對9x²＋6x只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。 同學提案「提出3x²，括號內3x＋2」，請逐步改正。",
      "input": {
        "polynomial": [
          0,
          6,
          9
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "status": "已提出正最大公因式",
          "coefficient": "3",
          "power": 2,
          "remaining": [
            "2",
            "3"
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "3",
        "power": 1,
        "remaining": [
          "2",
          "3"
        ]
      },
      "solutionSteps": [
        "用最高x次方代替各項共有的最低次方，多提出一個x。",
        "非零係數的正最大公因數3；最低x次方1。",
        "提出3x，括號內3x＋2。",
        "乘回：3x·(3x＋2)＝9x²＋6x，每欄還原。"
      ],
      "why": "用最高x次方代替各項共有的最低次方，多提出一個x。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.negative.03",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "對－6x²－18x－12只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。 同學提案「提出6，括號內x²＋3x＋2」，請逐步改正。",
      "input": {
        "polynomial": [
          -12,
          -18,
          -6
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "status": "已提出正最大公因式",
          "coefficient": "6",
          "power": 0,
          "remaining": [
            "2",
            "3",
            "1"
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "6",
        "power": 0,
        "remaining": [
          "-2",
          "-3",
          "-1"
        ]
      },
      "solutionSteps": [
        "外面提的是正公因數，括號負係數不能全變正。",
        "非零係數的正最大公因數6；最低x次方0。",
        "提出6，括號內－x²－3x－2。",
        "乘回：6·(－x²－3x－2)＝－6x²－18x－12，每欄還原。"
      ],
      "why": "外面提的是正公因數，括號負係數不能全變正。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.negative.04",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "對x²＋3x＋5只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。 同學提案「提出5，括號內x²＋3x＋5」，請逐步改正。",
      "input": {
        "polynomial": [
          5,
          3,
          1
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "status": "已提出正最大公因式",
          "coefficient": "5",
          "power": 0,
          "remaining": [
            "5",
            "3",
            "1"
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "status": "沒有非平凡公因式",
        "coefficient": "1",
        "power": 0,
        "remaining": [
          "5",
          "3",
          "1"
        ]
      },
      "solutionSteps": [
        "只看常數5就當全部係數公因數，但3和1不是5的倍數。",
        "非零係數的正最大公因數1；最低x次方0。",
        "提出1，括號內x²＋3x＋5。",
        "乘回：1·(x²＋3x＋5)＝x²＋3x＋5，每欄還原。",
        "沒有非平凡公因式；提1只是恆等，不表示其他因式分解方法也不可能。"
      ],
      "why": "只看常數5就當全部係數公因數，但3和1不是5的倍數。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.negative.05",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：布林係數不能當1；不是學生數學錯題。",
      "input": {
        "polynomial": [
          true,
          12,
          6
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "block",
      "expectedAnswer": null,
      "solutionSteps": [
        "原係數/次方/項數或結構超出契約，不作任意字串運算",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "工程守衛：布林係數不能當1；不是學生數學錯題。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.negative.06",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：巨大整數超原係數有限範圍，不先做乘冪/枚舉因數。",
      "input": {
        "polynomial": [
          100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
          12,
          6
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "block",
      "expectedAnswer": null,
      "solutionSteps": [
        "原係數/次方/項數或結構超出契約，不作任意字串運算",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "工程守衛：巨大整數超原係數有限範圍，不先做乘冪/枚舉因數。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.boundary.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對0只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          0
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "零式不指定唯一公因式",
        "coefficient": "0",
        "power": 0,
        "remaining": [
          "0"
        ]
      },
      "solutionSteps": [
        "原式是0，所有係數都0。",
        "不能從零式指定唯一正最大公因式；保留0，不冒稱已分成兩一次因式。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.boundary.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對1只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "沒有非平凡公因式",
        "coefficient": "1",
        "power": 0,
        "remaining": [
          "1"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數1；最低x次方0。",
        "提出1，括號內1。",
        "乘回：1·(1)＝1，每欄還原。",
        "沒有非平凡公因式；提1只是恆等，不表示其他因式分解方法也不可能。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.boundary.03",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對x只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          0,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "1",
        "power": 1,
        "remaining": [
          "1"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數1；最低x次方1。",
        "提出1x，括號內1。",
        "乘回：1x·(1)＝x，每欄還原。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.boundary.04",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對－1只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          -1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "沒有非平凡公因式",
        "coefficient": "1",
        "power": 0,
        "remaining": [
          "-1"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數1；最低x次方0。",
        "提出1，括號內－1。",
        "乘回：1·(－1)＝－1，每欄還原。",
        "沒有非平凡公因式；提1只是恆等，不表示其他因式分解方法也不可能。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.ambiguous.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "原式8x²＋？，問號係數未確認，正最大公因式與括號內餘式能確定嗎？",
      "input": {
        "polynomial": [
          null,
          0,
          8
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": null,
      "solutionSteps": [
        "缺少原式的係數、次方或寫法，先確認題目，不自行補值。",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.ambiguous.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "原式2x²＋？x，問號係數未確認，正最大公因式與括號內餘式能確定嗎？",
      "input": {
        "polynomial": [
          0,
          null,
          2
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": null,
      "solutionSteps": [
        "缺少原式的係數、次方或寫法，先確認題目，不自行補值。",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.holdout.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對8x²＋20x＋12只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          12,
          20,
          8
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "4",
        "power": 0,
        "remaining": [
          "3",
          "5",
          "2"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數4；最低x次方0。",
        "提出4，括號內2x²＋5x＋3。",
        "乘回：4·(2x²＋5x＋3)＝8x²＋20x＋12，每欄還原。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.holdout.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對25x²－15x只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          0,
          -15,
          25
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "5",
        "power": 1,
        "remaining": [
          "-3",
          "5"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數5；最低x次方1。",
        "提出5x，括號內5x－3。",
        "乘回：5x·(5x－3)＝25x²－15x，每欄還原。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.holdout.03",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對－14x²－21只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          -21,
          0,
          -14
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "7",
        "power": 0,
        "remaining": [
          "-3",
          "0",
          "-2"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數7；最低x次方0。",
        "提出7，括號內－2x²－3。",
        "乘回：7·(－2x²－3)＝－14x²－21，每欄還原。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-common-factor.holdout.04",
      "code": "A-8-5",
      "subtypeId": "g8-poly-common-factor",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "對21x²＋14x只提正最大整數公因子與最低x次方；不要求本步把括號內繼續分完。",
      "input": {
        "polynomial": [
          0,
          14,
          21
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已提出正最大公因式",
        "coefficient": "7",
        "power": 1,
        "remaining": [
          "2",
          "3"
        ]
      },
      "solutionSteps": [
        "非零係數的正最大公因數7；最低x次方1。",
        "提出7x，括號內3x＋2。",
        "乘回：7x·(3x＋2)＝21x²＋14x，每欄還原。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先圈每個非零項都有的係數因子與x，不能只看最高次項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.normal.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理x²＋6x＋9；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          9,
          6,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "3",
            "1"
          ],
          [
            "3",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x＋3)、(x＋3)。",
        "首項乘積1×1×1＝1；常數乘積1×3×3＝9。",
        "中項核對：1×(1×3＋3×1)＝6。",
        "因式分解1·(x＋3)(x＋3)；再展開得x²＋6x＋9。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.normal.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理4x²－12x＋9；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          9,
          -12,
          4
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-3",
            "2"
          ],
          [
            "-3",
            "2"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(2x－3)、(2x－3)。",
        "首項乘積1×2×2＝4；常數乘積1×(-3)×(-3)＝9。",
        "中項核對：1×(2×(-3)＋(-3)×2)＝(-12)。",
        "因式分解1·(2x－3)(2x－3)；再展開得4x²－12x＋9。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.normal.03",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理9x²－16；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          -16,
          0,
          9
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-4",
            "3"
          ],
          [
            "4",
            "3"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(3x－4)、(3x＋4)。",
        "首項乘積1×3×3＝9；常數乘積1×(-4)×4＝(-16)。",
        "中項核對：1×(3×4＋(-4)×3)＝0。",
        "因式分解1·(3x－4)(3x＋4)；再展開得9x²－16。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.normal.04",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理x²＋x＋1；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          1,
          1,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "公式未匹配",
        "scalar": "1",
        "factors": []
      },
      "solutionSteps": [
        "原係數為a=1、b=1、c=1。",
        "首尾平方/中項兩倍乘積或平方差條件未全符合。",
        "本次公式法未匹配，不能說原式在所有數域都不能分。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.normal.05",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理8x²＋24x＋18；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          18,
          24,
          8
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "2",
        "factors": [
          [
            "3",
            "2"
          ],
          [
            "3",
            "2"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容2；選一次因式(2x＋3)、(2x＋3)。",
        "首項乘積2×2×2＝8；常數乘積2×3×3＝18。",
        "中項核對：2×(2×3＋3×2)＝24。",
        "因式分解2·(2x＋3)(2x＋3)；再展開得8x²＋24x＋18。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.normal.06",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理－4x²＋12x－9；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          -9,
          12,
          -4
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "-1",
        "factors": [
          [
            "-3",
            "2"
          ],
          [
            "-3",
            "2"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容(-1)；選一次因式(2x－3)、(2x－3)。",
        "首項乘積(-1)×2×2＝(-4)；常數乘積(-1)×(-3)×(-3)＝(-9)。",
        "中項核對：(-1)×(2×(-3)＋(-3)×2)＝12。",
        "因式分解(-1)·(2x－3)(2x－3)；再展開得－4x²＋12x－9。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.normal.07",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理4x²；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          0,
          0,
          4
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "4",
        "factors": [
          [
            "0",
            "1"
          ],
          [
            "0",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容4；選一次因式(x)、(x)。",
        "首項乘積4×1×1＝4；常數乘積4×0×0＝0。",
        "中項核對：4×(1×0＋0×1)＝0。",
        "因式分解4·(x)(x)；再展開得4x²。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.normal.08",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理9x²＋30x＋25；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          25,
          30,
          9
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "5",
            "3"
          ],
          [
            "5",
            "3"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(3x＋5)、(3x＋5)。",
        "首項乘積1×3×3＝9；常數乘積1×5×5＝25。",
        "中項核對：1×(3×5＋5×3)＝30。",
        "因式分解1·(3x＋5)(3x＋5)；再展開得9x²＋30x＋25。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.negative.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "以乘法公式處理x²＋6x＋9；不符合此法時明說，不硬湊。 同學提案「1·(x－3)(x＋3)」，請逐步改正。",
      "input": {
        "polynomial": [
          9,
          6,
          1
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "status": "已分成一次因式",
          "scalar": "1",
          "factors": [
            [
              "-3",
              "1"
            ],
            [
              "3",
              "1"
            ]
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "3",
            "1"
          ],
          [
            "3",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "把完全平方誤當平方差，原中項6x與常數正9都沒核對。",
        "先提係數內容1；選一次因式(x＋3)、(x＋3)。",
        "首項乘積1×1×1＝1；常數乘積1×3×3＝9。",
        "中項核對：1×(1×3＋3×1)＝6。",
        "因式分解1·(x＋3)(x＋3)；再展開得x²＋6x＋9。"
      ],
      "why": "把完全平方誤當平方差，原中項6x與常數正9都沒核對。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.negative.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "以乘法公式處理4x²－12x＋9；不符合此法時明說，不硬湊。 同學提案「1·(2x＋3)(2x＋3)」，請逐步改正。",
      "input": {
        "polynomial": [
          9,
          -12,
          4
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "status": "已分成一次因式",
          "scalar": "1",
          "factors": [
            [
              "3",
              "2"
            ],
            [
              "3",
              "2"
            ]
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-3",
            "2"
          ],
          [
            "-3",
            "2"
          ]
        ]
      },
      "solutionSteps": [
        "中項負12x卻寫成兩個正常數因子，展開變正12x。",
        "先提係數內容1；選一次因式(2x－3)、(2x－3)。",
        "首項乘積1×2×2＝4；常數乘積1×(-3)×(-3)＝9。",
        "中項核對：1×(2×(-3)＋(-3)×2)＝(-12)。",
        "因式分解1·(2x－3)(2x－3)；再展開得4x²－12x＋9。"
      ],
      "why": "中項負12x卻寫成兩個正常數因子，展開變正12x。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.negative.03",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "以乘法公式處理9x²－16；不符合此法時明說，不硬湊。 同學提案「1·(3x－4)(3x－4)」，請逐步改正。",
      "input": {
        "polynomial": [
          -16,
          0,
          9
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "status": "已分成一次因式",
          "scalar": "1",
          "factors": [
            [
              "-4",
              "3"
            ],
            [
              "-4",
              "3"
            ]
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-4",
            "3"
          ],
          [
            "4",
            "3"
          ]
        ]
      },
      "solutionSteps": [
        "平方差寫成兩個同號因子，會多出交叉項且常數變正。",
        "先提係數內容1；選一次因式(3x－4)、(3x＋4)。",
        "首項乘積1×3×3＝9；常數乘積1×(-4)×4＝(-16)。",
        "中項核對：1×(3×4＋(-4)×3)＝0。",
        "因式分解1·(3x－4)(3x＋4)；再展開得9x²－16。"
      ],
      "why": "平方差寫成兩個同號因子，會多出交叉項且常數變正。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.negative.04",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "以乘法公式處理x²＋x＋1；不符合此法時明說，不硬湊。 同學提案「1·(x＋1)(x＋1)」，請逐步改正。",
      "input": {
        "polynomial": [
          1,
          1,
          1
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "status": "已分成一次因式",
          "scalar": "1",
          "factors": [
            [
              "1",
              "1"
            ],
            [
              "1",
              "1"
            ]
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "status": "公式未匹配",
        "scalar": "1",
        "factors": []
      },
      "solutionSteps": [
        "只看首尾平方，忘了中項應2x而原式是x。",
        "原係數為a=1、b=1、c=1。",
        "首尾平方/中項兩倍乘積或平方差條件未全符合。",
        "本次公式法未匹配，不能說原式在所有數域都不能分。"
      ],
      "why": "只看首尾平方，忘了中項應2x而原式是x。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.negative.05",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：布林係數不能當1；不是學生數學錯題。",
      "input": {
        "polynomial": [
          true,
          6,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "block",
      "expectedAnswer": null,
      "solutionSteps": [
        "原係數/次方/項數或結構超出契約，不作任意字串運算",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "工程守衛：布林係數不能當1；不是學生數學錯題。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.negative.06",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：巨大整數超原係數有限範圍，不先做乘冪/枚舉因數。",
      "input": {
        "polynomial": [
          100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
          6,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "block",
      "expectedAnswer": null,
      "solutionSteps": [
        "原係數/次方/項數或結構超出契約，不作任意字串運算",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "工程守衛：巨大整數超原係數有限範圍，不先做乘冪/枚舉因數。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.boundary.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理x²；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          0,
          0,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "0",
            "1"
          ],
          [
            "0",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x)、(x)。",
        "首項乘積1×1×1＝1；常數乘積1×0×0＝0。",
        "中項核對：1×(1×0＋0×1)＝0。",
        "因式分解1·(x)(x)；再展開得x²。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.boundary.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理x²＋1；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          1,
          0,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "公式未匹配",
        "scalar": "1",
        "factors": []
      },
      "solutionSteps": [
        "原係數為a=1、b=0、c=1。",
        "首尾平方/中項兩倍乘積或平方差條件未全符合。",
        "本次公式法未匹配，不能說原式在所有數域都不能分。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.boundary.03",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理x²－1；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          -1,
          0,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-1",
            "1"
          ],
          [
            "1",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x－1)、(x＋1)。",
        "首項乘積1×1×1＝1；常數乘積1×(-1)×1＝(-1)。",
        "中項核對：1×(1×1＋(-1)×1)＝0。",
        "因式分解1·(x－1)(x＋1)；再展開得x²－1。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.boundary.04",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理x²＋2x＋1；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          1,
          2,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "1",
            "1"
          ],
          [
            "1",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x＋1)、(x＋1)。",
        "首項乘積1×1×1＝1；常數乘積1×1×1＝1。",
        "中項核對：1×(1×1＋1×1)＝2。",
        "因式分解1·(x＋1)(x＋1)；再展開得x²＋2x＋1。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.ambiguous.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "原式8x²＋24x＋？，問號係數未確認，完整一次因式分解能確定嗎？",
      "input": {
        "polynomial": [
          null,
          24,
          8
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": null,
      "solutionSteps": [
        "缺少原式的係數、次方或寫法，先確認題目，不自行補值。",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.ambiguous.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "原式－4x²＋？x－9，問號係數未確認，完整一次因式分解能確定嗎？",
      "input": {
        "polynomial": [
          -9,
          null,
          -4
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": null,
      "solutionSteps": [
        "缺少原式的係數、次方或寫法，先確認題目，不自行補值。",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.holdout.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理16x²－40x＋25；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          25,
          -40,
          16
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-5",
            "4"
          ],
          [
            "-5",
            "4"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(4x－5)、(4x－5)。",
        "首項乘積1×4×4＝16；常數乘積1×(-5)×(-5)＝25。",
        "中項核對：1×(4×(-5)＋(-5)×4)＝(-40)。",
        "因式分解1·(4x－5)(4x－5)；再展開得16x²－40x＋25。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.holdout.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理4x²－49；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          -49,
          0,
          4
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-7",
            "2"
          ],
          [
            "7",
            "2"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(2x－7)、(2x＋7)。",
        "首項乘積1×2×2＝4；常數乘積1×(-7)×7＝(-49)。",
        "中項核對：1×(2×7＋(-7)×2)＝0。",
        "因式分解1·(2x－7)(2x＋7)；再展開得4x²－49。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.holdout.03",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理3x²＋12x＋12；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          12,
          12,
          3
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "3",
        "factors": [
          [
            "2",
            "1"
          ],
          [
            "2",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容3；選一次因式(x＋2)、(x＋2)。",
        "首項乘積3×1×1＝3；常數乘積3×2×2＝12。",
        "中項核對：3×(1×2＋2×1)＝12。",
        "因式分解3·(x＋2)(x＋2)；再展開得3x²＋12x＋12。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-formula-factor.holdout.04",
      "code": "A-8-5",
      "subtypeId": "g8-poly-formula-factor",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以乘法公式處理x²＋5x＋4；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          4,
          5,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "公式未匹配",
        "scalar": "1",
        "factors": []
      },
      "solutionSteps": [
        "原係數為a=1、b=5、c=4。",
        "首尾平方/中項兩倍乘積或平方差條件未全符合。",
        "本次公式法未匹配，不能說原式在所有數域都不能分。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.normal.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理x²＋5x＋6；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          6,
          5,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "2",
            "1"
          ],
          [
            "3",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x＋2)、(x＋3)。",
        "首項乘積1×1×1＝1；常數乘積1×2×3＝6。",
        "中項核對：1×(1×3＋2×1)＝5。",
        "因式分解1·(x＋2)(x＋3)；再展開得x²＋5x＋6。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.normal.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理x²＋x－6；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          -6,
          1,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-2",
            "1"
          ],
          [
            "3",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x－2)、(x＋3)。",
        "首項乘積1×1×1＝1；常數乘積1×(-2)×3＝(-6)。",
        "中項核對：1×(1×3＋(-2)×1)＝1。",
        "因式分解1·(x－2)(x＋3)；再展開得x²＋x－6。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.normal.03",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理3x²＋11x＋6；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          6,
          11,
          3
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "3",
            "1"
          ],
          [
            "2",
            "3"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x＋3)、(3x＋2)。",
        "首項乘積1×1×3＝3；常數乘積1×3×2＝6。",
        "中項核對：1×(1×2＋3×3)＝11。",
        "因式分解1·(x＋3)(3x＋2)；再展開得3x²＋11x＋6。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.normal.04",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理x²＋x＋1；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          1,
          1,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "整係數一次因式未找到",
        "scalar": "1",
        "factors": []
      },
      "solutionSteps": [
        "對x²＋x＋1列整數首尾因數對。",
        "每對交叉乘積和都不等於中項1，本整係數一次因式域未找到。",
        "不把沒有整係數分解說成沒有實數根或所有數域不可分。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.normal.05",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理－x²－5x－6；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          -6,
          -5,
          -1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "-1",
        "factors": [
          [
            "2",
            "1"
          ],
          [
            "3",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容(-1)；選一次因式(x＋2)、(x＋3)。",
        "首項乘積(-1)×1×1＝(-1)；常數乘積(-1)×2×3＝(-6)。",
        "中項核對：(-1)×(1×3＋2×1)＝(-5)。",
        "因式分解(-1)·(x＋2)(x＋3)；再展開得－x²－5x－6。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.normal.06",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理2x²＋5x；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          0,
          5,
          2
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "0",
            "1"
          ],
          [
            "5",
            "2"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x)、(2x＋5)。",
        "首項乘積1×1×2＝2；常數乘積1×0×5＝0。",
        "中項核對：1×(1×5＋0×2)＝5。",
        "因式分解1·(x)(2x＋5)；再展開得2x²＋5x。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.normal.07",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理x²＋4x＋4；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          4,
          4,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "2",
            "1"
          ],
          [
            "2",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x＋2)、(x＋2)。",
        "首項乘積1×1×1＝1；常數乘積1×2×2＝4。",
        "中項核對：1×(1×2＋2×1)＝4。",
        "因式分解1·(x＋2)(x＋2)；再展開得x²＋4x＋4。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.normal.08",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理4x²＋14x＋12；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          12,
          14,
          4
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "2",
        "factors": [
          [
            "2",
            "1"
          ],
          [
            "3",
            "2"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容2；選一次因式(x＋2)、(2x＋3)。",
        "首項乘積2×1×2＝4；常數乘積2×2×3＝12。",
        "中項核對：2×(1×3＋2×2)＝14。",
        "因式分解2·(x＋2)(2x＋3)；再展開得4x²＋14x＋12。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.negative.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理x²＋5x＋6；不符合此法時明說，不硬湊。 同學提案「1·(x＋1)(x＋6)」，請逐步改正。",
      "input": {
        "polynomial": [
          6,
          5,
          1
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "status": "已分成一次因式",
          "scalar": "1",
          "factors": [
            [
              "1",
              "1"
            ],
            [
              "6",
              "1"
            ]
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "2",
            "1"
          ],
          [
            "3",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "首尾乘積對了但交叉和7不是中項5。",
        "先提係數內容1；選一次因式(x＋2)、(x＋3)。",
        "首項乘積1×1×1＝1；常數乘積1×2×3＝6。",
        "中項核對：1×(1×3＋2×1)＝5。",
        "因式分解1·(x＋2)(x＋3)；再展開得x²＋5x＋6。"
      ],
      "why": "首尾乘積對了但交叉和7不是中項5。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.negative.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理x²＋x－6；不符合此法時明說，不硬湊。 同學提案「1·(x＋2)(x－3)」，請逐步改正。",
      "input": {
        "polynomial": [
          -6,
          1,
          1
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "status": "已分成一次因式",
          "scalar": "1",
          "factors": [
            [
              "2",
              "1"
            ],
            [
              "-3",
              "1"
            ]
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-2",
            "1"
          ],
          [
            "3",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "正負常數對調，交叉和變−1而原中項是1。",
        "先提係數內容1；選一次因式(x－2)、(x＋3)。",
        "首項乘積1×1×1＝1；常數乘積1×(-2)×3＝(-6)。",
        "中項核對：1×(1×3＋(-2)×1)＝1。",
        "因式分解1·(x－2)(x＋3)；再展開得x²＋x－6。"
      ],
      "why": "正負常數對調，交叉和變−1而原中項是1。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.negative.03",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理3x²＋11x＋6；不符合此法時明說，不硬湊。 同學提案「1·(3x＋3)(x＋2)」，請逐步改正。",
      "input": {
        "polynomial": [
          6,
          11,
          3
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "status": "已分成一次因式",
          "scalar": "1",
          "factors": [
            [
              "3",
              "3"
            ],
            [
              "2",
              "1"
            ]
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "3",
            "1"
          ],
          [
            "2",
            "3"
          ]
        ]
      },
      "solutionSteps": [
        "首尾配對沒有驗交叉和，得到9而原中項是11。",
        "先提係數內容1；選一次因式(x＋3)、(3x＋2)。",
        "首項乘積1×1×3＝3；常數乘積1×3×2＝6。",
        "中項核對：1×(1×2＋3×3)＝11。",
        "因式分解1·(x＋3)(3x＋2)；再展開得3x²＋11x＋6。"
      ],
      "why": "首尾配對沒有驗交叉和，得到9而原中項是11。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.negative.04",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理x²＋x＋1；不符合此法時明說，不硬湊。 同學提案「1·(x＋1)(x＋1)」，請逐步改正。",
      "input": {
        "polynomial": [
          1,
          1,
          1
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "status": "已分成一次因式",
          "scalar": "1",
          "factors": [
            [
              "1",
              "1"
            ],
            [
              "1",
              "1"
            ]
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "status": "整係數一次因式未找到",
        "scalar": "1",
        "factors": []
      },
      "solutionSteps": [
        "硬湊兩個x＋1，交叉和2不是中項1；本整係數域沒有此分法。",
        "對x²＋x＋1列整數首尾因數對。",
        "每對交叉乘積和都不等於中項1，本整係數一次因式域未找到。",
        "不把沒有整係數分解說成沒有實數根或所有數域不可分。"
      ],
      "why": "硬湊兩個x＋1，交叉和2不是中項1；本整係數域沒有此分法。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.negative.05",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：布林係數不能當1；不是學生數學錯題。",
      "input": {
        "polynomial": [
          true,
          5,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "block",
      "expectedAnswer": null,
      "solutionSteps": [
        "原係數/次方/項數或結構超出契約，不作任意字串運算",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "工程守衛：布林係數不能當1；不是學生數學錯題。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.negative.06",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：巨大整數超原係數有限範圍，不先做乘冪/枚舉因數。",
      "input": {
        "polynomial": [
          100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000,
          5,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "block",
      "expectedAnswer": null,
      "solutionSteps": [
        "原係數/次方/項數或結構超出契約，不作任意字串運算",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "工程守衛：巨大整數超原係數有限範圍，不先做乘冪/枚舉因數。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.boundary.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理x²；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          0,
          0,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "0",
            "1"
          ],
          [
            "0",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x)、(x)。",
        "首項乘積1×1×1＝1；常數乘積1×0×0＝0。",
        "中項核對：1×(1×0＋0×1)＝0。",
        "因式分解1·(x)(x)；再展開得x²。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.boundary.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理x²＋1；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          1,
          0,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "整係數一次因式未找到",
        "scalar": "1",
        "factors": []
      },
      "solutionSteps": [
        "對x²＋1列整數首尾因數對。",
        "每對交叉乘積和都不等於中項0，本整係數一次因式域未找到。",
        "不把沒有整係數分解說成沒有實數根或所有數域不可分。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.boundary.03",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理x²－1；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          -1,
          0,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-1",
            "1"
          ],
          [
            "1",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x－1)、(x＋1)。",
        "首項乘積1×1×1＝1；常數乘積1×(-1)×1＝(-1)。",
        "中項核對：1×(1×1＋(-1)×1)＝0。",
        "因式分解1·(x－1)(x＋1)；再展開得x²－1。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.boundary.04",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理x²－2x＋1；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          1,
          -2,
          1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-1",
            "1"
          ],
          [
            "-1",
            "1"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x－1)、(x－1)。",
        "首項乘積1×1×1＝1；常數乘積1×(-1)×(-1)＝1。",
        "中項核對：1×(1×(-1)＋(-1)×1)＝(-2)。",
        "因式分解1·(x－1)(x－1)；再展開得x²－2x＋1。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.ambiguous.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "原式－x²－5x＋？，問號係數未確認，完整一次因式分解能確定嗎？",
      "input": {
        "polynomial": [
          null,
          -5,
          -1
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": null,
      "solutionSteps": [
        "缺少原式的係數、次方或寫法，先確認題目，不自行補值。",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.ambiguous.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "原式2x²＋？x，問號係數未確認，完整一次因式分解能確定嗎？",
      "input": {
        "polynomial": [
          0,
          null,
          2
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": null,
      "solutionSteps": [
        "缺少原式的係數、次方或寫法，先確認題目，不自行補值。",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.holdout.01",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理3x²＋10x＋8；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          8,
          10,
          3
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "2",
            "1"
          ],
          [
            "4",
            "3"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x＋2)、(3x＋4)。",
        "首項乘積1×1×3＝3；常數乘積1×2×4＝8。",
        "中項核對：1×(1×4＋2×3)＝10。",
        "因式分解1·(x＋2)(3x＋4)；再展開得3x²＋10x＋8。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.holdout.02",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理2x²＋7x－15；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          -15,
          7,
          2
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "5",
            "1"
          ],
          [
            "-3",
            "2"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x＋5)、(2x－3)。",
        "首項乘積1×1×2＝2；常數乘積1×5×(-3)＝(-15)。",
        "中項核對：1×(1×(-3)＋5×2)＝7。",
        "因式分解1·(x＋5)(2x－3)；再展開得2x²＋7x－15。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.holdout.03",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理4x²－12x＋9；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          9,
          -12,
          4
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-3",
            "2"
          ],
          [
            "-3",
            "2"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(2x－3)、(2x－3)。",
        "首項乘積1×2×2＝4；常數乘積1×(-3)×(-3)＝9。",
        "中項核對：1×(2×(-3)＋(-3)×2)＝(-12)。",
        "因式分解1·(2x－3)(2x－3)；再展開得4x²－12x＋9。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-cross-factor.holdout.04",
      "code": "A-8-5",
      "subtypeId": "g8-poly-cross-factor",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "以十字交乘（整係數一次因式域）處理2x²－9x＋10；不符合此法時明說，不硬湊。",
      "input": {
        "polynomial": [
          10,
          -9,
          2
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "status": "已分成一次因式",
        "scalar": "1",
        "factors": [
          [
            "-2",
            "1"
          ],
          [
            "-5",
            "2"
          ]
        ]
      },
      "solutionSteps": [
        "先提係數內容1；選一次因式(x－2)、(2x－5)。",
        "首項乘積1×1×2＝2；常數乘積1×(-2)×(-5)＝10。",
        "中項核對：1×(1×(-5)＋(-2)×2)＝(-9)。",
        "因式分解1·(x－2)(2x－5)；再展開得2x²－9x＋10。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先核對首尾，再核對中間係數；三個係數都相同才是同一多項式。",
      "teacherReviewed": false,
      "appConnected": false
    }
  ],
  "teacherReviewed": false,
  "appConnected": false
}
