{
  "code": "A-8-2",
  "title": "國二一元多項式定義與相關名詞",
  "scope": [
    "保留原定義域後判化簡形式",
    "同次項合併，零係數不算項"
  ],
  "limitations": [
    "只配對結構化已確認原項/係數/次方，未驗證OCR或任意式子字串。",
    "每型24例有限教學案例，不代表整碼全驗；未教師審核/未接App。",
    "原係數與項數有限域是工程/教學包範圍，不假稱正式課綱額外限制。",
    "只有限單項式和，不解析分母含多項式、根式樹或其他任意原式。",
    "判化簡後形式，允負/分數次方或y項形式抵消，但domainRestrictions保留原定義域；不宣稱原函數因此擴域。零式次數不定。"
  ],
  "prerequisites": [
    "有理數正負四則、分配律、同底數整數次方運算與代數式同類項；不先用一元二次求根公式"
  ],
  "source": {
    "url": "https://edu.law.moe.gov.tw/Download.ashx?FileID=31051&id=GL001788&type=LAW",
    "sha256": "a9fd74c24933b16e256fcbcfe77ccf24e687dc5c5795b45215859d3a1439ef21",
    "physicalPages": [
      42
    ],
    "textExtractLines": [
      3316,
      3323
    ],
    "verbatimLocalTextExcerpt": "A-8-2 \n多項式的意義 ：一元多項\n式的定義與相關名詞 （多項\n式、項數、係數、常數項、\n一次項 、 二次項 、 最高次項 、\n升冪、降冪）。 \n  \na-IV-5 "
  },
  "subtypes": [
    {
      "id": "g8-poly-polynomial-definition",
      "title": "保留原定義域後判化簡形式",
      "method": {
        "name": "保留原定義域後判化簡形式",
        "steps": [
          "先標記負/分數指數的原定義域。",
          "依變數與相同指數合併係數。",
          "只檢查合併後仍存在的負/分數次方或y項。",
          "化簡後只有x的非負整數次方才為一元多項式；零式次數不定，原定義域仍保留。"
        ],
        "guards": [
          "只接受已確認有限結構，不eval任意原字串。",
          "缺少係數/次方/角色先確認；本包原量上限不冒充官方上限。"
        ]
      },
      "applicability": [
        "原式單一變數/候選角色及係數已核對"
      ],
      "exclusions": [
        "一般二元因式分解、任意字串解析、未確認OCR、分離係數法不在本包"
      ],
      "inputContract": {
        "required": [
          "terms"
        ],
        "raw": "整係數-50..50；多項式升冪係數陣列；意義項最多8項次方0..6；定義辨識另含-3..6半整指數與y項",
        "task": [
          "solve",
          "check_proposal"
        ],
        "confirmed": "true才算，必要欄/已提供結構中的缺值先confirm",
        "derived": "獨立有界64位數值解析；因式乘積按展開係數接受因子調序/符號和等值尺度，不只比字串",
        "modeDetails": "1..8項；係數-50..50，變數x/y，次方-3..6的整數或半整數；先合併同變數指數再判剩餘項；負/分數次方或y項可形式抵消，但原定義域條件必須輸出保留，不能補點"
      },
      "ifNotUnderstood": "先標記負/分數指數的原定義域。"
    },
    {
      "id": "g8-poly-canonical-meaning",
      "title": "同次項合併，零係數不算項",
      "method": {
        "name": "同次項合併，零係數不算項",
        "steps": [
          "按x次方把係數放到同一欄。",
          "每欄係數相加。",
          "刪去零係數項，再數項數與最高次。",
          "常數是0次欄；依冪次排列升冪與降冪，不能按係數大小排。"
        ],
        "guards": [
          "只接受已確認有限結構，不eval任意原字串。",
          "缺少係數/次方/角色先確認；本包原量上限不冒充官方上限。"
        ]
      },
      "applicability": [
        "原式單一變數/候選角色及係數已核對"
      ],
      "exclusions": [
        "一般二元因式分解、任意字串解析、未確認OCR、分離係數法不在本包"
      ],
      "inputContract": {
        "required": [
          "terms"
        ],
        "raw": "整係數-50..50；多項式升冪係數陣列；意義項最多8項次方0..6；定義辨識另含-3..6半整指數與y項",
        "task": [
          "solve",
          "check_proposal"
        ],
        "confirmed": "true才算，必要欄/已提供結構中的缺值先confirm",
        "derived": "獨立有界64位數值解析；因式乘積按展開係數接受因子調序/符號和等值尺度，不只比字串",
        "modeDetails": "1..8項，變數只x，次方整數0..6；先合併，零式項數0、次數不定；輸出升降冪項表"
      },
      "ifNotUnderstood": "按x次方把係數放到同一欄。"
    }
  ],
  "cases": [
    {
      "id": "g8-poly-polynomial-definition.normal.01",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 2x^(2)＋(-3)x^(1)＋1 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 2,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": -3,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": true,
        "degree": 2,
        "reasonCode": "化簡後為一元多項式",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：x^2係數2；x^1係數(-3)；常數^0係數1。",
        "結論：化簡後形式是x的一元多項式，次數2。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.normal.02",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 1x^(-1)＋2 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": -1,
            "variable": "x"
          },
          {
            "coefficient": 2,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": false,
        "degree": "不適用",
        "reasonCode": "合併後仍有負或非整指數",
        "domainRestrictions": [
          "x≠0"
        ]
      },
      "solutionSteps": [
        "先保留原定義域：x≠0。",
        "同變數同指數合併；非零項為：x^(-1)係數1；常數^0係數2。",
        "結論：化簡後仍不是x一元多項式：合併後仍有負或非整指數。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.normal.03",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 1x^(1/2)＋3 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": "1/2",
            "variable": "x"
          },
          {
            "coefficient": 3,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": false,
        "degree": "不適用",
        "reasonCode": "合併後仍有負或非整指數",
        "domainRestrictions": [
          "x≥0"
        ]
      },
      "solutionSteps": [
        "先保留原定義域：x≥0。",
        "同變數同指數合併；非零項為：x^(1/2)係數1；常數^0係數3。",
        "結論：化簡後仍不是x一元多項式：合併後仍有負或非整指數。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.normal.04",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 2x^(1)＋3y^(1) 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 2,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 3,
            "exponent": 1,
            "variable": "y"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": false,
        "degree": "不適用",
        "reasonCode": "合併後仍含第二變數",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：x^1係數2；y^1係數3。",
        "結論：化簡後仍不是x一元多項式：合併後仍含第二變數。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.normal.05",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 1y^(2)＋(-1)y^(2)＋3x^(1) 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": 2,
            "variable": "y"
          },
          {
            "coefficient": -1,
            "exponent": 2,
            "variable": "y"
          },
          {
            "coefficient": 3,
            "exponent": 1,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": true,
        "degree": 1,
        "reasonCode": "化簡後為一元多項式",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：x^1係數3。",
        "結論：化簡後形式是x的一元多項式，次數1。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.normal.06",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 2＋1x^(2) 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 2,
            "exponent": 0,
            "variable": "y"
          },
          {
            "coefficient": 1,
            "exponent": 2,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": true,
        "degree": 2,
        "reasonCode": "化簡後為一元多項式",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：常數^0係數2；x^2係數1。",
        "結論：化簡後形式是x的一元多項式，次數2。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.normal.07",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 (-4)x^(3)＋2x^(2) 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": -4,
            "exponent": 3,
            "variable": "x"
          },
          {
            "coefficient": 2,
            "exponent": 2,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": true,
        "degree": 3,
        "reasonCode": "化簡後為一元多項式",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：x^3係數(-4)；x^2係數2。",
        "結論：化簡後形式是x的一元多項式，次數3。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.normal.08",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 0y^(1)＋5 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 0,
            "exponent": 1,
            "variable": "y"
          },
          {
            "coefficient": 5,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": true,
        "degree": 0,
        "reasonCode": "化簡後為一元多項式",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：常數^0係數5。",
        "結論：化簡後形式是x的一元多項式，次數0。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.negative.01",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "保留原定義域，將 2x^(2)＋(-3)x^(1)＋1 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。 同學提案「不是x的一元多項式」，請逐步改正。",
      "input": {
        "terms": [
          {
            "coefficient": 2,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": -3,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "isPolynomial": false,
          "degree": 2,
          "reasonCode": "化簡後為一元多項式",
          "domainRestrictions": []
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "isPolynomial": true,
        "degree": 2,
        "reasonCode": "化簡後為一元多項式",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "誤以為一元多項式只能一次；一元是只一種變數，不限一次。",
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：x^2係數2；x^1係數(-3)；常數^0係數1。",
        "結論：化簡後形式是x的一元多項式，次數2。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "誤以為一元多項式只能一次；一元是只一種變數，不限一次。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.negative.02",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "保留原定義域，將 1x^(-1)＋2 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。 同學提案「是x的一元多項式」，請逐步改正。",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": -1,
            "variable": "x"
          },
          {
            "coefficient": 2,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "isPolynomial": true,
          "degree": "不適用",
          "reasonCode": "合併後仍有負或非整指數",
          "domainRestrictions": [
            "x≠0"
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "isPolynomial": false,
        "degree": "不適用",
        "reasonCode": "合併後仍有負或非整指數",
        "domainRestrictions": [
          "x≠0"
        ]
      },
      "solutionSteps": [
        "把x的負指數當成多項式合法次方；原式在x=0未定義不能抹去。",
        "先保留原定義域：x≠0。",
        "同變數同指數合併；非零項為：x^(-1)係數1；常數^0係數2。",
        "結論：化簡後仍不是x一元多項式：合併後仍有負或非整指數。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "把x的負指數當成多項式合法次方；原式在x=0未定義不能抹去。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.negative.03",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "保留原定義域，將 1x^(1/2)＋3 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。 同學提案「是x的一元多項式」，請逐步改正。",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": "1/2",
            "variable": "x"
          },
          {
            "coefficient": 3,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "isPolynomial": true,
          "degree": "不適用",
          "reasonCode": "合併後仍有負或非整指數",
          "domainRestrictions": [
            "x≥0"
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "isPolynomial": false,
        "degree": "不適用",
        "reasonCode": "合併後仍有負或非整指數",
        "domainRestrictions": [
          "x≥0"
        ]
      },
      "solutionSteps": [
        "分數指數不符合多項式非負整數次方定義。",
        "先保留原定義域：x≥0。",
        "同變數同指數合併；非零項為：x^(1/2)係數1；常數^0係數3。",
        "結論：化簡後仍不是x一元多項式：合併後仍有負或非整指數。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "分數指數不符合多項式非負整數次方定義。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.negative.04",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "保留原定義域，將 2x^(1)＋3y^(1) 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。 同學提案「是x的一元多項式」，請逐步改正。",
      "input": {
        "terms": [
          {
            "coefficient": 2,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 3,
            "exponent": 1,
            "variable": "y"
          }
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "isPolynomial": true,
          "degree": "不適用",
          "reasonCode": "合併後仍含第二變數",
          "domainRestrictions": []
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "isPolynomial": false,
        "degree": "不適用",
        "reasonCode": "合併後仍含第二變數",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "只看見x就判一元，漏掉沒有抵消的y項。",
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：x^1係數2；y^1係數3。",
        "結論：化簡後仍不是x一元多項式：合併後仍含第二變數。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "只看見x就判一元，漏掉沒有抵消的y項。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.negative.05",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：布林係數不能當1；不是學生數學錯題。",
      "input": {
        "terms": [
          {
            "coefficient": true,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": -3,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "block",
      "expectedAnswer": null,
      "solutionSteps": [
        "原係數/次方/項數或結構超出契約，不作任意字串運算",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "工程守衛：布林係數不能當1；不是學生數學錯題。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.negative.06",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "此大次方定義題本身可判，但超有限指數觀察域，不任意建立巨大係數陣列。",
      "input": {
        "terms": [
          {
            "coefficient": 2,
            "exponent": 1000000,
            "variable": "x"
          },
          {
            "coefficient": -3,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "block",
      "expectedAnswer": null,
      "solutionSteps": [
        "原係數/次方/項數或結構超出契約，不作任意字串運算",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "此大次方定義題本身可判，但超有限指數觀察域，不任意建立巨大係數陣列。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.boundary.01",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 0 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 0,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": true,
        "degree": "零多項式次數不定",
        "reasonCode": "化簡後為一元多項式",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：全部抵消，形式為0。",
        "結論：化簡後形式是x的一元多項式，次數零多項式次數不定。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.boundary.02",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 1x^(6) 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": 6,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": true,
        "degree": 6,
        "reasonCode": "化簡後為一元多項式",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：x^6係數1。",
        "結論：化簡後形式是x的一元多項式，次數6。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.boundary.03",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 1x^(-1)＋(-1)x^(-1) 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": -1,
            "variable": "x"
          },
          {
            "coefficient": -1,
            "exponent": -1,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": true,
        "degree": "零多項式次數不定",
        "reasonCode": "化簡後為一元多項式",
        "domainRestrictions": [
          "x≠0"
        ]
      },
      "solutionSteps": [
        "先保留原定義域：x≠0。",
        "同變數同指數合併；非零項為：全部抵消，形式為0。",
        "結論：化簡後形式是x的一元多項式，次數零多項式次數不定。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.boundary.04",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 1 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": 0,
            "variable": "y"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": true,
        "degree": 0,
        "reasonCode": "化簡後為一元多項式",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：常數^0係數1。",
        "結論：化簡後形式是x的一元多項式，次數0。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.ambiguous.01",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "原式y的未知次方項與−y²、3x相加，第一項次方被遮住，是否仍是x一元多項式？",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": null,
            "variable": "y"
          },
          {
            "coefficient": -1,
            "exponent": 2,
            "variable": "y"
          },
          {
            "coefficient": 3,
            "exponent": 1,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": null,
      "solutionSteps": [
        "缺少原式的係數、次方或寫法，先確認題目，不自行補值。",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.ambiguous.02",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "原式−4乘某變數的三次方，再加2x²；該變數是x還是y被遮住，是否為x一元多項式？",
      "input": {
        "terms": [
          {
            "coefficient": -4,
            "exponent": 3,
            "variable": null
          },
          {
            "coefficient": 2,
            "exponent": 2,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": null,
      "solutionSteps": [
        "缺少原式的係數、次方或寫法，先確認題目，不自行補值。",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.holdout.01",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 7x^(4)＋(-2) 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 7,
            "exponent": 4,
            "variable": "x"
          },
          {
            "coefficient": -2,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": true,
        "degree": 4,
        "reasonCode": "化簡後為一元多項式",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：x^4係數7；常數^0係數(-2)。",
        "結論：化簡後形式是x的一元多項式，次數4。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.holdout.02",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 3x^(3/2)＋2x^(1) 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 3,
            "exponent": "3/2",
            "variable": "x"
          },
          {
            "coefficient": 2,
            "exponent": 1,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": false,
        "degree": "不適用",
        "reasonCode": "合併後仍有負或非整指數",
        "domainRestrictions": [
          "x≥0"
        ]
      },
      "solutionSteps": [
        "先保留原定義域：x≥0。",
        "同變數同指數合併；非零項為：x^(3/2)係數3；x^1係數2。",
        "結論：化簡後仍不是x一元多項式：合併後仍有負或非整指數。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.holdout.03",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 5y^(2)＋(-3)y^(1) 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 5,
            "exponent": 2,
            "variable": "y"
          },
          {
            "coefficient": -3,
            "exponent": 1,
            "variable": "y"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": false,
        "degree": "不適用",
        "reasonCode": "合併後仍含第二變數",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：y^2係數5；y^1係數(-3)。",
        "結論：化簡後仍不是x一元多項式：合併後仍含第二變數。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-polynomial-definition.holdout.04",
      "code": "A-8-2",
      "subtypeId": "g8-poly-polynomial-definition",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "保留原定義域，將 4y^(1)＋(-4)y^(1)＋2x^(5)＋6 的同變數同指數項合併後，判斷所得形式是否為x的一元多項式。",
      "input": {
        "terms": [
          {
            "coefficient": 4,
            "exponent": 1,
            "variable": "y"
          },
          {
            "coefficient": -4,
            "exponent": 1,
            "variable": "y"
          },
          {
            "coefficient": 2,
            "exponent": 5,
            "variable": "x"
          },
          {
            "coefficient": 6,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "isPolynomial": true,
        "degree": 5,
        "reasonCode": "化簡後為一元多項式",
        "domainRestrictions": []
      },
      "solutionSteps": [
        "先保留原定義域：本有限項式無額外限制。",
        "同變數同指數合併；非零項為：x^5係數2；常數^0係數6。",
        "結論：化簡後形式是x的一元多項式，次數5。",
        "定義域限制保留，不因抵消就把原本未定義的點補進去。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先標出原式不允許的點，再把相同變數與指數的係數合併；只看合併後仍存在的項。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.normal.01",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 3x^(2)＋(-2)x^(1)＋4 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": 3,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": -2,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 4,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "4",
          "-2",
          "3"
        ],
        "termCount": 3,
        "degree": 2,
        "leadingCoefficient": "3",
        "constant": "4",
        "ascending": [
          {
            "coefficient": "4",
            "power": 0
          },
          {
            "coefficient": "-2",
            "power": 1
          },
          {
            "coefficient": "3",
            "power": 2
          }
        ],
        "descending": [
          {
            "coefficient": "3",
            "power": 2
          },
          {
            "coefficient": "-2",
            "power": 1
          },
          {
            "coefficient": "4",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "x^0欄：4＝4。",
        "x^1欄：(-2)＝(-2)。",
        "x^2欄：3＝3。",
        "合併得3x²－2x＋4；非零項共3項，次數2，最高次項係數3，常數4。",
        "升冪：4－2x＋3x²；降冪：3x²－2x＋4。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.normal.02",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 5x^(1)＋(-2)x^(1)＋3 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": 5,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": -2,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 3,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "3",
          "3"
        ],
        "termCount": 2,
        "degree": 1,
        "leadingCoefficient": "3",
        "constant": "3",
        "ascending": [
          {
            "coefficient": "3",
            "power": 0
          },
          {
            "coefficient": "3",
            "power": 1
          }
        ],
        "descending": [
          {
            "coefficient": "3",
            "power": 1
          },
          {
            "coefficient": "3",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "x^0欄：3＝3。",
        "x^1欄：5＋(-2)＝3。",
        "合併得3x＋3；非零項共2項，次數1，最高次項係數3，常數3。",
        "升冪：3＋3x；降冪：3x＋3。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.normal.03",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 1x^(3)＋(-4)x^(2)＋2x^(1)＋(-7) 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": 3,
            "variable": "x"
          },
          {
            "coefficient": -4,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": 2,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": -7,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "-7",
          "2",
          "-4",
          "1"
        ],
        "termCount": 4,
        "degree": 3,
        "leadingCoefficient": "1",
        "constant": "-7",
        "ascending": [
          {
            "coefficient": "-7",
            "power": 0
          },
          {
            "coefficient": "2",
            "power": 1
          },
          {
            "coefficient": "-4",
            "power": 2
          },
          {
            "coefficient": "1",
            "power": 3
          }
        ],
        "descending": [
          {
            "coefficient": "1",
            "power": 3
          },
          {
            "coefficient": "-4",
            "power": 2
          },
          {
            "coefficient": "2",
            "power": 1
          },
          {
            "coefficient": "-7",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "x^0欄：(-7)＝(-7)。",
        "x^1欄：2＝2。",
        "x^2欄：(-4)＝(-4)。",
        "x^3欄：1＝1。",
        "合併得x³－4x²＋2x－7；非零項共4項，次數3，最高次項係數1，常數-7。",
        "升冪：－7＋2x－4x²＋x³；降冪：x³－4x²＋2x－7。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.normal.04",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 (-2)x^(2)＋5x^(2)＋(-3) 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": -2,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": 5,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": -3,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "-3",
          "0",
          "3"
        ],
        "termCount": 2,
        "degree": 2,
        "leadingCoefficient": "3",
        "constant": "-3",
        "ascending": [
          {
            "coefficient": "-3",
            "power": 0
          },
          {
            "coefficient": "3",
            "power": 2
          }
        ],
        "descending": [
          {
            "coefficient": "3",
            "power": 2
          },
          {
            "coefficient": "-3",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "x^0欄：(-3)＝(-3)。",
        "x^2欄：(-2)＋5＝3。",
        "合併得3x²－3；非零項共2項，次數2，最高次項係數3，常數-3。",
        "升冪：－3＋3x²；降冪：3x²－3。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.normal.05",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 (-3) 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": -3,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "-3"
        ],
        "termCount": 1,
        "degree": 0,
        "leadingCoefficient": "-3",
        "constant": "-3",
        "ascending": [
          {
            "coefficient": "-3",
            "power": 0
          }
        ],
        "descending": [
          {
            "coefficient": "-3",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "x^0欄：(-3)＝(-3)。",
        "合併得－3；非零項共1項，次數0，最高次項係數-3，常數-3。",
        "升冪：－3；降冪：－3。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.normal.06",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 2x^(4)＋(-2)x^(4)＋7x^(1) 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": 2,
            "exponent": 4,
            "variable": "x"
          },
          {
            "coefficient": -2,
            "exponent": 4,
            "variable": "x"
          },
          {
            "coefficient": 7,
            "exponent": 1,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "0",
          "7"
        ],
        "termCount": 1,
        "degree": 1,
        "leadingCoefficient": "7",
        "constant": "0",
        "ascending": [
          {
            "coefficient": "7",
            "power": 1
          }
        ],
        "descending": [
          {
            "coefficient": "7",
            "power": 1
          }
        ]
      },
      "solutionSteps": [
        "x^1欄：7＝7。",
        "x^4欄：2＋(-2)＝0。",
        "合併得7x；非零項共1項，次數1，最高次項係數7，常數0。",
        "升冪：7x；降冪：7x。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.normal.07",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 (-1)x^(3)＋5x^(1) 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": -1,
            "exponent": 3,
            "variable": "x"
          },
          {
            "coefficient": 5,
            "exponent": 1,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "0",
          "5",
          "0",
          "-1"
        ],
        "termCount": 2,
        "degree": 3,
        "leadingCoefficient": "-1",
        "constant": "0",
        "ascending": [
          {
            "coefficient": "5",
            "power": 1
          },
          {
            "coefficient": "-1",
            "power": 3
          }
        ],
        "descending": [
          {
            "coefficient": "-1",
            "power": 3
          },
          {
            "coefficient": "5",
            "power": 1
          }
        ]
      },
      "solutionSteps": [
        "x^1欄：5＝5。",
        "x^3欄：(-1)＝(-1)。",
        "合併得－x³＋5x；非零項共2項，次數3，最高次項係數-1，常數0。",
        "升冪：5x－x³；降冪：－x³＋5x。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.normal.08",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 3x^(6)＋2＋(-1)x^(2) 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": 3,
            "exponent": 6,
            "variable": "x"
          },
          {
            "coefficient": 2,
            "exponent": 0,
            "variable": "x"
          },
          {
            "coefficient": -1,
            "exponent": 2,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "2",
          "0",
          "-1",
          "0",
          "0",
          "0",
          "3"
        ],
        "termCount": 3,
        "degree": 6,
        "leadingCoefficient": "3",
        "constant": "2",
        "ascending": [
          {
            "coefficient": "2",
            "power": 0
          },
          {
            "coefficient": "-1",
            "power": 2
          },
          {
            "coefficient": "3",
            "power": 6
          }
        ],
        "descending": [
          {
            "coefficient": "3",
            "power": 6
          },
          {
            "coefficient": "-1",
            "power": 2
          },
          {
            "coefficient": "2",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "x^0欄：2＝2。",
        "x^2欄：(-1)＝(-1)。",
        "x^6欄：3＝3。",
        "合併得3x^6－x²＋2；非零項共3項，次數6，最高次項係數3，常數2。",
        "升冪：2－x²＋3x^6；降冪：3x^6－x²＋2。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.negative.01",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "將 3x^(2)＋(-2)x^(1)＋4 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。 同學提案「項數2、次數2、最高次項係數3、常數4」，請逐步改正。",
      "input": {
        "terms": [
          {
            "coefficient": 3,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": -2,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 4,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "coefficients": [
            "4",
            "-2",
            "3"
          ],
          "termCount": 2,
          "degree": 2,
          "leadingCoefficient": "3",
          "constant": "4",
          "ascending": [
            {
              "coefficient": "4",
              "power": 0
            },
            {
              "coefficient": "-2",
              "power": 1
            },
            {
              "coefficient": "3",
              "power": 2
            }
          ],
          "descending": [
            {
              "coefficient": "3",
              "power": 2
            },
            {
              "coefficient": "-2",
              "power": 1
            },
            {
              "coefficient": "4",
              "power": 0
            }
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "coefficients": [
          "4",
          "-2",
          "3"
        ],
        "termCount": 3,
        "degree": 2,
        "leadingCoefficient": "3",
        "constant": "4",
        "ascending": [
          {
            "coefficient": "4",
            "power": 0
          },
          {
            "coefficient": "-2",
            "power": 1
          },
          {
            "coefficient": "3",
            "power": 2
          }
        ],
        "descending": [
          {
            "coefficient": "3",
            "power": 2
          },
          {
            "coefficient": "-2",
            "power": 1
          },
          {
            "coefficient": "4",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "把非零常數項漏數；常數也是一項。",
        "x^0欄：4＝4。",
        "x^1欄：(-2)＝(-2)。",
        "x^2欄：3＝3。",
        "合併得3x²－2x＋4；非零項共3項，次數2，最高次項係數3，常數4。",
        "升冪：4－2x＋3x²；降冪：3x²－2x＋4。零項不計入項數。"
      ],
      "why": "把非零常數項漏數；常數也是一項。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.negative.02",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "將 5x^(1)＋(-2)x^(1)＋3 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。 同學提案「項數3、次數1、最高次項係數3、常數3」，請逐步改正。",
      "input": {
        "terms": [
          {
            "coefficient": 5,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": -2,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 3,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "coefficients": [
            "3",
            "3"
          ],
          "termCount": 3,
          "degree": 1,
          "leadingCoefficient": "3",
          "constant": "3",
          "ascending": [
            {
              "coefficient": "3",
              "power": 0
            },
            {
              "coefficient": "3",
              "power": 1
            }
          ],
          "descending": [
            {
              "coefficient": "3",
              "power": 1
            },
            {
              "coefficient": "3",
              "power": 0
            }
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "coefficients": [
          "3",
          "3"
        ],
        "termCount": 2,
        "degree": 1,
        "leadingCoefficient": "3",
        "constant": "3",
        "ascending": [
          {
            "coefficient": "3",
            "power": 0
          },
          {
            "coefficient": "3",
            "power": 1
          }
        ],
        "descending": [
          {
            "coefficient": "3",
            "power": 1
          },
          {
            "coefficient": "3",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "按未合併的原項數計，5x與−2x應先合成3x。",
        "x^0欄：3＝3。",
        "x^1欄：5＋(-2)＝3。",
        "合併得3x＋3；非零項共2項，次數1，最高次項係數3，常數3。",
        "升冪：3＋3x；降冪：3x＋3。零項不計入項數。"
      ],
      "why": "按未合併的原項數計，5x與−2x應先合成3x。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.negative.03",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "將 1x^(3)＋(-4)x^(2)＋2x^(1)＋(-7) 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。 同學提案「項數4、次數7、最高次項係數1、常數-7」，請逐步改正。",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": 3,
            "variable": "x"
          },
          {
            "coefficient": -4,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": 2,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": -7,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "coefficients": [
            "-7",
            "2",
            "-4",
            "1"
          ],
          "termCount": 4,
          "degree": 7,
          "leadingCoefficient": "1",
          "constant": "-7",
          "ascending": [
            {
              "coefficient": "-7",
              "power": 0
            },
            {
              "coefficient": "2",
              "power": 1
            },
            {
              "coefficient": "-4",
              "power": 2
            },
            {
              "coefficient": "1",
              "power": 3
            }
          ],
          "descending": [
            {
              "coefficient": "1",
              "power": 3
            },
            {
              "coefficient": "-4",
              "power": 2
            },
            {
              "coefficient": "2",
              "power": 1
            },
            {
              "coefficient": "-7",
              "power": 0
            }
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "coefficients": [
          "-7",
          "2",
          "-4",
          "1"
        ],
        "termCount": 4,
        "degree": 3,
        "leadingCoefficient": "1",
        "constant": "-7",
        "ascending": [
          {
            "coefficient": "-7",
            "power": 0
          },
          {
            "coefficient": "2",
            "power": 1
          },
          {
            "coefficient": "-4",
            "power": 2
          },
          {
            "coefficient": "1",
            "power": 3
          }
        ],
        "descending": [
          {
            "coefficient": "1",
            "power": 3
          },
          {
            "coefficient": "-4",
            "power": 2
          },
          {
            "coefficient": "2",
            "power": 1
          },
          {
            "coefficient": "-7",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "把最大係數絕對值7當次數；次數看x的最高指數。",
        "x^0欄：(-7)＝(-7)。",
        "x^1欄：2＝2。",
        "x^2欄：(-4)＝(-4)。",
        "x^3欄：1＝1。",
        "合併得x³－4x²＋2x－7；非零項共4項，次數3，最高次項係數1，常數-7。",
        "升冪：－7＋2x－4x²＋x³；降冪：x³－4x²＋2x－7。零項不計入項數。"
      ],
      "why": "把最大係數絕對值7當次數；次數看x的最高指數。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.negative.04",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "將 (-2)x^(2)＋5x^(2)＋(-3) 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。 同學提案「項數2、次數2、最高次項係數3、常數3」，請逐步改正。",
      "input": {
        "terms": [
          {
            "coefficient": -2,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": 5,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": -3,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "check_proposal",
        "proposal": {
          "coefficients": [
            "-3",
            "0",
            "3"
          ],
          "termCount": 2,
          "degree": 2,
          "leadingCoefficient": "3",
          "constant": "3",
          "ascending": [
            {
              "coefficient": "-3",
              "power": 0
            },
            {
              "coefficient": "3",
              "power": 2
            }
          ],
          "descending": [
            {
              "coefficient": "3",
              "power": 2
            },
            {
              "coefficient": "-3",
              "power": 0
            }
          ]
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "coefficients": [
          "-3",
          "0",
          "3"
        ],
        "termCount": 2,
        "degree": 2,
        "leadingCoefficient": "3",
        "constant": "-3",
        "ascending": [
          {
            "coefficient": "-3",
            "power": 0
          },
          {
            "coefficient": "3",
            "power": 2
          }
        ],
        "descending": [
          {
            "coefficient": "3",
            "power": 2
          },
          {
            "coefficient": "-3",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "常數項負號也是係數的一部分，−3不能當3。",
        "x^0欄：(-3)＝(-3)。",
        "x^2欄：(-2)＋5＝3。",
        "合併得3x²－3；非零項共2項，次數2，最高次項係數3，常數-3。",
        "升冪：－3＋3x²；降冪：3x²－3。零項不計入項數。"
      ],
      "why": "常數項負號也是係數的一部分，−3不能當3。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.negative.05",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：布林係數不能當1；不是學生數學錯題。",
      "input": {
        "terms": [
          {
            "coefficient": true,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": -2,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 4,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "block",
      "expectedAnswer": null,
      "solutionSteps": [
        "原係數/次方/項數或結構超出契約，不作任意字串運算",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "工程守衛：布林係數不能當1；不是學生數學錯題。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.negative.06",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "九項原題可合併，但本有限包最多八項，先轉擴充項數模板。",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 1,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "block",
      "expectedAnswer": null,
      "solutionSteps": [
        "原係數/次方/項數或結構超出契約，不作任意字串運算",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "九項原題可合併，但本有限包最多八項，先轉擴充項數模板。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.boundary.01",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 0 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": 0,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "0"
        ],
        "termCount": 0,
        "degree": "零多項式次數不定",
        "leadingCoefficient": "無最高次項",
        "constant": "0",
        "ascending": [],
        "descending": []
      },
      "solutionSteps": [
        "x^0欄：0＝0。",
        "合併得0；非零項共0項，次數零多項式次數不定，沒有最高次項，常數0。",
        "升冪：0；降冪：0。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.boundary.02",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 1 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": 1,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "1"
        ],
        "termCount": 1,
        "degree": 0,
        "leadingCoefficient": "1",
        "constant": "1",
        "ascending": [
          {
            "coefficient": "1",
            "power": 0
          }
        ],
        "descending": [
          {
            "coefficient": "1",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "x^0欄：1＝1。",
        "合併得1；非零項共1項，次數0，最高次項係數1，常數1。",
        "升冪：1；降冪：1。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.boundary.03",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 2x^(2)＋(-2)x^(2) 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": 2,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": -2,
            "exponent": 2,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "0"
        ],
        "termCount": 0,
        "degree": "零多項式次數不定",
        "leadingCoefficient": "無最高次項",
        "constant": "0",
        "ascending": [],
        "descending": []
      },
      "solutionSteps": [
        "x^2欄：2＋(-2)＝0。",
        "合併得0；非零項共0項，次數零多項式次數不定，沒有最高次項，常數0。",
        "升冪：0；降冪：0。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.boundary.04",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 (-50)x^(6)＋50x^(6)＋1 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": -50,
            "exponent": 6,
            "variable": "x"
          },
          {
            "coefficient": 50,
            "exponent": 6,
            "variable": "x"
          },
          {
            "coefficient": 1,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "1"
        ],
        "termCount": 1,
        "degree": 0,
        "leadingCoefficient": "1",
        "constant": "1",
        "ascending": [
          {
            "coefficient": "1",
            "power": 0
          }
        ],
        "descending": [
          {
            "coefficient": "1",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "x^0欄：1＝1。",
        "x^6欄：(-50)＋50＝0。",
        "合併得1；非零項共1項，次數0，最高次項係數1，常數1。",
        "升冪：1；降冪：1。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.ambiguous.01",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "只有一個常數項，但其係數被遮住（可能0），項數與次數可確定嗎？",
      "input": {
        "terms": [
          {
            "coefficient": null,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": null,
      "solutionSteps": [
        "缺少原式的係數、次方或寫法，先確認題目，不自行補值。",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.ambiguous.02",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "原式2x⁴－2x的某次方＋7x，第二項次方被遮住，最高次與合併結果可確定嗎？",
      "input": {
        "terms": [
          {
            "coefficient": 2,
            "exponent": 4,
            "variable": "x"
          },
          {
            "coefficient": -2,
            "exponent": null,
            "variable": "x"
          },
          {
            "coefficient": 7,
            "exponent": 1,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "confirm",
      "expectedAnswer": null,
      "solutionSteps": [
        "缺少原式的係數、次方或寫法，先確認題目，不自行補值。",
        "核對原式後才回此步，不用未知係數補成0。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先指出哪一個係數、次方或呈現形式沒有看清楚。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.holdout.01",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 4x^(3)＋(-3)x^(1)＋2x^(3)＋8 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": 4,
            "exponent": 3,
            "variable": "x"
          },
          {
            "coefficient": -3,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 2,
            "exponent": 3,
            "variable": "x"
          },
          {
            "coefficient": 8,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "8",
          "-3",
          "0",
          "6"
        ],
        "termCount": 3,
        "degree": 3,
        "leadingCoefficient": "6",
        "constant": "8",
        "ascending": [
          {
            "coefficient": "8",
            "power": 0
          },
          {
            "coefficient": "-3",
            "power": 1
          },
          {
            "coefficient": "6",
            "power": 3
          }
        ],
        "descending": [
          {
            "coefficient": "6",
            "power": 3
          },
          {
            "coefficient": "-3",
            "power": 1
          },
          {
            "coefficient": "8",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "x^0欄：8＝8。",
        "x^1欄：(-3)＝(-3)。",
        "x^3欄：4＋2＝6。",
        "合併得6x³－3x＋8；非零項共3項，次數3，最高次項係數6，常數8。",
        "升冪：8－3x＋6x³；降冪：6x³－3x＋8。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.holdout.02",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 (-5)x^(2)＋7x^(2)＋(-2)x^(1) 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": -5,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": 7,
            "exponent": 2,
            "variable": "x"
          },
          {
            "coefficient": -2,
            "exponent": 1,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "0",
          "-2",
          "2"
        ],
        "termCount": 2,
        "degree": 2,
        "leadingCoefficient": "2",
        "constant": "0",
        "ascending": [
          {
            "coefficient": "-2",
            "power": 1
          },
          {
            "coefficient": "2",
            "power": 2
          }
        ],
        "descending": [
          {
            "coefficient": "2",
            "power": 2
          },
          {
            "coefficient": "-2",
            "power": 1
          }
        ]
      },
      "solutionSteps": [
        "x^1欄：(-2)＝(-2)。",
        "x^2欄：(-5)＋7＝2。",
        "合併得2x²－2x；非零項共2項，次數2，最高次項係數2，常數0。",
        "升冪：－2x＋2x²；降冪：2x²－2x。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.holdout.03",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 9x^(5)＋(-2)x^(4)＋3 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": 9,
            "exponent": 5,
            "variable": "x"
          },
          {
            "coefficient": -2,
            "exponent": 4,
            "variable": "x"
          },
          {
            "coefficient": 3,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "3",
          "0",
          "0",
          "0",
          "-2",
          "9"
        ],
        "termCount": 3,
        "degree": 5,
        "leadingCoefficient": "9",
        "constant": "3",
        "ascending": [
          {
            "coefficient": "3",
            "power": 0
          },
          {
            "coefficient": "-2",
            "power": 4
          },
          {
            "coefficient": "9",
            "power": 5
          }
        ],
        "descending": [
          {
            "coefficient": "9",
            "power": 5
          },
          {
            "coefficient": "-2",
            "power": 4
          },
          {
            "coefficient": "3",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "x^0欄：3＝3。",
        "x^4欄：(-2)＝(-2)。",
        "x^5欄：9＝9。",
        "合併得9x^5－2x^4＋3；非零項共3項，次數5，最高次項係數9，常數3。",
        "升冪：3－2x^4＋9x^5；降冪：9x^5－2x^4＋3。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "g8-poly-canonical-meaning.holdout.04",
      "code": "A-8-2",
      "subtypeId": "g8-poly-canonical-meaning",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "將 (-4)x^(1)＋4x^(1)＋(-8) 合併同類項，列升冪/降冪並找項數、次數、最高次項係數與常數。",
      "input": {
        "terms": [
          {
            "coefficient": -4,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": 4,
            "exponent": 1,
            "variable": "x"
          },
          {
            "coefficient": -8,
            "exponent": 0,
            "variable": "x"
          }
        ],
        "confirmed": true,
        "task": "solve"
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "coefficients": [
          "-8"
        ],
        "termCount": 1,
        "degree": 0,
        "leadingCoefficient": "-8",
        "constant": "-8",
        "ascending": [
          {
            "coefficient": "-8",
            "power": 0
          }
        ],
        "descending": [
          {
            "coefficient": "-8",
            "power": 0
          }
        ]
      },
      "solutionSteps": [
        "x^0欄：(-8)＝(-8)。",
        "x^1欄：(-4)＋4＝0。",
        "合併得－8；非零項共1項，次數0，最高次項係數-8，常數-8。",
        "升冪：－8；降冪：－8。零項不計入項數。"
      ],
      "why": "逐係數守恆與定義角色核對，不以一次代值碰巧相等代替恆等。",
      "ifNotUnderstood": "先將同次項排同一欄，缺項放0，再看原式符號。",
      "teacherReviewed": false,
      "appConnected": false
    }
  ],
  "teacherReviewed": false,
  "appConnected": false
}
