{
  "schemaVersion": 1,
  "code": "D-9-2",
  "title": "認識機率",
  "priority": "P2",
  "sourceExcerpt": {
    "code": "D-9-2",
    "grade": 9,
    "domain": "D",
    "topic": "認識機率",
    "sourcePage": 46,
    "excerpt": "認識機率：機率的意義；樹狀圖（以兩層為限）。以樹狀圖分析所有的可能性，國中階段以對稱性（節點相同）的樹狀圖為主。d-IV-2"
  },
  "scope": [
    "已確認等可能有限基本結果的事件機率",
    "兩層同節點有序樹的等可能事件葉",
    "實驗相對頻率與理論機率角色區分"
  ],
  "inputContract": {
    "task": [
      "solve",
      "verify_proposal"
    ],
    "confirmation": "所有必要條件含語意確認先掃缺欄/null及列表內缺原值；缺漏優先confirm，再驗型別/範圍。",
    "inputNumbers": "整數或12位分段有限小數/分數；分子絕對值/分母≤1000000；禁bool/float/e記法，整數先界限後str。",
    "derivedAnswers": "獨立256位分段/514字元/10^512有理數域；依明確numeric欄位解析，非數字外觀標籤不轉數值。",
    "answerSemantics": "numeric接受等值有理數；ratio接受同比例正數；事件/樹葉外層為集合接受順序不同，但單一葉的第1/2次順序不可交換，拒重複/錯標籤；原觀察排序/五數定位/份量A-B-C仍有序。",
    "decisions": {
      "pass": "合法完整題正常解說（含無正量解/無整件解/空資料/0次實驗），或正確提案。",
      "reject": "格式非法或錯提案；錯提案仍保留correctSolution。",
      "confirm": "真缺原值、條件/慣例/等可能性未確認，或資料相互矛盾。",
      "block": "明示超有限方法契約；不說原題無解。"
    }
  },
  "subtypes": [
    {
      "id": "probability-equal-space",
      "title": "已確認等可能有限基本結果的事件機率",
      "required": [
        "outcomes",
        "event",
        "partitionConfirmed",
        "equalLikelyConfirmed"
      ],
      "guards": [
        "最多16個互斥完整基本結果，標籤唯一且等可能已確認。",
        "事件是樣本空間子集；事件清單無重複。",
        "空事件機率0，必然事件1；空樣本空間不是可計機率的試驗。"
      ],
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。"
    },
    {
      "id": "probability-two-stage",
      "title": "兩層同節點有序樹的等可能事件葉",
      "required": [
        "firstOutcomes",
        "secondOutcomes",
        "eventLeaves",
        "partitionConfirmed",
        "orderedTrialsConfirmed",
        "firstEqualLikelyConfirmed",
        "secondConditionalEqualLikelyConfirmed",
        "sameSecondChoicesConfirmed"
      ],
      "guards": [
        "各層最多8標籤，總葉最多64；第2層每枝相同結果，且在各枝內等可能已確認。",
        "兩次先後不可交換；只允許兩層，不默套無放回的非對稱樹。",
        "事件是有序葉集合，不重複；外層順序可換，單葉第1/2次位置不可換。"
      ],
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。"
    },
    {
      "id": "probability-experimental-frequency",
      "title": "實驗相對頻率與理論機率角色區分",
      "required": [
        "trials",
        "successes",
        "experimentConfirmed"
      ],
      "guards": [
        "同一批/同一成功定義先確認。",
        "次數是0..10000整數，成功不可多於全部；矛盾先確認。",
        "0次沒有相對頻率；有限實驗不單獨決定理論機率。"
      ],
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。"
    }
  ],
  "cases": [
    {
      "id": "D-9-2.probability-equal-space.normal.01",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：紅、藍、綠。事件包含紅，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "紅",
          "藍",
          "綠"
        ],
        "event": [
          "紅"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 3,
        "favorableCount": 1,
        "eventOutcomes": [
          "紅"
        ],
        "probability": "1/3"
      },
      "solutionSteps": [
        "分母數全部基本結果，共3個；不是只數事件的結果。",
        "分子數事件結果：紅，共1個，各結果不重複。",
        "已確認等可能才可算P＝1÷3＝1/3。",
        "0≤1/3≤1；事件與其補集共有3個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.normal.02",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：1、2、3、4、5、6。事件包含2、4、6，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "1",
          "2",
          "3",
          "4",
          "5",
          "6"
        ],
        "event": [
          "2",
          "4",
          "6"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 6,
        "favorableCount": 3,
        "eventOutcomes": [
          "2",
          "4",
          "6"
        ],
        "probability": "1/2"
      },
      "solutionSteps": [
        "分母數全部基本結果，共6個；不是只數事件的結果。",
        "分子數事件結果：2、4、6，共3個，各結果不重複。",
        "已確認等可能才可算P＝3÷6＝1/2。",
        "0≤1/2≤1；事件與其補集共有6個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.normal.03",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：A、B、C、D。事件包含無結果，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "A",
          "B",
          "C",
          "D"
        ],
        "event": [],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 4,
        "favorableCount": 0,
        "eventOutcomes": [],
        "probability": "0"
      },
      "solutionSteps": [
        "分母數全部基本結果，共4個；不是只數事件的結果。",
        "分子數事件結果：無結果，共0個，各結果不重複。",
        "已確認等可能才可算P＝0÷4＝0。",
        "0≤0≤1；事件與其補集共有4個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.normal.04",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：甲、乙。事件包含甲、乙，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "甲",
          "乙"
        ],
        "event": [
          "甲",
          "乙"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 2,
        "favorableCount": 2,
        "eventOutcomes": [
          "乙",
          "甲"
        ],
        "probability": "1"
      },
      "solutionSteps": [
        "分母數全部基本結果，共2個；不是只數事件的結果。",
        "分子數事件結果：甲、乙，共2個，各結果不重複。",
        "已確認等可能才可算P＝2÷2＝1。",
        "0≤1≤1；事件與其補集共有2個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.normal.05",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：0、1、2、3、4。事件包含0、1，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "0",
          "1",
          "2",
          "3",
          "4"
        ],
        "event": [
          "0",
          "1"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 5,
        "favorableCount": 2,
        "eventOutcomes": [
          "0",
          "1"
        ],
        "probability": "2/5"
      },
      "solutionSteps": [
        "分母數全部基本結果，共5個；不是只數事件的結果。",
        "分子數事件結果：0、1，共2個，各結果不重複。",
        "已確認等可能才可算P＝2÷5＝2/5。",
        "0≤2/5≤1；事件與其補集共有5個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.normal.06",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：01、1、2。事件包含01、1，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "01",
          "1",
          "2"
        ],
        "event": [
          "01",
          "1"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 3,
        "favorableCount": 2,
        "eventOutcomes": [
          "01",
          "1"
        ],
        "probability": "2/3"
      },
      "solutionSteps": [
        "分母數全部基本結果，共3個；不是只數事件的結果。",
        "分子數事件結果：01、1，共2個，各結果不重複。",
        "已確認等可能才可算P＝2÷3＝2/3。",
        "0≤2/3≤1；事件與其補集共有3個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.normal.07",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：a、b。事件包含b，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "a",
          "b"
        ],
        "event": [
          "b"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 2,
        "favorableCount": 1,
        "eventOutcomes": [
          "b"
        ],
        "probability": "1/2"
      },
      "solutionSteps": [
        "分母數全部基本結果，共2個；不是只數事件的結果。",
        "分子數事件結果：b，共1個，各結果不重複。",
        "已確認等可能才可算P＝1÷2＝1/2。",
        "0≤1/2≤1；事件與其補集共有2個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.normal.08",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：東、西、南、北。事件包含東、南、北，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "東",
          "西",
          "南",
          "北"
        ],
        "event": [
          "東",
          "南",
          "北"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 4,
        "favorableCount": 3,
        "eventOutcomes": [
          "北",
          "南",
          "東"
        ],
        "probability": "3/4"
      },
      "solutionSteps": [
        "分母數全部基本結果，共4個；不是只數事件的結果。",
        "分子數事件結果：東、南、北，共3個，各結果不重複。",
        "已確認等可能才可算P＝3÷4＝3/4。",
        "0≤3/4≤1；事件與其補集共有4個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.boundary.01",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：空列表。事件包含無結果，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [],
        "event": [],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "empty-sample-space"
      },
      "solutionSteps": [
        "確認列表中沒有任何基本結果。",
        "沒有可供進行此試驗的非空樣本空間，不能用0/0當機率。",
        "先重新定義可進行的試驗，不把沒有試驗等同事件機率0。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.boundary.02",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：唯一。事件包含無結果，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "唯一"
        ],
        "event": [],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 1,
        "favorableCount": 0,
        "eventOutcomes": [],
        "probability": "0"
      },
      "solutionSteps": [
        "分母數全部基本結果，共1個；不是只數事件的結果。",
        "分子數事件結果：無結果，共0個，各結果不重複。",
        "已確認等可能才可算P＝0÷1＝0。",
        "0≤0≤1；事件與其補集共有1個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.boundary.03",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：唯一。事件包含唯一，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "唯一"
        ],
        "event": [
          "唯一"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 1,
        "favorableCount": 1,
        "eventOutcomes": [
          "唯一"
        ],
        "probability": "1"
      },
      "solutionSteps": [
        "分母數全部基本結果，共1個；不是只數事件的結果。",
        "分子數事件結果：唯一，共1個，各結果不重複。",
        "已確認等可能才可算P＝1÷1＝1。",
        "0≤1≤1；事件與其補集共有1個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.boundary.04",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：A、B、C、D。事件包含A、B、C、D，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "A",
          "B",
          "C",
          "D"
        ],
        "event": [
          "A",
          "B",
          "C",
          "D"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 4,
        "favorableCount": 4,
        "eventOutcomes": [
          "A",
          "B",
          "C",
          "D"
        ],
        "probability": "1"
      },
      "solutionSteps": [
        "分母數全部基本結果，共4個；不是只數事件的結果。",
        "分子數事件結果：A、B、C、D，共4個，各結果不重複。",
        "已確認等可能才可算P＝4÷4＝1。",
        "0≤1≤1；事件與其補集共有4個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.holdout.01",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：白、黑、灰、藍。事件包含白、黑，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "白",
          "黑",
          "灰",
          "藍"
        ],
        "event": [
          "白",
          "黑"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 4,
        "favorableCount": 2,
        "eventOutcomes": [
          "白",
          "黑"
        ],
        "probability": "1/2"
      },
      "solutionSteps": [
        "分母數全部基本結果，共4個；不是只數事件的結果。",
        "分子數事件結果：白、黑，共2個，各結果不重複。",
        "已確認等可能才可算P＝2÷4＝1/2。",
        "0≤1/2≤1；事件與其補集共有4個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.holdout.02",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：一、二、三、四、五、六、七。事件包含一、三、五，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "一",
          "二",
          "三",
          "四",
          "五",
          "六",
          "七"
        ],
        "event": [
          "一",
          "三",
          "五"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 7,
        "favorableCount": 3,
        "eventOutcomes": [
          "一",
          "三",
          "五"
        ],
        "probability": "3/7"
      },
      "solutionSteps": [
        "分母數全部基本結果，共7個；不是只數事件的結果。",
        "分子數事件結果：一、三、五，共3個，各結果不重複。",
        "已確認等可能才可算P＝3÷7＝3/7。",
        "0≤3/7≤1；事件與其補集共有7個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.holdout.03",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：甲班、乙班、丙班。事件包含乙班、丙班，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "甲班",
          "乙班",
          "丙班"
        ],
        "event": [
          "乙班",
          "丙班"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 3,
        "favorableCount": 2,
        "eventOutcomes": [
          "丙班",
          "乙班"
        ],
        "probability": "2/3"
      },
      "solutionSteps": [
        "分母數全部基本結果，共3個；不是只數事件的結果。",
        "分子數事件結果：乙班、丙班，共2個，各結果不重複。",
        "已確認等可能才可算P＝2÷3＝2/3。",
        "0≤2/3≤1；事件與其補集共有3個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.holdout.04",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：X、Y、Z。事件包含無結果，求事件理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "X",
          "Y",
          "Z"
        ],
        "event": [],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-equal-probability",
        "totalOutcomes": 3,
        "favorableCount": 0,
        "eventOutcomes": [],
        "probability": "0"
      },
      "solutionSteps": [
        "分母數全部基本結果，共3個；不是只數事件的結果。",
        "分子數事件結果：無結果，共0個，各結果不重複。",
        "已確認等可能才可算P＝0÷3＝0。",
        "0≤0≤1；事件與其補集共有3個結果，不能因『發生/不發生』兩個名稱就各半。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.negative.01",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：紅、藍、綠。事件包含紅，求事件理論機率。 學生說「事件發生或不發生只有兩種名稱，所以各半」，請核對並定位出錯一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "outcomes": [
          "紅",
          "藍",
          "綠"
        ],
        "event": [
          "紅"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true,
        "proposal": {
          "classification": "theoretical-equal-probability",
          "totalOutcomes": 3,
          "favorableCount": 1,
          "eventOutcomes": [
            "紅"
          ],
          "probability": "1/2"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "theoretical-equal-probability",
          "totalOutcomes": 3,
          "favorableCount": 1,
          "eventOutcomes": [
            "紅"
          ],
          "probability": "1/3"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "分母數全部基本結果，共3個；不是只數事件的結果。",
        "分子數事件結果：紅，共1個，各結果不重複。",
        "已確認等可能才可算P＝1÷3＝1/3。",
        "0≤1/3≤1；事件與其補集共有3個結果，不能因『發生/不發生』兩個名稱就各半。",
        "基本等可能結果是紅、藍、綠共3個，紅只有1個；不紅包含藍與綠2個，P紅=1/3、不紅=2/3，兩個事件名稱不代表等可能。",
        "回數原基本結果：有利1／全部3，不是只憑兩種事件名稱猜。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.negative.02",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：1、2、3、4、5、6。事件包含2、4、6，求事件理論機率。 學生說「只拿事件3個結果當分母，3除3」，請核對並定位出錯一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "outcomes": [
          "1",
          "2",
          "3",
          "4",
          "5",
          "6"
        ],
        "event": [
          "2",
          "4",
          "6"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true,
        "proposal": {
          "classification": "theoretical-equal-probability",
          "totalOutcomes": 6,
          "favorableCount": 3,
          "eventOutcomes": [
            "2",
            "4",
            "6"
          ],
          "probability": "1"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "theoretical-equal-probability",
          "totalOutcomes": 6,
          "favorableCount": 3,
          "eventOutcomes": [
            "2",
            "4",
            "6"
          ],
          "probability": "1/2"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "分母數全部基本結果，共6個；不是只數事件的結果。",
        "分子數事件結果：2、4、6，共3個，各結果不重複。",
        "已確認等可能才可算P＝3÷6＝1/2。",
        "0≤1/2≤1；事件與其補集共有6個結果，不能因『發生/不發生』兩個名稱就各半。",
        "基本結果是1到6共6個；事件2、4、6只有3個，應3/6=1/2，分母不是事件自己。",
        "回數原基本結果：有利3／全部6，不是只憑兩種事件名稱猜。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.negative.03",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：A、B、C、D。事件包含無結果，求事件理論機率。 學生說「空事件也先留一個可能結果」，請核對並定位出錯一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "outcomes": [
          "A",
          "B",
          "C",
          "D"
        ],
        "event": [],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true,
        "proposal": {
          "classification": "theoretical-equal-probability",
          "totalOutcomes": 4,
          "favorableCount": 0,
          "eventOutcomes": [],
          "probability": "1/4"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "theoretical-equal-probability",
          "totalOutcomes": 4,
          "favorableCount": 0,
          "eventOutcomes": [],
          "probability": "0"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "分母數全部基本結果，共4個；不是只數事件的結果。",
        "分子數事件結果：無結果，共0個，各結果不重複。",
        "已確認等可能才可算P＝0÷4＝0。",
        "0≤0≤1；事件與其補集共有4個結果，不能因『發生/不發生』兩個名稱就各半。",
        "事件明示不含任何結果，分子是0，不是1；0/4=0。",
        "回數原基本結果：有利0／全部4，不是只憑兩種事件名稱猜。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.negative.04",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認基本結果互斥、完整且每個等可能：甲、乙。事件包含甲、乙，求事件理論機率。 學生說「必然事件還是發生/不發生各半」，請核對並定位出錯一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "outcomes": [
          "甲",
          "乙"
        ],
        "event": [
          "甲",
          "乙"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true,
        "proposal": {
          "classification": "theoretical-equal-probability",
          "totalOutcomes": 2,
          "favorableCount": 2,
          "eventOutcomes": [
            "乙",
            "甲"
          ],
          "probability": "1/2"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "theoretical-equal-probability",
          "totalOutcomes": 2,
          "favorableCount": 2,
          "eventOutcomes": [
            "乙",
            "甲"
          ],
          "probability": "1"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "分母數全部基本結果，共2個；不是只數事件的結果。",
        "分子數事件結果：甲、乙，共2個，各結果不重複。",
        "已確認等可能才可算P＝2÷2＝1。",
        "0≤1≤1；事件與其補集共有2個結果，不能因『發生/不發生』兩個名稱就各半。",
        "事件包含樣本空間甲與乙全部2個結果，P=2/2=1；補集沒有結果，不是另一個等可能基本結果。",
        "回數原基本結果：有利2／全部2，不是只憑兩種事件名稱猜。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.negative.05",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：原數值或觀察資料集合傳入布林/超長非法格式，不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": true,
        "event": [
          "紅"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "bounded-label-list-required"
      },
      "solutionSteps": [
        "先檢查型別與有界數字文法，不把布林當數。",
        "非法格式不進入算式、排序或樣本空間運算。",
        "請重新提供原資料，工程錯誤不當學生程度。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.negative.06",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：原數值或觀察資料集合傳入布林/超長非法格式，不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": "999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999",
        "event": [
          "紅"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "bounded-label-list-required"
      },
      "solutionSteps": [
        "先檢查型別與有界數字文法，不把布林當數。",
        "非法格式不進入算式、排序或樣本空間運算。",
        "請重新提供原資料，工程錯誤不當學生程度。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.ambiguous.01",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "事件是抽到紅色，但完整基本結果列表看不清，可能還有其他色；請先確認完整樣本空間，再找分母。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": null,
        "event": [
          "紅"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": true
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出缺少的完整結果、等可能前提、分支條件或實驗次數。",
        "保留已知事件，不能因有兩種事件名稱就補各1/2。",
        "確認後沿本子型的列結果/數葉/實驗比值方法繼續。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-equal-space.ambiguous.02",
      "code": "D-9-2",
      "subtypeId": "probability-equal-space",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "基本結果紅、藍、綠與事件紅已知，但各色等可能尚未確認；若區域或個數不同就不能用1/3，請先確認公平性或權重。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "outcomes": [
          "紅",
          "藍",
          "綠"
        ],
        "event": [
          "紅"
        ],
        "partitionConfirmed": true,
        "equalLikelyConfirmed": null
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出缺少的完整結果、等可能前提、分支條件或實驗次數。",
        "保留已知事件，不能因有兩種事件名稱就補各1/2。",
        "確認後沿本子型的列結果/數葉/實驗比值方法繼續。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先把全部等可能基本結果各畫一格，再圈事件的格；分母數全部、分子數被圈，先別用「成功/失敗」兩個字猜。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.normal.01",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果正、反，每一個第1層分支下的第2層完整結果都為正、反；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(正,反)、(反,正)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "正",
          "反"
        ],
        "secondOutcomes": [
          "正",
          "反"
        ],
        "eventLeaves": [
          [
            "正",
            "反"
          ],
          [
            "反",
            "正"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "反",
            "反"
          ],
          [
            "反",
            "正"
          ],
          [
            "正",
            "反"
          ],
          [
            "正",
            "正"
          ]
        ],
        "eventLeaves": [
          [
            "反",
            "正"
          ],
          [
            "正",
            "反"
          ]
        ],
        "totalLeaves": 4,
        "favorableCount": 2,
        "probability": "1/2"
      },
      "solutionSteps": [
        "第1次正分支的葉：(正,正)、(正,反)，每枝數量相同。",
        "第1次反分支的葉：(反,正)、(反,反)，每枝數量相同。",
        "總葉數＝2×2＝4，不是2＋2。",
        "每葉機率＝(1/2)×(1/2)＝1/4；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共2葉：(正,反)、(反,正)；P＝2÷4＝1/2。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.normal.02",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果A、B，每一個第1層分支下的第2層完整結果都為1、2、3；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(A,2)、(B,3)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "A",
          "B"
        ],
        "secondOutcomes": [
          "1",
          "2",
          "3"
        ],
        "eventLeaves": [
          [
            "A",
            "2"
          ],
          [
            "B",
            "3"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "A",
            "1"
          ],
          [
            "A",
            "2"
          ],
          [
            "A",
            "3"
          ],
          [
            "B",
            "1"
          ],
          [
            "B",
            "2"
          ],
          [
            "B",
            "3"
          ]
        ],
        "eventLeaves": [
          [
            "A",
            "2"
          ],
          [
            "B",
            "3"
          ]
        ],
        "totalLeaves": 6,
        "favorableCount": 2,
        "probability": "1/3"
      },
      "solutionSteps": [
        "第1次A分支的葉：(A,1)、(A,2)、(A,3)，每枝數量相同。",
        "第1次B分支的葉：(B,1)、(B,2)、(B,3)，每枝數量相同。",
        "總葉數＝2×3＝6，不是2＋3。",
        "每葉機率＝(1/2)×(1/3)＝1/6；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共2葉：(A,2)、(B,3)；P＝2÷6＝1/3。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.normal.03",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果正、反，每一個第1層分支下的第2層完整結果都為正、反；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(正,反)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "正",
          "反"
        ],
        "secondOutcomes": [
          "正",
          "反"
        ],
        "eventLeaves": [
          [
            "正",
            "反"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "反",
            "反"
          ],
          [
            "反",
            "正"
          ],
          [
            "正",
            "反"
          ],
          [
            "正",
            "正"
          ]
        ],
        "eventLeaves": [
          [
            "正",
            "反"
          ]
        ],
        "totalLeaves": 4,
        "favorableCount": 1,
        "probability": "1/4"
      },
      "solutionSteps": [
        "第1次正分支的葉：(正,正)、(正,反)，每枝數量相同。",
        "第1次反分支的葉：(反,正)、(反,反)，每枝數量相同。",
        "總葉數＝2×2＝4，不是2＋2。",
        "每葉機率＝(1/2)×(1/2)＝1/4；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共1葉：(正,反)；P＝1÷4＝1/4。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.normal.04",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果1、2、3，每一個第1層分支下的第2層完整結果都為a、b；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(1,a)、(1,b)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "1",
          "2",
          "3"
        ],
        "secondOutcomes": [
          "a",
          "b"
        ],
        "eventLeaves": [
          [
            "1",
            "a"
          ],
          [
            "1",
            "b"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "1",
            "a"
          ],
          [
            "1",
            "b"
          ],
          [
            "2",
            "a"
          ],
          [
            "2",
            "b"
          ],
          [
            "3",
            "a"
          ],
          [
            "3",
            "b"
          ]
        ],
        "eventLeaves": [
          [
            "1",
            "a"
          ],
          [
            "1",
            "b"
          ]
        ],
        "totalLeaves": 6,
        "favorableCount": 2,
        "probability": "1/3"
      },
      "solutionSteps": [
        "第1次1分支的葉：(1,a)、(1,b)，每枝數量相同。",
        "第1次2分支的葉：(2,a)、(2,b)，每枝數量相同。",
        "第1次3分支的葉：(3,a)、(3,b)，每枝數量相同。",
        "總葉數＝3×2＝6，不是3＋2。",
        "每葉機率＝(1/3)×(1/2)＝1/6；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共2葉：(1,a)、(1,b)；P＝2÷6＝1/3。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.normal.05",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果A，每一個第1層分支下的第2層完整結果都為x、y、z；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(A,x)、(A,y)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "A"
        ],
        "secondOutcomes": [
          "x",
          "y",
          "z"
        ],
        "eventLeaves": [
          [
            "A",
            "x"
          ],
          [
            "A",
            "y"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "A",
            "x"
          ],
          [
            "A",
            "y"
          ],
          [
            "A",
            "z"
          ]
        ],
        "eventLeaves": [
          [
            "A",
            "x"
          ],
          [
            "A",
            "y"
          ]
        ],
        "totalLeaves": 3,
        "favorableCount": 2,
        "probability": "2/3"
      },
      "solutionSteps": [
        "第1次A分支的葉：(A,x)、(A,y)、(A,z)，每枝數量相同。",
        "總葉數＝1×3＝3，不是1＋3。",
        "每葉機率＝(1/1)×(1/3)＝1/3；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共2葉：(A,x)、(A,y)；P＝2÷3＝2/3。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.normal.06",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果1、2、3，每一個第1層分支下的第2層完整結果都為紅、藍；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(2,紅)、(3,紅)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "1",
          "2",
          "3"
        ],
        "secondOutcomes": [
          "紅",
          "藍"
        ],
        "eventLeaves": [
          [
            "2",
            "紅"
          ],
          [
            "3",
            "紅"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "1",
            "紅"
          ],
          [
            "1",
            "藍"
          ],
          [
            "2",
            "紅"
          ],
          [
            "2",
            "藍"
          ],
          [
            "3",
            "紅"
          ],
          [
            "3",
            "藍"
          ]
        ],
        "eventLeaves": [
          [
            "2",
            "紅"
          ],
          [
            "3",
            "紅"
          ]
        ],
        "totalLeaves": 6,
        "favorableCount": 2,
        "probability": "1/3"
      },
      "solutionSteps": [
        "第1次1分支的葉：(1,紅)、(1,藍)，每枝數量相同。",
        "第1次2分支的葉：(2,紅)、(2,藍)，每枝數量相同。",
        "第1次3分支的葉：(3,紅)、(3,藍)，每枝數量相同。",
        "總葉數＝3×2＝6，不是3＋2。",
        "每葉機率＝(1/3)×(1/2)＝1/6；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共2葉：(2,紅)、(3,紅)；P＝2÷6＝1/3。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.normal.07",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果01、1，每一個第1層分支下的第2層完整結果都為0、1；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(01,1)、(1,0)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "01",
          "1"
        ],
        "secondOutcomes": [
          "0",
          "1"
        ],
        "eventLeaves": [
          [
            "01",
            "1"
          ],
          [
            "1",
            "0"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "01",
            "0"
          ],
          [
            "01",
            "1"
          ],
          [
            "1",
            "0"
          ],
          [
            "1",
            "1"
          ]
        ],
        "eventLeaves": [
          [
            "01",
            "1"
          ],
          [
            "1",
            "0"
          ]
        ],
        "totalLeaves": 4,
        "favorableCount": 2,
        "probability": "1/2"
      },
      "solutionSteps": [
        "第1次01分支的葉：(01,0)、(01,1)，每枝數量相同。",
        "第1次1分支的葉：(1,0)、(1,1)，每枝數量相同。",
        "總葉數＝2×2＝4，不是2＋2。",
        "每葉機率＝(1/2)×(1/2)＝1/4；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共2葉：(01,1)、(1,0)；P＝2÷4＝1/2。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.normal.08",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果左、右，每一個第1層分支下的第2層完整結果都為上、下；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為無葉，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "左",
          "右"
        ],
        "secondOutcomes": [
          "上",
          "下"
        ],
        "eventLeaves": [],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "右",
            "上"
          ],
          [
            "右",
            "下"
          ],
          [
            "左",
            "上"
          ],
          [
            "左",
            "下"
          ]
        ],
        "eventLeaves": [],
        "totalLeaves": 4,
        "favorableCount": 0,
        "probability": "0"
      },
      "solutionSteps": [
        "第1次左分支的葉：(左,上)、(左,下)，每枝數量相同。",
        "第1次右分支的葉：(右,上)、(右,下)，每枝數量相同。",
        "總葉數＝2×2＝4，不是2＋2。",
        "每葉機率＝(1/2)×(1/2)＝1/4；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共0葉：無葉；P＝0÷4＝0。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.boundary.01",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果空，每一個第1層分支下的第2層完整結果都為a、b；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為無葉，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [],
        "secondOutcomes": [
          "a",
          "b"
        ],
        "eventLeaves": [],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "empty-sample-space"
      },
      "solutionSteps": [
        "至少一層沒有基本選項，因此沒有可完成的兩層路徑。",
        "這是空試驗模型，不能把葉數0當分母算0/0。",
        "請先定義可完成的兩次操作與完整結果。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.boundary.02",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果A，每一個第1層分支下的第2層完整結果都為x；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為無葉，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "A"
        ],
        "secondOutcomes": [
          "x"
        ],
        "eventLeaves": [],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "A",
            "x"
          ]
        ],
        "eventLeaves": [],
        "totalLeaves": 1,
        "favorableCount": 0,
        "probability": "0"
      },
      "solutionSteps": [
        "第1次A分支的葉：(A,x)，每枝數量相同。",
        "總葉數＝1×1＝1，不是1＋1。",
        "每葉機率＝(1/1)×(1/1)＝1；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共0葉：無葉；P＝0÷1＝0。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.boundary.03",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果A，每一個第1層分支下的第2層完整結果都為x；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(A,x)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "A"
        ],
        "secondOutcomes": [
          "x"
        ],
        "eventLeaves": [
          [
            "A",
            "x"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "A",
            "x"
          ]
        ],
        "eventLeaves": [
          [
            "A",
            "x"
          ]
        ],
        "totalLeaves": 1,
        "favorableCount": 1,
        "probability": "1"
      },
      "solutionSteps": [
        "第1次A分支的葉：(A,x)，每枝數量相同。",
        "總葉數＝1×1＝1，不是1＋1。",
        "每葉機率＝(1/1)×(1/1)＝1；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共1葉：(A,x)；P＝1÷1＝1。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.boundary.04",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果1、2、3，每一個第1層分支下的第2層完整結果都為a、b、c；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(1,a)、(1,b)、(1,c)、(2,a)、(2,b)、(2,c)、(3,a)、(3,b)、(3,c)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "1",
          "2",
          "3"
        ],
        "secondOutcomes": [
          "a",
          "b",
          "c"
        ],
        "eventLeaves": [
          [
            "1",
            "a"
          ],
          [
            "1",
            "b"
          ],
          [
            "1",
            "c"
          ],
          [
            "2",
            "a"
          ],
          [
            "2",
            "b"
          ],
          [
            "2",
            "c"
          ],
          [
            "3",
            "a"
          ],
          [
            "3",
            "b"
          ],
          [
            "3",
            "c"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "1",
            "a"
          ],
          [
            "1",
            "b"
          ],
          [
            "1",
            "c"
          ],
          [
            "2",
            "a"
          ],
          [
            "2",
            "b"
          ],
          [
            "2",
            "c"
          ],
          [
            "3",
            "a"
          ],
          [
            "3",
            "b"
          ],
          [
            "3",
            "c"
          ]
        ],
        "eventLeaves": [
          [
            "1",
            "a"
          ],
          [
            "1",
            "b"
          ],
          [
            "1",
            "c"
          ],
          [
            "2",
            "a"
          ],
          [
            "2",
            "b"
          ],
          [
            "2",
            "c"
          ],
          [
            "3",
            "a"
          ],
          [
            "3",
            "b"
          ],
          [
            "3",
            "c"
          ]
        ],
        "totalLeaves": 9,
        "favorableCount": 9,
        "probability": "1"
      },
      "solutionSteps": [
        "第1次1分支的葉：(1,a)、(1,b)、(1,c)，每枝數量相同。",
        "第1次2分支的葉：(2,a)、(2,b)、(2,c)，每枝數量相同。",
        "第1次3分支的葉：(3,a)、(3,b)、(3,c)，每枝數量相同。",
        "總葉數＝3×3＝9，不是3＋3。",
        "每葉機率＝(1/3)×(1/3)＝1/9；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共9葉：(1,a)、(1,b)、(1,c)、(2,a)、(2,b)、(2,c)、(3,a)、(3,b)、(3,c)；P＝9÷9＝1。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.holdout.01",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果A、B、C，每一個第1層分支下的第2層完整結果都為4、5；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(A,4)、(C,5)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "A",
          "B",
          "C"
        ],
        "secondOutcomes": [
          "4",
          "5"
        ],
        "eventLeaves": [
          [
            "A",
            "4"
          ],
          [
            "C",
            "5"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "A",
            "4"
          ],
          [
            "A",
            "5"
          ],
          [
            "B",
            "4"
          ],
          [
            "B",
            "5"
          ],
          [
            "C",
            "4"
          ],
          [
            "C",
            "5"
          ]
        ],
        "eventLeaves": [
          [
            "A",
            "4"
          ],
          [
            "C",
            "5"
          ]
        ],
        "totalLeaves": 6,
        "favorableCount": 2,
        "probability": "1/3"
      },
      "solutionSteps": [
        "第1次A分支的葉：(A,4)、(A,5)，每枝數量相同。",
        "第1次B分支的葉：(B,4)、(B,5)，每枝數量相同。",
        "第1次C分支的葉：(C,4)、(C,5)，每枝數量相同。",
        "總葉數＝3×2＝6，不是3＋2。",
        "每葉機率＝(1/3)×(1/2)＝1/6；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共2葉：(A,4)、(C,5)；P＝2÷6＝1/3。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.holdout.02",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果甲、乙，每一個第1層分支下的第2層完整結果都為春、夏、秋、冬；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(甲,夏)、(乙,冬)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "甲",
          "乙"
        ],
        "secondOutcomes": [
          "春",
          "夏",
          "秋",
          "冬"
        ],
        "eventLeaves": [
          [
            "甲",
            "夏"
          ],
          [
            "乙",
            "冬"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "乙",
            "冬"
          ],
          [
            "乙",
            "夏"
          ],
          [
            "乙",
            "春"
          ],
          [
            "乙",
            "秋"
          ],
          [
            "甲",
            "冬"
          ],
          [
            "甲",
            "夏"
          ],
          [
            "甲",
            "春"
          ],
          [
            "甲",
            "秋"
          ]
        ],
        "eventLeaves": [
          [
            "乙",
            "冬"
          ],
          [
            "甲",
            "夏"
          ]
        ],
        "totalLeaves": 8,
        "favorableCount": 2,
        "probability": "1/4"
      },
      "solutionSteps": [
        "第1次甲分支的葉：(甲,春)、(甲,夏)、(甲,秋)、(甲,冬)，每枝數量相同。",
        "第1次乙分支的葉：(乙,春)、(乙,夏)、(乙,秋)、(乙,冬)，每枝數量相同。",
        "總葉數＝2×4＝8，不是2＋4。",
        "每葉機率＝(1/2)×(1/4)＝1/8；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共2葉：(甲,夏)、(乙,冬)；P＝2÷8＝1/4。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.holdout.03",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果1、2、3、4，每一個第1層分支下的第2層完整結果都為正、反；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(2,正)、(4,反)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "1",
          "2",
          "3",
          "4"
        ],
        "secondOutcomes": [
          "正",
          "反"
        ],
        "eventLeaves": [
          [
            "2",
            "正"
          ],
          [
            "4",
            "反"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "1",
            "反"
          ],
          [
            "1",
            "正"
          ],
          [
            "2",
            "反"
          ],
          [
            "2",
            "正"
          ],
          [
            "3",
            "反"
          ],
          [
            "3",
            "正"
          ],
          [
            "4",
            "反"
          ],
          [
            "4",
            "正"
          ]
        ],
        "eventLeaves": [
          [
            "2",
            "正"
          ],
          [
            "4",
            "反"
          ]
        ],
        "totalLeaves": 8,
        "favorableCount": 2,
        "probability": "1/4"
      },
      "solutionSteps": [
        "第1次1分支的葉：(1,正)、(1,反)，每枝數量相同。",
        "第1次2分支的葉：(2,正)、(2,反)，每枝數量相同。",
        "第1次3分支的葉：(3,正)、(3,反)，每枝數量相同。",
        "第1次4分支的葉：(4,正)、(4,反)，每枝數量相同。",
        "總葉數＝4×2＝8，不是4＋2。",
        "每葉機率＝(1/4)×(1/2)＝1/8；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共2葉：(2,正)、(4,反)；P＝2÷8＝1/4。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.holdout.04",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果首，每一個第1層分支下的第2層完整結果都為一、二、三；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(首,二)，求機率。括號順序是第1次、第2次。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "首"
        ],
        "secondOutcomes": [
          "一",
          "二",
          "三"
        ],
        "eventLeaves": [
          [
            "首",
            "二"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "theoretical-two-stage",
        "allLeaves": [
          [
            "首",
            "一"
          ],
          [
            "首",
            "三"
          ],
          [
            "首",
            "二"
          ]
        ],
        "eventLeaves": [
          [
            "首",
            "二"
          ]
        ],
        "totalLeaves": 3,
        "favorableCount": 1,
        "probability": "1/3"
      },
      "solutionSteps": [
        "第1次首分支的葉：(首,一)、(首,二)、(首,三)，每枝數量相同。",
        "總葉數＝1×3＝3，不是1＋3。",
        "每葉機率＝(1/1)×(1/3)＝1/3；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共1葉：(首,二)；P＝1÷3＝1/3。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.negative.01",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果正、反，每一個第1層分支下的第2層完整結果都為正、反；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(正,反)、(反,正)，求機率。括號順序是第1次、第2次。 學生說「把正反與反正合成一種，三種結果各等可能」，請核對並定位出錯一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "firstOutcomes": [
          "正",
          "反"
        ],
        "secondOutcomes": [
          "正",
          "反"
        ],
        "eventLeaves": [
          [
            "正",
            "反"
          ],
          [
            "反",
            "正"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true,
        "proposal": {
          "classification": "theoretical-two-stage",
          "allLeaves": [
            [
              "反",
              "反"
            ],
            [
              "反",
              "正"
            ],
            [
              "正",
              "反"
            ],
            [
              "正",
              "正"
            ]
          ],
          "eventLeaves": [
            [
              "反",
              "正"
            ],
            [
              "正",
              "反"
            ]
          ],
          "totalLeaves": 3,
          "favorableCount": 1,
          "probability": "1/3"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "theoretical-two-stage",
          "allLeaves": [
            [
              "反",
              "反"
            ],
            [
              "反",
              "正"
            ],
            [
              "正",
              "反"
            ],
            [
              "正",
              "正"
            ]
          ],
          "eventLeaves": [
            [
              "反",
              "正"
            ],
            [
              "正",
              "反"
            ]
          ],
          "totalLeaves": 4,
          "favorableCount": 2,
          "probability": "1/2"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "第1次正分支的葉：(正,正)、(正,反)，每枝數量相同。",
        "第1次反分支的葉：(反,正)、(反,反)，每枝數量相同。",
        "總葉數＝2×2＝4，不是2＋2。",
        "每葉機率＝(1/2)×(1/2)＝1/4；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共2葉：(正,反)、(反,正)；P＝2÷4＝1/2。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。",
        "兩次有序葉正正、正反、反正、反反共4個；恰一正是正反與反正兩葉，P=2/4=1/2，合併後那一類含兩葉不再與其他類等可能。",
        "固定兩層樹每一有序葉只數一次，再把互斥事件葉相加；不換成未確認的非對稱樹。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.negative.02",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果A、B，每一個第1層分支下的第2層完整結果都為1、2、3；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(A,2)、(B,3)，求機率。括號順序是第1次、第2次。 學生說「第1層2個加第2層3個，共5種」，請核對並定位出錯一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "firstOutcomes": [
          "A",
          "B"
        ],
        "secondOutcomes": [
          "1",
          "2",
          "3"
        ],
        "eventLeaves": [
          [
            "A",
            "2"
          ],
          [
            "B",
            "3"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true,
        "proposal": {
          "classification": "theoretical-two-stage",
          "allLeaves": [
            [
              "A",
              "1"
            ],
            [
              "A",
              "2"
            ],
            [
              "A",
              "3"
            ],
            [
              "B",
              "1"
            ],
            [
              "B",
              "2"
            ],
            [
              "B",
              "3"
            ]
          ],
          "eventLeaves": [
            [
              "A",
              "2"
            ],
            [
              "B",
              "3"
            ]
          ],
          "totalLeaves": 5,
          "favorableCount": 2,
          "probability": "2/5"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "theoretical-two-stage",
          "allLeaves": [
            [
              "A",
              "1"
            ],
            [
              "A",
              "2"
            ],
            [
              "A",
              "3"
            ],
            [
              "B",
              "1"
            ],
            [
              "B",
              "2"
            ],
            [
              "B",
              "3"
            ]
          ],
          "eventLeaves": [
            [
              "A",
              "2"
            ],
            [
              "B",
              "3"
            ]
          ],
          "totalLeaves": 6,
          "favorableCount": 2,
          "probability": "1/3"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "第1次A分支的葉：(A,1)、(A,2)、(A,3)，每枝數量相同。",
        "第1次B分支的葉：(B,1)、(B,2)、(B,3)，每枝數量相同。",
        "總葉數＝2×3＝6，不是2＋3。",
        "每葉機率＝(1/2)×(1/3)＝1/6；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共2葉：(A,2)、(B,3)；P＝2÷6＝1/3。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。",
        "每個第1層分支各接3葉，共2×3=6，不是2+3；事件2葉，P=2/6=1/3。",
        "固定兩層樹每一有序葉只數一次，再把互斥事件葉相加；不換成未確認的非對稱樹。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.negative.03",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果正、反，每一個第1層分支下的第2層完整結果都為正、反；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(正,反)，求機率。括號順序是第1次、第2次。 學生說「第1次正第2次反與第1次反第2次正可以交換」，請核對並定位出錯一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "firstOutcomes": [
          "正",
          "反"
        ],
        "secondOutcomes": [
          "正",
          "反"
        ],
        "eventLeaves": [
          [
            "正",
            "反"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true,
        "proposal": {
          "classification": "theoretical-two-stage",
          "allLeaves": [
            [
              "反",
              "反"
            ],
            [
              "反",
              "正"
            ],
            [
              "正",
              "反"
            ],
            [
              "正",
              "正"
            ]
          ],
          "eventLeaves": [
            [
              "反",
              "正"
            ]
          ],
          "totalLeaves": 4,
          "favorableCount": 1,
          "probability": "1/4"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "theoretical-two-stage",
          "allLeaves": [
            [
              "反",
              "反"
            ],
            [
              "反",
              "正"
            ],
            [
              "正",
              "反"
            ],
            [
              "正",
              "正"
            ]
          ],
          "eventLeaves": [
            [
              "正",
              "反"
            ]
          ],
          "totalLeaves": 4,
          "favorableCount": 1,
          "probability": "1/4"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "第1次正分支的葉：(正,正)、(正,反)，每枝數量相同。",
        "第1次反分支的葉：(反,正)、(反,反)，每枝數量相同。",
        "總葉數＝2×2＝4，不是2＋2。",
        "每葉機率＝(1/2)×(1/2)＝1/4；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共1葉：(正,反)；P＝1÷4＝1/4。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。",
        "本事件指定(正,反)，(反,正)先後相反，是另一個事件；兩者機率同為1/4也不能把事件本身換掉。",
        "固定兩層樹每一有序葉只數一次，再把互斥事件葉相加；不換成未確認的非對稱樹。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.negative.04",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "兩次操作依序記錄。第1層結果1、2、3，每一個第1層分支下的第2層完整結果都為a、b；已確認每層各可選結果等可能、第二層是在該分支下等可能。事件葉為(1,a)、(1,b)，求機率。括號順序是第1次、第2次。 學生說「第一層中選1/3加第二層任選1，得到4/3」，請核對並定位出錯一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "firstOutcomes": [
          "1",
          "2",
          "3"
        ],
        "secondOutcomes": [
          "a",
          "b"
        ],
        "eventLeaves": [
          [
            "1",
            "a"
          ],
          [
            "1",
            "b"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true,
        "proposal": {
          "classification": "theoretical-two-stage",
          "allLeaves": [
            [
              "1",
              "a"
            ],
            [
              "1",
              "b"
            ],
            [
              "2",
              "a"
            ],
            [
              "2",
              "b"
            ],
            [
              "3",
              "a"
            ],
            [
              "3",
              "b"
            ]
          ],
          "eventLeaves": [
            [
              "1",
              "a"
            ],
            [
              "1",
              "b"
            ]
          ],
          "totalLeaves": 6,
          "favorableCount": 2,
          "probability": "4/3"
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "theoretical-two-stage",
          "allLeaves": [
            [
              "1",
              "a"
            ],
            [
              "1",
              "b"
            ],
            [
              "2",
              "a"
            ],
            [
              "2",
              "b"
            ],
            [
              "3",
              "a"
            ],
            [
              "3",
              "b"
            ]
          ],
          "eventLeaves": [
            [
              "1",
              "a"
            ],
            [
              "1",
              "b"
            ]
          ],
          "totalLeaves": 6,
          "favorableCount": 2,
          "probability": "1/3"
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "第1次1分支的葉：(1,a)、(1,b)，每枝數量相同。",
        "第1次2分支的葉：(2,a)、(2,b)，每枝數量相同。",
        "第1次3分支的葉：(3,a)、(3,b)，每枝數量相同。",
        "總葉數＝3×2＝6，不是3＋2。",
        "每葉機率＝(1/3)×(1/2)＝1/6；固定兩層同樣節點與條件等可能才有此結論。",
        "事件共2葉：(1,a)、(1,b)；P＝2÷6＝1/3。",
        "各有序葉只列一次；(甲,乙)與(乙,甲)若都存在，是不同先後結果，不能合成一葉又假設等可能。",
        "一條路徑要兩步都完成，不能把兩步機率相加；先數兩個事件葉／6總葉=1/3，4/3還違反機率不超過1。",
        "固定兩層樹每一有序葉只數一次，再把互斥事件葉相加；不換成未確認的非對稱樹。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.negative.05",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：原數值或觀察資料集合傳入布林/超長非法格式，不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": true,
        "secondOutcomes": [
          "正",
          "反"
        ],
        "eventLeaves": [
          [
            "正",
            "反"
          ],
          [
            "反",
            "正"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "bounded-label-list-required"
      },
      "solutionSteps": [
        "先檢查型別與有界數字文法，不把布林當數。",
        "非法格式不進入算式、排序或樣本空間運算。",
        "請重新提供原資料，工程錯誤不當學生程度。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.negative.06",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：原數值或觀察資料集合傳入布林/超長非法格式，不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": "999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999",
        "secondOutcomes": [
          "正",
          "反"
        ],
        "eventLeaves": [
          [
            "正",
            "反"
          ],
          [
            "反",
            "正"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "bounded-label-list-required"
      },
      "solutionSteps": [
        "先檢查型別與有界數字文法，不把布林當數。",
        "非法格式不進入算式、排序或樣本空間運算。",
        "請重新提供原資料，工程錯誤不當學生程度。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.ambiguous.01",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "第1層正、反已知；事件列正反與反正，但第2層完整結果列表看不清，不能由事件清單假裝知道全部葉，請先確認第2層。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "正",
          "反"
        ],
        "secondOutcomes": null,
        "eventLeaves": [
          [
            "正",
            "反"
          ],
          [
            "反",
            "正"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": true
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出缺少的完整結果、等可能前提、分支條件或實驗次數。",
        "保留已知事件，不能因有兩種事件名稱就補各1/2。",
        "確認後沿本子型的列結果/數葉/實驗比值方法繼續。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-two-stage.ambiguous.02",
      "code": "D-9-2",
      "subtypeId": "probability-two-stage",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "兩次取標記牌，第1次可正或反；第2次每枝是否都仍可正或反尚未確認（有無放回未確認）。請先確認分支結果是否相同，不能直接畫4個等可能葉。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "firstOutcomes": [
          "正",
          "反"
        ],
        "secondOutcomes": [
          "正",
          "反"
        ],
        "eventLeaves": [
          [
            "正",
            "反"
          ],
          [
            "反",
            "正"
          ]
        ],
        "partitionConfirmed": true,
        "orderedTrialsConfirmed": true,
        "firstEqualLikelyConfirmed": true,
        "secondConditionalEqualLikelyConfirmed": true,
        "sameSecondChoicesConfirmed": null
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出缺少的完整結果、等可能前提、分支條件或實驗次數。",
        "保留已知事件，不能因有兩種事件名稱就補各1/2。",
        "確認後沿本子型的列結果/數葉/實驗比值方法繼續。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先只展開第一枝的第二層完整結果，再對每一第一層分支複製同樣節點；把每條有序路徑標成一葉，只圈事件葉。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.normal.01",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行10次，其中成功3次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 10,
        "successes": 3,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 10,
        "successes": 3,
        "relativeFrequency": "3/10",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗10次，分子是成功3次，口徑須相同。",
        "觀察相對頻率＝3÷10＝3/10。",
        "驗算(3/10)×10＝3；0≤3/10≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.normal.02",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行20次，其中成功7次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 20,
        "successes": 7,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 20,
        "successes": 7,
        "relativeFrequency": "7/20",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗20次，分子是成功7次，口徑須相同。",
        "觀察相對頻率＝7÷20＝7/20。",
        "驗算(7/20)×20＝7；0≤7/20≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.normal.03",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行5次，其中成功5次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 5,
        "successes": 5,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 5,
        "successes": 5,
        "relativeFrequency": "1",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗5次，分子是成功5次，口徑須相同。",
        "觀察相對頻率＝5÷5＝1。",
        "驗算(1)×5＝5；0≤1≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.normal.04",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行8次，其中成功0次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 8,
        "successes": 0,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 8,
        "successes": 0,
        "relativeFrequency": "0",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗8次，分子是成功0次，口徑須相同。",
        "觀察相對頻率＝0÷8＝0。",
        "驗算(0)×8＝0；0≤0≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.normal.05",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行100次，其中成功54次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 100,
        "successes": 54,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 100,
        "successes": 54,
        "relativeFrequency": "27/50",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗100次，分子是成功54次，口徑須相同。",
        "觀察相對頻率＝54÷100＝27/50。",
        "驗算(27/50)×100＝54；0≤27/50≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.normal.06",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行12次，其中成功4次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 12,
        "successes": 4,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 12,
        "successes": 4,
        "relativeFrequency": "1/3",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗12次，分子是成功4次，口徑須相同。",
        "觀察相對頻率＝4÷12＝1/3。",
        "驗算(1/3)×12＝4；0≤1/3≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.normal.07",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行1次，其中成功1次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 1,
        "successes": 1,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 1,
        "successes": 1,
        "relativeFrequency": "1",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗1次，分子是成功1次，口徑須相同。",
        "觀察相對頻率＝1÷1＝1。",
        "驗算(1)×1＝1；0≤1≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.normal.08",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "normal",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行40次，其中成功18次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 40,
        "successes": 18,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 40,
        "successes": 18,
        "relativeFrequency": "9/20",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗40次，分子是成功18次，口徑須相同。",
        "觀察相對頻率＝18÷40＝9/20。",
        "驗算(9/20)×40＝18；0≤9/20≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.boundary.01",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行0次，其中成功0次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 0,
        "successes": 0,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "no-observations"
      },
      "solutionSteps": [
        "0次實驗沒有觀察資料。",
        "成功0次除以試驗0次為0/0，不能算相對頻率0或1。",
        "先蒐集實驗次數；沒有資料不能推定理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.boundary.02",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行10000次，其中成功0次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 10000,
        "successes": 0,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 10000,
        "successes": 0,
        "relativeFrequency": "0",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗10000次，分子是成功0次，口徑須相同。",
        "觀察相對頻率＝0÷10000＝0。",
        "驗算(0)×10000＝0；0≤0≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.boundary.03",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行10000次，其中成功10000次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 10000,
        "successes": 10000,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 10000,
        "successes": 10000,
        "relativeFrequency": "1",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗10000次，分子是成功10000次，口徑須相同。",
        "觀察相對頻率＝10000÷10000＝1。",
        "驗算(1)×10000＝10000；0≤1≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.boundary.04",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "boundary",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行1次，其中成功0次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 1,
        "successes": 0,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 1,
        "successes": 0,
        "relativeFrequency": "0",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗1次，分子是成功0次，口徑須相同。",
        "觀察相對頻率＝0÷1＝0。",
        "驗算(0)×1＝0；0≤0≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.holdout.01",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行25次，其中成功9次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 25,
        "successes": 9,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 25,
        "successes": 9,
        "relativeFrequency": "9/25",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗25次，分子是成功9次，口徑須相同。",
        "觀察相對頻率＝9÷25＝9/25。",
        "驗算(9/25)×25＝9；0≤9/25≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.holdout.02",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行60次，其中成功41次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 60,
        "successes": 41,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 60,
        "successes": 41,
        "relativeFrequency": "41/60",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗60次，分子是成功41次，口徑須相同。",
        "觀察相對頻率＝41÷60＝41/60。",
        "驗算(41/60)×60＝41；0≤41/60≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.holdout.03",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行9次，其中成功2次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 9,
        "successes": 2,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 9,
        "successes": 2,
        "relativeFrequency": "2/9",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗9次，分子是成功2次，口徑須相同。",
        "觀察相對頻率＝2÷9＝2/9。",
        "驗算(2/9)×9＝2；0≤2/9≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.holdout.04",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "holdout",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行250次，其中成功103次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 250,
        "successes": 103,
        "experimentConfirmed": true
      },
      "expectedDecision": "pass",
      "expectedAnswer": {
        "classification": "observed-relative-frequency",
        "trials": 250,
        "successes": 103,
        "relativeFrequency": "103/250",
        "determinesTheoreticalProbability": false
      },
      "solutionSteps": [
        "實驗分母是實際試驗250次，分子是成功103次，口徑須相同。",
        "觀察相對頻率＝103÷250＝103/250。",
        "驗算(103/250)×250＝103；0≤103/250≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.negative.01",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行10次，其中成功3次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。 學生說「觀察3/10就已確定真正理論機率3/10」，請核對並定位出錯一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "trials": 10,
        "successes": 3,
        "experimentConfirmed": true,
        "proposal": {
          "classification": "observed-relative-frequency",
          "trials": 10,
          "successes": 3,
          "relativeFrequency": "3/10",
          "determinesTheoreticalProbability": true
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "observed-relative-frequency",
          "trials": 10,
          "successes": 3,
          "relativeFrequency": "3/10",
          "determinesTheoreticalProbability": false
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "實驗分母是實際試驗10次，分子是成功3次，口徑須相同。",
        "觀察相對頻率＝3÷10＝3/10。",
        "驗算(3/10)×10＝3；0≤3/10≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。",
        "3/10是這10次的成功比例；多種不同真正機率都可能偶然產生3次成功，沒有理論模型不能宣稱已確定。",
        "先分清「這批觀察比例」與「模型定義的機率」，不把兩者互換。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.negative.02",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行20次，其中成功7次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。 學生說「試驗次數除成功次數」，請核對並定位出錯一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "trials": 20,
        "successes": 7,
        "experimentConfirmed": true,
        "proposal": {
          "classification": "observed-relative-frequency",
          "trials": 20,
          "successes": 7,
          "relativeFrequency": "20/7",
          "determinesTheoreticalProbability": false
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "observed-relative-frequency",
          "trials": 20,
          "successes": 7,
          "relativeFrequency": "7/20",
          "determinesTheoreticalProbability": false
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "實驗分母是實際試驗20次，分子是成功7次，口徑須相同。",
        "觀察相對頻率＝7÷20＝7/20。",
        "驗算(7/20)×20＝7；0≤7/20≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。",
        "相對頻率分子成功7、分母全部20，應7/20；倒過來20/7大於1，不是成功比例。",
        "先分清「這批觀察比例」與「模型定義的機率」，不把兩者互換。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.negative.03",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行5次，其中成功5次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。 學生說「5次都成功，因此真正機率1且下次一定成功」，請核對並定位出錯一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "trials": 5,
        "successes": 5,
        "experimentConfirmed": true,
        "proposal": {
          "classification": "observed-relative-frequency",
          "trials": 5,
          "successes": 5,
          "relativeFrequency": "1",
          "determinesTheoreticalProbability": true
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "observed-relative-frequency",
          "trials": 5,
          "successes": 5,
          "relativeFrequency": "1",
          "determinesTheoreticalProbability": false
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "實驗分母是實際試驗5次，分子是成功5次，口徑須相同。",
        "觀察相對頻率＝5÷5＝1。",
        "驗算(1)×5＝5；0≤1≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。",
        "這5次相對頻率5/5=1只描述已發生實驗，不保證下次、不直接證明真正機率為1。",
        "先分清「這批觀察比例」與「模型定義的機率」，不把兩者互換。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.negative.04",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "negative",
      "casePurpose": "proposal-review",
      "studentFacing": true,
      "prompt": "已確認同一成功事件的實驗記錄：進行8次，其中成功0次。求這次觀察的相對頻率，並說明是否因此確定真正理論機率。沒有另給公平性或理論模型。 學生說「即使8次都失敗，成功/失敗兩類仍讓相對頻率各半」，請核對並定位出錯一步。",
      "input": {
        "task": "verify_proposal",
        "confirmedGiven": true,
        "trials": 8,
        "successes": 0,
        "experimentConfirmed": true,
        "proposal": {
          "classification": "observed-relative-frequency",
          "trials": 8,
          "successes": 0,
          "relativeFrequency": "1/2",
          "determinesTheoreticalProbability": false
        }
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "accepted": false,
        "correctSolution": {
          "classification": "observed-relative-frequency",
          "trials": 8,
          "successes": 0,
          "relativeFrequency": "0",
          "determinesTheoreticalProbability": false
        },
        "reasonCode": "incorrect-or-malformed-proposal"
      },
      "solutionSteps": [
        "實驗分母是實際試驗8次，分子是成功0次，口徑須相同。",
        "觀察相對頻率＝0÷8＝0。",
        "驗算(0)×8＝0；0≤0≤1。",
        "有限次觀察只描述這批實驗；即使全成功或全失敗，也不保證下次結果、不單獨決定真正理論機率。",
        "觀察記錄成功0、試驗8，所以相對頻率0/8=0；這不等於已知理論機率0，也不能因兩類名稱改寫成1/2。",
        "先分清「這批觀察比例」與「模型定義的機率」，不把兩者互換。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.negative.05",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：原數值或觀察資料集合傳入布林/超長非法格式，不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": true,
        "successes": 3,
        "experimentConfirmed": true
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "json-integer-count-required"
      },
      "solutionSteps": [
        "先檢查型別與有界數字文法，不把布林當數。",
        "非法格式不進入算式、排序或樣本空間運算。",
        "請重新提供原資料，工程錯誤不當學生程度。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.negative.06",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "negative",
      "casePurpose": "validator-guard",
      "studentFacing": false,
      "prompt": "工程守衛：原數值或觀察資料集合傳入布林/超長非法格式，不是學生練習題。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": "999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999",
        "successes": 3,
        "experimentConfirmed": true
      },
      "expectedDecision": "reject",
      "expectedAnswer": {
        "reasonCode": "json-integer-count-required"
      },
      "solutionSteps": [
        "先檢查型別與有界數字文法，不把布林當數。",
        "非法格式不進入算式、排序或樣本空間運算。",
        "請重新提供原資料，工程錯誤不當學生程度。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.ambiguous.01",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "實驗成功3次已知，但同一批總共試驗幾次看不清；請先確認總次數，不能把成功3當分母。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": null,
        "successes": 3,
        "experimentConfirmed": true
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出缺少的完整結果、等可能前提、分支條件或實驗次數。",
        "保留已知事件，不能因有兩種事件名稱就補各1/2。",
        "確認後沿本子型的列結果/數葉/實驗比值方法繼續。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    },
    {
      "id": "D-9-2.probability-experimental-frequency.ambiguous.02",
      "code": "D-9-2",
      "subtypeId": "probability-experimental-frequency",
      "kind": "ambiguous",
      "casePurpose": "teaching-example",
      "studentFacing": true,
      "prompt": "暫抄10次與成功3次，但尚未確認是否同一批試驗、同一成功事件；請先核對記錄口徑，再算觀察比例，不能當理論機率。",
      "input": {
        "task": "solve",
        "confirmedGiven": true,
        "trials": 10,
        "successes": 3,
        "experimentConfirmed": null
      },
      "expectedDecision": "confirm",
      "expectedAnswer": {
        "reasonCode": "missing-original-condition"
      },
      "solutionSteps": [
        "指出缺少的完整結果、等可能前提、分支條件或實驗次數。",
        "保留已知事件，不能因有兩種事件名稱就補各1/2。",
        "確認後沿本子型的列結果/數葉/實驗比值方法繼續。"
      ],
      "why": "保留原條件與定義域，沿同一方法完成中間算式及回驗，不用高階替代法掩蓋卡關。",
      "ifNotUnderstood": "先用手指指「實際成功次數」和「這批全部次數」各是哪一個，再除一次；最後只說這批觀察，不把它改成下次保證。",
      "teacherReviewed": false,
      "appConnected": false
    }
  ],
  "teacherReviewed": false,
  "appConnected": false,
  "verificationLimitations": [
    "有限結構化離線案例，不驗OCR、任意符號式或任意自然語言列式。",
    "真人教師尚未審核，未接入App；不宣稱完整全碼驗收。",
    "理論題只處理確認等可能的有限基本結果與兩層相同節點的樹；不處理非均勻權重、三層以上、不同分支後續結果不同的樹或條件機率推論。",
    "實驗相對頻率另列用途；不以有限成功比例宣稱已確定理論機率。"
  ]
}
